[U-Boot] [PATCH] rockchip: rock-rk3188: do not use ARCH_MEMSET in TPL

Kever Yang kever.yang at rock-chips.com
Wed Sep 13 08:10:34 UTC 2017


This patch is to fix error in build TPL:
common/init/built-in.o: In function `board_init_f_init_reserve':
common/init/board_init.c:111: undefined reference to `memset'

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 configs/rock_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/rock_defconfig b/configs/rock_defconfig
index aaf2775..cd7b36b 100644
--- a/configs/rock_defconfig
+++ b/configs/rock_defconfig
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 # CONFIG_SPL_USE_ARCH_MEMCPY is not set
 # CONFIG_SPL_USE_ARCH_MEMSET is not set
+# CONFIG_TPL_USE_ARCH_MEMSET is not set
 CONFIG_ARCH_ROCKCHIP=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ROCKCHIP_RK3188=y
-- 
1.9.1



More information about the U-Boot mailing list