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

Message ID 1505290234-28697-1-git-send-email-kever.yang@rock-chips.com
State New
Delegated to: Philipp Tomsich
Headers show
Series
  • [U-Boot] rockchip: rock-rk3188: do not use ARCH_MEMSET in TPL
Related show

Commit Message

Kever Yang Sept. 13, 2017, 8:10 a.m.
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@rock-chips.com>
---

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

Comments

Simon Glass Sept. 17, 2017, 5:52 p.m. | #1
On 13 September 2017 at 02:10, Kever Yang <kever.yang@rock-chips.com> wrote:
> 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@rock-chips.com>
> ---
>
>  configs/rock_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Patch

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