summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3128
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-22 15:02:02 +0300
committerKever Yang <kever.yang@rock-chips.com>2019-07-29 05:26:28 +0300
commit5eb9a78fcdb3af09527f16698f251756eb07359f (patch)
tree015a69a4ac0bcac6a85824aeb0bef110646c2f28 /arch/arm/mach-rockchip/rk3128
parent54f17fa05d453618afabff1246c1a16cea304b1b (diff)
downloadu-boot-5eb9a78fcdb3af09527f16698f251756eb07359f.tar.xz
rockchip: sdram_common: add common dram_init_banksize
dram_init_banksize() can be common used by all SoCs, move it into sdram_common.c Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3128')
-rw-r--r--arch/arm/mach-rockchip/rk3128/rk3128.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3128/rk3128.c b/arch/arm/mach-rockchip/rk3128/rk3128.c
index 11bba148c3..ee176de80b 100644
--- a/arch/arm/mach-rockchip/rk3128/rk3128.c
+++ b/arch/arm/mach-rockchip/rk3128/rk3128.c
@@ -2,6 +2,9 @@
/*
* Copyright (c) 2017 Rockchip Electronics Co., Ltd
*/
+#include <common.h>
+
+DECLARE_GLOBAL_DATA_PTR;
int arch_cpu_init(void)
{