emulation: Introduction MACH_QEMU
We have QEMU targets across various architecture. So there is not really a QEMU archicture. So 'ARCH_QEMU' seems a bit peculiar. We have a board/emulation directory where much of the arch-specific code is kept. But QEMU is not really a board; in fact many boards use QEMU. While 'emulation' is a useful concept, QEMU is only one of the emulators available. so MACH_EMULATION seems too vague to capture QEMU-specific features. On ARM the code is in the arch/arm/mach-qemu directory and it seems reasonable to go with this approach and consider QEMU to be a machine. So add a MACH_QEMU option. For now nothing uses it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -567,3 +567,9 @@ config SYS_LITTLE_ENDIAN
|
||||
bool "Little endian"
|
||||
depends on SUPPORT_LITTLE_ENDIAN
|
||||
endchoice
|
||||
|
||||
config MACH_QEMU
|
||||
bool
|
||||
help
|
||||
This should enabled for all QEMU targets, on all architectures. It
|
||||
controls features which are particular to running U-Boot on QEMU.
|
||||
|
||||
Reference in New Issue
Block a user