Re: [U-Boot] [PATCH 3/5] sunxi: add 3GiB DRAM detection support in main U-Boot

2018-02-07 Thread André Przywara
On 07/02/18 19:35, Icenowy Zheng wrote: Hi, > Some Allwinner SoCs can use 3GiB DRAM (part of 4GiB or larger module). > > As the common get_ram_size function cannot detect non-pow-of-2 memory, > add special detect code into the DRAM size code in main U-Boot. The original get_ram_size() function

[U-Boot] [PATCH 3/5] sunxi: add 3GiB DRAM detection support in main U-Boot

2018-02-07 Thread Icenowy Zheng
Some Allwinner SoCs can use 3GiB DRAM (part of 4GiB or larger module). As the common get_ram_size function cannot detect non-pow-of-2 memory, add special detect code into the DRAM size code in main U-Boot. Signed-off-by: Icenowy Zheng --- board/sunxi/board.c| 23