Re: [U-Boot] [PATCH v2 2/6] sunxi: add Kconfig option for the maximum accessible DRAM

2018-03-23 Thread Icenowy Zheng
于 2018年3月23日 GMT+08:00 下午5:39:25, Maxime Ripard 写到: >On Fri, Mar 23, 2018 at 04:18:53PM +0800, Icenowy Zheng wrote: >> Allwinner 64-bit SoCs can use 4GiB DRAM chip, however their memory >map >> has only allocated 3GiB for DRAM, so only 3GiB of the DRAM is >> accessible. > >How would that work in

Re: [U-Boot] [PATCH v2 2/6] sunxi: add Kconfig option for the maximum accessible DRAM

2018-03-23 Thread Chen-Yu Tsai
On Fri, Mar 23, 2018 at 5:39 PM, Maxime Ripard wrote: > On Fri, Mar 23, 2018 at 04:18:53PM +0800, Icenowy Zheng wrote: >> Allwinner 64-bit SoCs can use 4GiB DRAM chip, however their memory map >> has only allocated 3GiB for DRAM, so only 3GiB of the DRAM is >> accessible. > > How would that work i

Re: [U-Boot] [PATCH v2 2/6] sunxi: add Kconfig option for the maximum accessible DRAM

2018-03-23 Thread Maxime Ripard
On Fri, Mar 23, 2018 at 04:18:53PM +0800, Icenowy Zheng wrote: > Allwinner 64-bit SoCs can use 4GiB DRAM chip, however their memory map > has only allocated 3GiB for DRAM, so only 3GiB of the DRAM is > accessible. How would that work in Linux? > Add a Kconfig option for the maximum accessible DRA

[U-Boot] [PATCH v2 2/6] sunxi: add Kconfig option for the maximum accessible DRAM

2018-03-23 Thread Icenowy Zheng
Allwinner 64-bit SoCs can use 4GiB DRAM chip, however their memory map has only allocated 3GiB for DRAM, so only 3GiB of the DRAM is accessible. Add a Kconfig option for the maximum accessible DRAM. For A80 it should be a much higher value (8GiB), but as I have no A80 device to test and originall