Re: [PATCH] rockchip: sdram: fix dram_init_banksize

2020-07-18 Thread Kever Yang
On 2020/7/18 上午11:13, Kever Yang wrote: Hi Alex, Tanks for your fix. On 2020/7/15 上午7:03, Alex Bee wrote: Currently 2.5 GB is calculated as DRAM size for a 1 GB RK322x board if CONFIG_SPL_OPTEE is set. This is troublesome when booting a linux kernel since this size will be injected in FDT of

Re: [PATCH] rockchip: sdram: fix dram_init_banksize

2020-07-17 Thread Kever Yang
Hi Alex, Tanks for your fix. On 2020/7/15 上午7:03, Alex Bee wrote: Currently 2.5 GB is calculated as DRAM size for a 1 GB RK322x board if CONFIG_SPL_OPTEE is set. This is troublesome when booting a linux kernel since this size will be injected in FDT of the kernel. gd->bd->bi_dram[0].start (whi

[PATCH] rockchip: sdram: fix dram_init_banksize

2020-07-15 Thread Alex Bee
Currently 2.5 GB is calculated as DRAM size for a 1 GB RK322x board if CONFIG_SPL_OPTEE is set. This is troublesome when booting a linux kernel since this size will be injected in FDT of the kernel. gd->bd->bi_dram[0].start (which is basically CONFIG_SYS_SDRAM_BASE) must not be taken into consider