[U-Boot] [U-Boot,v2,7/8] rockchip: correct the bank0 ram size

Dr. Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Jun 26 08:27:37 UTC 2017


Kever,

> On 26 Jun 2017, at 01:03, Philipp Tomsich <philipp.tomsich at theobroma-systems.com> wrote:
> 
>> The bank0 ram size should be the DRAM size minus reserved size,
>> the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it.
>> 
>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
>> ---
>> 
>> Changes in v2:
>> - move the dram_init_banksize() from board file into soc file for we
>>  have the same setting for different board in one SoC now.
>> 
>> arch/arm/mach-rockchip/rk3328/rk3328.c            | 11 +++++++++++
>> arch/arm/mach-rockchip/rk3368/rk3368.c            | 11 +++++++++++
>> arch/arm/mach-rockchip/rk3399/rk3399.c            | 11 +++++++++++
>> board/geekbuying/geekbox/geekbox.c                |  8 --------
>> board/rockchip/evb_px5/evb-px5.c                  |  9 ---------
>> board/rockchip/evb_rk3328/evb-rk3328.c            |  9 ---------
>> board/rockchip/evb_rk3399/evb-rk3399.c            |  9 ---------
>> board/rockchip/sheep_rk3368/sheep_rk3368.c        |  8 --------
>> board/theobroma-systems/puma_rk3399/puma-rk3399.c |  9 ---------
>> 9 files changed, 33 insertions(+), 52 deletions(-)
>> 
> 
> Applied to u-boot-rockchip/next, thanks!

I had to fix up rk3328.c, rk3368.c and rk3399.c to apply this one, because
the build broke due to a missing declaration of the global data.

Please use ‘buildman rockchip’ to confirm that your patch-series builds
cleanly before submitting.

Thanks,
Philipp.


More information about the U-Boot mailing list