Skip to content

Commit 73347d9

Browse files
committed
ODROID-M1: 'skip_spiboot' environment works with ODROID-M1 only
Signed-off-by: Dongjin Kim <[email protected]> Change-Id: Ia2090bbff633bb8c5295d759d69673862be670a7
1 parent 5c8a417 commit 73347d9

File tree

1 file changed

+2
-0
lines changed
  • board/hardkernel/odroid-common

1 file changed

+2
-0
lines changed

board/hardkernel/odroid-common/board.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ int rk_board_late_init(void)
143143
{
144144
char buf[1024] = "run distro_bootcmd";
145145

146+
#if defined(CONFIG_TARGET_ODROID_M1)
146147
/* Load SPI firmware when boot device is SPI flash memory
147148
* and environment value 'skip_spiboot' is not 'true'
148149
*/
@@ -152,6 +153,7 @@ int rk_board_late_init(void)
152153
"source $scriptaddr;"
153154
"%s", env_get("bootcmd"));
154155
}
156+
#endif
155157

156158
env_set("bootcmd", buf);
157159
env_set("variant", BOARD_VARIANT);

0 commit comments

Comments
 (0)