diff options
author | Bin Meng | 2018-10-15 04:21:18 -0500 |
---|---|---|
committer | Simon Glass | 2018-11-14 11:16:28 -0600 |
commit | 6f3327658b03f448c324ac54aad1bd6cc2c2e50d (patch) | |
tree | 81717a7e51e4bbe38ab278b325be76502395eccc | |
parent | 4135e10732a0eb3c66b34d2fde32eb54d6323fc6 (diff) | |
download | u-boot-6f3327658b03f448c324ac54aad1bd6cc2c2e50d.tar.gz u-boot-6f3327658b03f448c324ac54aad1bd6cc2c2e50d.tar.xz u-boot-6f3327658b03f448c324ac54aad1bd6cc2c2e50d.zip |
arm: qemu: Add a Kconfig in the board directory
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>
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | board/emulation/qemu-arm/Kconfig | 9 | ||||
-rw-r--r-- | configs/qemu_arm64_defconfig | 1 | ||||
-rw-r--r-- | configs/qemu_arm_defconfig | 1 |
4 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1f3fa1575a..2ebd577c24 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1495,6 +1495,7 @@ source "board/broadcom/bcmns2/Kconfig" | |||
1495 | source "board/cavium/thunderx/Kconfig" | 1495 | source "board/cavium/thunderx/Kconfig" |
1496 | source "board/cirrus/edb93xx/Kconfig" | 1496 | source "board/cirrus/edb93xx/Kconfig" |
1497 | source "board/eets/pdu001/Kconfig" | 1497 | source "board/eets/pdu001/Kconfig" |
1498 | source "board/emulation/qemu-arm/Kconfig" | ||
1498 | source "board/freescale/ls2080a/Kconfig" | 1499 | source "board/freescale/ls2080a/Kconfig" |
1499 | source "board/freescale/ls2080aqds/Kconfig" | 1500 | source "board/freescale/ls2080aqds/Kconfig" |
1500 | source "board/freescale/ls2080ardb/Kconfig" | 1501 | source "board/freescale/ls2080ardb/Kconfig" |
diff --git a/board/emulation/qemu-arm/Kconfig b/board/emulation/qemu-arm/Kconfig new file mode 100644 index 0000000000..d1c08c2f6a --- /dev/null +++ b/board/emulation/qemu-arm/Kconfig | |||
@@ -0,0 +1,9 @@ | |||
1 | if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT | ||
2 | |||
3 | config SYS_TEXT_BASE | ||
4 | default 0x00000000 | ||
5 | |||
6 | config BOARD_SPECIFIC_OPTIONS # dummy | ||
7 | def_bool y | ||
8 | |||
9 | endif | ||
diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index e9e2819272..f4502c9e9f 100644 --- a/configs/qemu_arm64_defconfig +++ b/configs/qemu_arm64_defconfig | |||
@@ -1,7 +1,6 @@ | |||
1 | CONFIG_ARM=y | 1 | CONFIG_ARM=y |
2 | CONFIG_ARM_SMCCC=y | 2 | CONFIG_ARM_SMCCC=y |
3 | CONFIG_ARCH_QEMU=y | 3 | CONFIG_ARCH_QEMU=y |
4 | CONFIG_SYS_TEXT_BASE=0x00000000 | ||
5 | CONFIG_TARGET_QEMU_ARM_64BIT=y | 4 | CONFIG_TARGET_QEMU_ARM_64BIT=y |
6 | CONFIG_AHCI=y | 5 | CONFIG_AHCI=y |
7 | CONFIG_DISTRO_DEFAULTS=y | 6 | CONFIG_DISTRO_DEFAULTS=y |
diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index 04c9afdb02..acebdc5a4e 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig | |||
@@ -1,7 +1,6 @@ | |||
1 | CONFIG_ARM=y | 1 | CONFIG_ARM=y |
2 | CONFIG_ARM_SMCCC=y | 2 | CONFIG_ARM_SMCCC=y |
3 | CONFIG_ARCH_QEMU=y | 3 | CONFIG_ARCH_QEMU=y |
4 | CONFIG_SYS_TEXT_BASE=0x00000000 | ||
5 | CONFIG_TARGET_QEMU_ARM_32BIT=y | 4 | CONFIG_TARGET_QEMU_ARM_32BIT=y |
6 | CONFIG_AHCI=y | 5 | CONFIG_AHCI=y |
7 | CONFIG_DISTRO_DEFAULTS=y | 6 | CONFIG_DISTRO_DEFAULTS=y |