summaryrefslogtreecommitdiff
path: root/board/siemens/common
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-21 10:19:04 -0600
committerTom Rini <[email protected]>2024-08-26 14:05:38 -0600
commitf44fded23620e264525e482efbc2e061fab5702b (patch)
treea308a5f54592bf27183c684aba650a7618d25077 /board/siemens/common
parent30e331e9cb7c14400dae385ed7ceab56eaa1e005 (diff)
global_data: Convert have_console into a flag
We don't need a full word for this boolean value. Convert it into a flag to save space in global_data. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/siemens/common')
-rw-r--r--board/siemens/common/board_am335x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/common/board_am335x.c b/board/siemens/common/board_am335x.c
index 2a727606bc3..e6537b0675a 100644
--- a/board/siemens/common/board_am335x.c
+++ b/board/siemens/common/board_am335x.c
@@ -36,7 +36,7 @@ void set_mux_conf_regs(void)
/* enable early the console */
gd->baudrate = CONFIG_BAUDRATE;
serial_init();
- gd->have_console = 1;
+ gd->flags |= GD_FLG_HAVE_CONSOLE;
siemens_ee_setup();
if (draco_read_eeprom() < 0)