Skip to content

Commit 923fedb

Browse files
edersondisouzanashif
authored andcommitted
arch/x86/core: Use CONFIG_QEMU_TARGET for QEMU specific code
Instead of both checking CONFIG_BOARD_QEMU_X86 and CONFIG_BOARD_QEMU_X86_64, simply check for CONFIG_QEMU_TARGET. This also helps qemu_x86_tiny, qemu_x86_lakemont and any future/downstream QEMU targets to keep things simple. Signed-off-by: Ederson de Souza <[email protected]>
1 parent d54c308 commit 923fedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/core/prep_c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ FUNC_NORETURN void z_prep_c(void *arg)
6161
#ifdef CONFIG_X86_VERY_EARLY_CONSOLE
6262
z_x86_early_serial_init();
6363

64-
#if defined(CONFIG_BOARD_QEMU_X86) || defined(CONFIG_BOARD_QEMU_X86_64)
64+
#if defined(CONFIG_QEMU_TARGET)
6565
/*
6666
* Under QEMU and SeaBIOS, everything gets to be printed
6767
* immediately after "Booting from ROM.." as there is no newline.

0 commit comments

Comments
 (0)