Re: [U-Boot] [linux-sunxi] [PATCH v2 6/6] sunxi: store DRAM size in SPL header

2018-10-26 Thread Jagan Teki
On Fri, Oct 26, 2018 at 11:27 AM Icenowy Zheng wrote: > > > > 于 2018年10月26日 GMT+08:00 下午1:54:44, Jagan Teki 写到: > >On Thu, Oct 25, 2018 at 2:53 PM Icenowy Zheng wrote: > >> > >> From: Andre Przywara > >> > >> At the moment we rely on the infamous get_ram_size() function to > >learn > >> the

Re: [U-Boot] [linux-sunxi] [PATCH v2 6/6] sunxi: store DRAM size in SPL header

2018-10-25 Thread Icenowy Zheng
于 2018年10月26日 GMT+08:00 下午1:54:44, Jagan Teki 写到: >On Thu, Oct 25, 2018 at 2:53 PM Icenowy Zheng wrote: >> >> From: Andre Przywara >> >> At the moment we rely on the infamous get_ram_size() function to >learn >> the actual DRAM size in U-Boot proper. This function has two issues: >> 1) It

Re: [U-Boot] [linux-sunxi] [PATCH v2 6/6] sunxi: store DRAM size in SPL header

2018-10-25 Thread Jagan Teki
On Thu, Oct 25, 2018 at 2:53 PM Icenowy Zheng wrote: > > From: Andre Przywara > > At the moment we rely on the infamous get_ram_size() function to learn > the actual DRAM size in U-Boot proper. This function has two issues: > 1) It only works if the DRAM size is a power of two. We start to see >