arm: qemu: Add a Kconfig in the board directory
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:21:18 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:28 +0000 (09:16 -0800)
This adds a Kconfig file in the board directory, so that some
board-specific options can be specified there.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/Kconfig
board/emulation/qemu-arm/Kconfig [new file with mode: 0644]
configs/qemu_arm64_defconfig
configs/qemu_arm_defconfig

index 1f3fa1575a31e95022573c65d928fd999a1b0a5a..2ebd577c241de281cb87f42c6e55187bc43366e5 100644 (file)
@@ -1495,6 +1495,7 @@ source "board/broadcom/bcmns2/Kconfig"
 source "board/cavium/thunderx/Kconfig"
 source "board/cirrus/edb93xx/Kconfig"
 source "board/eets/pdu001/Kconfig"
+source "board/emulation/qemu-arm/Kconfig"
 source "board/freescale/ls2080a/Kconfig"
 source "board/freescale/ls2080aqds/Kconfig"
 source "board/freescale/ls2080ardb/Kconfig"
diff --git a/board/emulation/qemu-arm/Kconfig b/board/emulation/qemu-arm/Kconfig
new file mode 100644 (file)
index 0000000..d1c08c2
--- /dev/null
@@ -0,0 +1,9 @@
+if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT
+
+config SYS_TEXT_BASE
+       default 0x00000000
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+       def_bool y
+
+endif
index e9e28192721bab237c24683c73084912c3344621..f4502c9e9f2710fffea1523e29a880c3b3964055 100644 (file)
@@ -1,7 +1,6 @@
 CONFIG_ARM=y
 CONFIG_ARM_SMCCC=y
 CONFIG_ARCH_QEMU=y
-CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_TARGET_QEMU_ARM_64BIT=y
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
index 04c9afdb02e54c53ccbde381d51221670c558493..acebdc5a4e04463d15d6d86697cec67c2505b82b 100644 (file)
@@ -1,7 +1,6 @@
 CONFIG_ARM=y
 CONFIG_ARM_SMCCC=y
 CONFIG_ARCH_QEMU=y
-CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_TARGET_QEMU_ARM_32BIT=y
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y