summaryrefslogtreecommitdiff
path: root/lib/hang.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 12:20:12 -0600
committerTom Rini <trini@konsulko.com>2021-09-04 12:26:01 -0400
commit2a736066687168f17a5a92c3b08d16bafc464954 (patch)
treeb540165bccc959115d170d64c187c5585fd852fb /lib/hang.c
parent73c6ff6aac9338cb1bb3dbf9af51377e9830a849 (diff)
serial: Rename SERIAL_SUPPORT to SERIAL
Rename these options so that CONFIG_IS_ENABLED can be used with them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/hang.c')
-rw-r--r--lib/hang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hang.c b/lib/hang.c
index 578ac78d45..2735774f9a 100644
--- a/lib/hang.c
+++ b/lib/hang.c
@@ -24,7 +24,7 @@ void hang(void)
{
#if !defined(CONFIG_SPL_BUILD) || \
(CONFIG_IS_ENABLED(LIBCOMMON_SUPPORT) && \
- CONFIG_IS_ENABLED(SERIAL_SUPPORT))
+ CONFIG_IS_ENABLED(SERIAL))
puts("### ERROR ### Please RESET the board ###\n");
#endif
bootstage_error(BOOTSTAGE_ID_NEED_RESET);