]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: fix spl_board_init
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 3 Oct 2023 00:59:46 +0000 (02:59 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 13 Oct 2023 17:15:41 +0000 (10:15 -0700)
commit3cce6fcea714a089df2221128210a8fa9bb4f0fd
tree09769bdcf5e4e41bc7a8b5cbb80f7334d6b24887
parente824d0d0c219bc6da767f13f90c5b00eefe929f0
sandbox: fix spl_board_init

sandbox_spl_defconfig with CONFIG_SPL_UNIT_TEST=n fails to build.

    in function `spl_board_init':
    arch/sandbox/cpu/spl.c:134:(.text.spl_board_init+0x4a):
    undefined reference to `ut_run_list'

Add the missing configuration check.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/spl.c