[U-Boot] [PATCH] riscv: qemu: Fix kconfig build warning

Bin Meng bmeng.cn at gmail.com
Thu Aug 8 06:04:41 UTC 2019


When 'make qemu-riscv64_defconfig', there is a build warning:

  board/emulation/qemu-riscv/Kconfig:24:
  warning: config symbol defined without type

Fix it by specifying the config symbol type to 'hex'.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 board/emulation/qemu-riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index 1928d6d..7ce1201 100644
--- a/board/emulation/qemu-riscv/Kconfig
+++ b/board/emulation/qemu-riscv/Kconfig
@@ -22,6 +22,7 @@ config SPL_TEXT_BASE
 	default 0x80000000
 
 config SPL_OPENSBI_LOAD_ADDR
+	hex
 	default 0x81000000
 
 config BOARD_SPECIFIC_OPTIONS # dummy
-- 
2.7.4



More information about the U-Boot mailing list