diff mbox series

[v2,1/5] bios_emulator: select X86EMU_RAW_IO only on x86

Message ID 20261003-aspeed_vbios_fixes-v2-1-f8e593f024ab@oss.tenstorrent.com
State New
Delegated to: Tom Rini
Headers show
Series [v2,1/5] bios_emulator: select X86EMU_RAW_IO only on x86 | expand

Commit Message

Anirudh Srinivasan Oct. 3, 2026, 8:07 p.m. UTC
X86EMU_RAW_IO mode can only be used on architectures that support port
I/O like x86, so don't select this for other architectures.

This was also suggested by Tom Rini [1], but was never added in.

[1] https://lore.kernel.org/u-boot/20241117025353.GA3151182@bill-the-cat/

Suggested-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>
---
 drivers/bios_emulator/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/bios_emulator/Kconfig b/drivers/bios_emulator/Kconfig
index 3660576772d..5afea87a2e4 100644
--- a/drivers/bios_emulator/Kconfig
+++ b/drivers/bios_emulator/Kconfig
@@ -1,10 +1,10 @@ 
 config BIOSEMU
 	bool
-	select X86EMU_RAW_IO
+	select X86EMU_RAW_IO if X86
 
 config SPL_BIOSEMU
 	bool
-	select X86EMU_RAW_IO
+	select X86EMU_RAW_IO if X86
 
 config X86EMU_RAW_IO
 	bool