]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
evb-rk3399: config: set emmc as default boot dev
authorKever Yang <kever.yang@rock-chips.com>
Fri, 7 Oct 2016 08:05:45 +0000 (16:05 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 30 Oct 2016 19:29:06 +0000 (13:29 -0600)
rk3399 has two mmc dev controller:
mmc 0: SD card;
mmc 1: EMMC

U-Boot will scan the mmc boot device configured by CONFIG_SYS_MMC_ENV_DEV,
since evb has emmc on board, let's set the EMMC as default.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/evb_rk3399.h

index f4536405eb45fe41d84c26a322e70664d620e6c5..8fdefa29c7298711f7c3cf2016a991685fc75a0e 100644 (file)
@@ -10,7 +10,7 @@
 #include <configs/rk3399_common.h>
 
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV 0
+#define CONFIG_SYS_MMC_ENV_DEV 1
 /*
  * SPL @ 32k for ~36k
  * ENV @ 96k