[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 18/22] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/ucl
From: |
Laurent Vivier |
Subject: |
[PULL 18/22] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards |
Date: |
Wed, 10 Mar 2021 22:45:00 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
We want to be able to use the 'LM32' config for architecture
specific features. Introduce CONFIG_LM32_EVR to select the
lm32-evr / lm32-uclinux boards.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210221225626.2589247-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
default-configs/devices/lm32-softmmu.mak | 2 +-
hw/lm32/Kconfig | 6 +++++-
hw/lm32/meson.build | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/default-configs/devices/lm32-softmmu.mak
b/default-configs/devices/lm32-softmmu.mak
index 115b3e34c983..1bce3f6e8b64 100644
--- a/default-configs/devices/lm32-softmmu.mak
+++ b/default-configs/devices/lm32-softmmu.mak
@@ -8,5 +8,5 @@ CONFIG_SEMIHOSTING=y
# Boards:
#
-CONFIG_LM32=y
+CONFIG_LM32_EVR=y
CONFIG_MILKYMIST=y
diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig
index ed2e3060b040..20c36edc402c 100644
--- a/hw/lm32/Kconfig
+++ b/hw/lm32/Kconfig
@@ -1,7 +1,6 @@
config LM32
bool
select PTIMER
- select PFLASH_CFI02
config MILKYMIST
bool
@@ -12,3 +11,8 @@ config MILKYMIST
select FRAMEBUFFER
select SD
select USB_OHCI
+
+config LM32_EVR
+ bool
+ select LM32
+ select PFLASH_CFI02
diff --git a/hw/lm32/meson.build b/hw/lm32/meson.build
index 8caf0a727ff8..42d6f8db3d97 100644
--- a/hw/lm32/meson.build
+++ b/hw/lm32/meson.build
@@ -1,6 +1,6 @@
lm32_ss = ss.source_set()
# LM32 boards
-lm32_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_boards.c'))
+lm32_ss.add(when: 'CONFIG_LM32_EVR', if_true: files('lm32_boards.c'))
lm32_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist.c'))
hw_arch += {'lm32': lm32_ss}
--
2.29.2
- [PULL 08/22] net: Use id_generate() in the network subsystem, too, (continued)
- [PULL 08/22] net: Use id_generate() in the network subsystem, too, Laurent Vivier, 2021/03/10
- [PULL 10/22] exec/memory: Use struct Object typedef, Laurent Vivier, 2021/03/10
- [PULL 09/22] fuzz-test: remove unneccessary debugging flags, Laurent Vivier, 2021/03/10
- [PULL 04/22] target/hexagon/gen_tcg_funcs: Fix a typo, Laurent Vivier, 2021/03/10
- [PULL 14/22] seccomp: Replace the word 'blacklist', Laurent Vivier, 2021/03/10
- [PULL 11/22] virtio-gpu: Adjust code space style, Laurent Vivier, 2021/03/10
- [PULL 12/22] ui: Replace the word 'whitelist', Laurent Vivier, 2021/03/10
- [PULL 16/22] tests/fp/fp-test: Replace the word 'blacklist', Laurent Vivier, 2021/03/10
- [PULL 17/22] qemu-common.h: Update copyright string to 2021, Laurent Vivier, 2021/03/10
- [PULL 15/22] qemu-options: Replace the word 'blacklist', Laurent Vivier, 2021/03/10
- [PULL 18/22] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards,
Laurent Vivier <=
- [PULL 13/22] scripts/tracetool: Replace the word 'whitelist', Laurent Vivier, 2021/03/10
- [PULL 19/22] hw/lm32/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_DEVICES, Laurent Vivier, 2021/03/10
- Re: [PULL 00/22] Trivial branch for 6.0 patches, Laurent Vivier, 2021/03/10
- Re: [PULL 00/22] Trivial branch for 6.0 patches, Peter Maydell, 2021/03/12