]> git.sur5r.net Git - u-boot/commitdiff
rockchip: update ROCKCHIP_SPL_RESERVE_IRAM to 0
authorKever Yang <kever.yang@rock-chips.com>
Mon, 18 Dec 2017 07:13:19 +0000 (15:13 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 18 Dec 2017 15:56:17 +0000 (16:56 +0100)
Only rk3399 atf need ROCKCHIP_SPL_RESERVE_IRAM. This commit updates
its default setting to 0 so that other SoCs do not need to define it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/Kconfig
configs/evb-rk3399_defconfig
configs/firefly-rk3399_defconfig

index 1e74db360768f107d6c94a3f5f1f71a3748b5082..967290f9a5ab2e6ff421b0fa3fe76d28bd9753a8 100644 (file)
@@ -179,7 +179,7 @@ config ROCKCHIP_BOOT_MODE_REG
 
 config ROCKCHIP_SPL_RESERVE_IRAM
        hex "Size of IRAM reserved in SPL"
-       default 0x4000
+       default 0
        help
          SPL may need reserve memory for firmware loaded by SPL, whose load
          address is in IRAM and may overlay with SPL text area if not
index 7b5ea821f9027186c4fcd1e7e64c2c92d1323cbe..e8e52c3a7cedd70d37e70010baa7a739631baf0d 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_ROCKCHIP_RK3399=y
+CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x4000
 CONFIG_SPL_STACK_R_ADDR=0x80000
 CONFIG_DEFAULT_DEVICE_TREE="rk3399-evb"
 CONFIG_DEBUG_UART=y
index 731222cdd0f3dc344c3ff559a59539bc0a9c63a4..b8d065414ac00201b149850ee93afd540aed5ca8 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_ROCKCHIP_RK3399=y
+CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x4000
 CONFIG_SPL_STACK_R_ADDR=0x80000
 CONFIG_DEFAULT_DEVICE_TREE="rk3399-firefly"
 CONFIG_DEBUG_UART=y