public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] qemu: don't allow to select 32- and 64-bit
@ 2020-04-10  7:37 Heinrich Schuchardt
  2020-04-24 17:11 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2020-04-10  7:37 UTC (permalink / raw)
  To: u-boot

TARGET_QEMU_ARM_64BIT and TARGET_QEMU_ARM_32BIT should be mutually
exclusive.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 arch/arm/mach-qemu/Kconfig | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig
index a2e4b98b88..588d2d3102 100644
--- a/arch/arm/mach-qemu/Kconfig
+++ b/arch/arm/mach-qemu/Kconfig
@@ -9,16 +9,20 @@ config SYS_BOARD
 config SYS_CONFIG_NAME
 	default "qemu-arm"

-endif
+choice
+	prompt "QEMU ARM architecture"
+	default TARGET_QEMU_ARM_64BIT

 config TARGET_QEMU_ARM_32BIT
-	bool "Support qemu_arm"
-	depends on ARCH_QEMU
+	bool "ARMv7-A, 32bit"
 	select ARCH_SUPPORT_PSCI
 	select CPU_V7A
 	select SYS_ARCH_TIMER

 config TARGET_QEMU_ARM_64BIT
-	bool "Support qemu_arm64"
-	depends on ARCH_QEMU
+	bool "ARMv8, 64bit"
 	select ARM64
+
+endchoice
+
+endif
--
2.25.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] qemu: don't allow to select 32- and 64-bit
  2020-04-10  7:37 [PATCH] qemu: don't allow to select 32- and 64-bit Heinrich Schuchardt
@ 2020-04-24 17:11 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2020-04-24 17:11 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 10, 2020 at 09:37:21AM +0200, Heinrich Schuchardt wrote:

> TARGET_QEMU_ARM_64BIT and TARGET_QEMU_ARM_32BIT should be mutually
> exclusive.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200424/ee8f5b89/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-24 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10  7:37 [PATCH] qemu: don't allow to select 32- and 64-bit Heinrich Schuchardt
2020-04-24 17:11 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox