u-boot-brain/arch/arm/mach-rockchip
Kever Yang 3119ecc4ac rockchip: sdram-common: fix wrong size for 4GB in 32bit SoC
This is workaround for issue we can't get correct size for 4GB ram
in 32bit system and available before we really need ram space
out of 4GB, eg.enable ARM LAPE(rk3288 supports 8GB ram).
The size of 4GB is '0x1 00000000', and this value will be truncated
to 0 in 32bit system, and system can not get correct ram size.
Rockchip SoCs reserve a blob of space for peripheral near 4GB,
and we are now setting SDRAM_MAX_SIZE as max available space for
ram in 4GB, so we can use this directly to workaround the issue.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Tested-By: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2019-01-02 21:15:59 +01:00
..
rk322x SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3036 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3128 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3188 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3288 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
rk3328 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3368 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3399 rockchip: rk3399: Add common Rock960 family from Vamrs 2018-12-06 16:04:49 +01:00
rv1108 ARM: rockchip: Add rv1108-elgin-r1 board support 2018-12-16 01:30:11 +01:00
boot_mode.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootrom.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fit_spl_optee.its rockchip: add fit source file for pack itb with op-tee 2018-10-04 21:15:46 +02:00
Kconfig rockchip: rk3188: use board_debug_uart_init() for UART io init 2018-11-30 22:00:11 +01:00
make_fit_atf.py rockchip: make_fit_atf: make python3 compatible 2018-10-04 21:15:46 +02:00
Makefile ARM: rockchip: rv1108: Add a board_usb_init for USB OTG 2018-11-30 21:56:44 +01:00
rk_timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk322x-board-spl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk322x-board.c fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag 2018-05-30 11:59:21 +02:00
rk3036-board-spl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3036-board.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3128-board.c fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag 2018-05-30 11:59:21 +02:00
rk3188-board-spl.c rockchip: rk3188: use board_debug_uart_init() for UART io init 2018-11-30 22:00:11 +01:00
rk3188-board.c rockchip: rk3188: add rk_board_late_init() hook 2018-07-21 01:55:25 +02:00
rk3288-board-spl.c dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode() 2018-08-21 16:21:37 +02:00
rk3288-board-tpl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3288-board.c rockchip: veyron: Set vcc33_sd regulator value 2018-07-21 01:55:27 +02:00
rk3368-board-spl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3368-board-tpl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3399-board-spl.c rockchip: rk3399: spl: always report errors triggering a hard stop 2018-11-30 19:03:16 +01:00
rk3399-board.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rv1108-board.c ARM: rockchip: rv1108: Add a board_usb_init for USB OTG 2018-11-30 21:56:44 +01:00
sdram_common.c rockchip: sdram-common: fix wrong size for 4GB in 32bit SoC 2019-01-02 21:15:59 +01:00
spl-boot-order.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00