summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-11-06 15:33:23 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-11-07 17:23:32 +0000
commit2fba476a6e7e4578e0590b56d02147e01f100d8a (patch)
tree65b239774d761910f5d4e70988f425933df967f9 /src/console
parentd0cb97ef2e6e5088f6b256d5a4e9f0665eaa6218 (diff)
console.c: Enable gdb support in bootblock
This code was written in a romcc bootblock time. There is no reason why it would not work in bootblock now. Untested but expected to work. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I34812fbcd1222eceeb9870b9cbb7431ead63ce6a Reviewed-on: https://review.coreboot.org/c/coreboot/+/78936 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 9a079ed60a..bb9d3747d3 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -86,7 +86,7 @@ void console_write_line(uint8_t *buffer, size_t number_of_bytes)
console_tx_byte(*buffer++);
}
-#if CONFIG(GDB_STUB) && (ENV_ROMSTAGE || ENV_RAMSTAGE)
+#if CONFIG(GDB_STUB) && (ENV_ROMSTAGE_OR_BEFORE || ENV_RAMSTAGE)
void gdb_hw_init(void)
{
__gdb_hw_init();