summaryrefslogtreecommitdiffstats
path: root/board/samsung/common/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/common/misc.c')
-rw-r--r--board/samsung/common/misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index e0e2c48632..c8316d854f 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -85,6 +85,9 @@ void set_board_info(void)
#ifdef CONFIG_BOARD_TYPES
bdtype = get_board_type();
+ if (!bdtype)
+ bdtype = "";
+
sprintf(info, "%s%s", bdname, bdtype);
setenv("boardname", info);
#endif
OpenPOWER on IntegriCloud