diff options
author | Martin Roth <martinroth@chromium.org> | 2021-06-21 09:18:46 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-06-25 15:51:20 +0000 |
commit | 8a85a84fac7157927612cd638cf67c061d959bd8 (patch) | |
tree | fec6ab28b277215fdbbe90df8b1a982870d0bc9d /src/include/cpu/x86 | |
parent | b8bba6519ee0411010eaadc0589144d4fea4c67b (diff) |
Asm code: Use NO_EARLY_BOOTBLOCK_POSTCODES to remove Asm port80s
Expand NO_EARLY_BOOTBLOCK_POSTCODES to all of the early assembly code in
bootblock.
BUG=b:191370340
TEST: Build with & without the option enabled
Signed-off-by: Martin Roth <martinroth@chromium.org>
Change-Id: Idb4a96820d5c391fc17a0f0dcccd519d4881b78c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55731
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include/cpu/x86')
-rw-r--r-- | src/include/cpu/x86/post_code.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/x86/post_code.h b/src/include/cpu/x86/post_code.h index 077f964335..de1100607a 100644 --- a/src/include/cpu/x86/post_code.h +++ b/src/include/cpu/x86/post_code.h @@ -3,7 +3,7 @@ #include <console/post_codes.h> -#if CONFIG(POST_IO) +#if CONFIG(POST_IO) && !(ENV_BOOTBLOCK && CONFIG(NO_EARLY_BOOTBLOCK_POSTCODES)) #define post_code(value) \ movb $value, %al; \ outb %al, $CONFIG_POST_IO_PORT |