diff mbox

[U-Boot,v4,02/20] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

Message ID 1447056167-16138-3-git-send-email-hl@rock-chips.com
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Lin Huang Nov. 9, 2015, 8:02 a.m. UTC
since different rockchip SOC have different size of SRAM,
So the size SYS_MALLOC_F_LEN may different, so move this
config to rk3288 own Kconfig

Signed-off-by: Lin Huang <hl@rock-chips.com>
---
Changes in v1: None
Changes in v2: None
Changes in v3: None
Changes in v4: None

 arch/arm/mach-rockchip/Kconfig        | 3 ---
 arch/arm/mach-rockchip/rk3288/Kconfig | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Simon Glass Nov. 9, 2015, 8:23 p.m. UTC | #1
On 9 November 2015 at 00:02, Lin Huang <hl@rock-chips.com> wrote:
>
> since different rockchip SOC have different size of SRAM,
> So the size SYS_MALLOC_F_LEN may different, so move this
> config to rk3288 own Kconfig
>
> Signed-off-by: Lin Huang <hl@rock-chips.com>
> ---
> Changes in v1: None
> Changes in v2: None
> Changes in v3: None
> Changes in v4: None
>
>  arch/arm/mach-rockchip/Kconfig        | 3 ---
>  arch/arm/mach-rockchip/rk3288/Kconfig | 3 +++
>  2 files changed, 3 insertions(+), 3 deletions(-)

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index ab50f4e..da665ef 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -12,9 +12,6 @@  config ROCKCHIP_RK3288
 config SYS_MALLOC_F
 	default y
 
-config SYS_MALLOC_F_LEN
-	default 0x800
-
 config SPL_DM
 	default y
 
diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig
index 4d0f1b5..d0a7276 100644
--- a/arch/arm/mach-rockchip/rk3288/Kconfig
+++ b/arch/arm/mach-rockchip/rk3288/Kconfig
@@ -19,6 +19,9 @@  config TARGET_CHROMEBOOK_JERRY
 config SYS_SOC
 	default "rockchip"
 
+config SYS_MALLOC_F_LEN
+	default 0x0800
+
 source "board/google/chromebook_jerry/Kconfig"
 
 source "board/firefly/firefly-rk3288/Kconfig"