diff options
author | Martin Roth <martinroth@google.com> | 2017-06-09 09:27:08 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-12 04:08:55 +0200 |
commit | 53de6cd1c3597f38b69509ea5a34f61c71ca1f5d (patch) | |
tree | 405433fa99fddb0bc271b4c411e88d7dd148c1c2 /src/console/console.c | |
parent | 6a3d0bfc1f7e0e7b52c991d144e825ca7edf628e (diff) |
src/console: add IS_ENABLED() around Kconfig symbol references
Some of these can be changed from #if to if(), but that will happen
in a follow-on commmit.
Change-Id: I5a674cd7a360a0dd040c859ec1f8d760d7c83364
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20130
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/console/console.c')
-rw-r--r-- | src/console/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c index 877c8dc960..16c041e7b1 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -80,7 +80,7 @@ void console_write_line(uint8_t *buffer, size_t number_of_bytes) } -#if CONFIG_GDB_STUB && (ENV_ROMSTAGE || ENV_RAMSTAGE) +#if IS_ENABLED(CONFIG_GDB_STUB) && (ENV_ROMSTAGE || ENV_RAMSTAGE) void gdb_hw_init(void) { __gdb_hw_init(); |