Skip to content

Commit 7aaa345

Browse files
committed
ODROID-XU3/4: fix to set 'board_name' as 'bdtype'
Change-Id: I52ce906c8324d27bdf61220cdeaf61fc3aa342e2 Signed-off-by: Dongjin Kim <[email protected]>
1 parent 88af53f commit 7aaa345

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

board/samsung/common/misc.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,9 @@ void set_board_info(void)
9696

9797
#if defined(CONFIG_TARGET_ODROID_XU4) || defined(CONFIG_TARGET_ODROID_XU3)
9898
/* save board_name for select dtb */
99-
if (!strncmp("xu3-lite" , bdtype, 8))
100-
setenv("board_name", "xu3l");
101-
else if (!strncmp("xu3", bdtype, 3))
102-
setenv("board_name", "xu3");
103-
else
104-
setenv("board_name", "xu4");
99+
setenv("board_name", "xu4");
100+
if (!strncmp("xu3", bdtype, 3))
101+
setenv("board_name", bdtype);
105102

106103
/* save board_id_value (adc value) */
107104
{

0 commit comments

Comments
 (0)