rockchip: update emmc/sd index

We define emmc/sdcard index in dts alias, emmc is 0 and sdcard is 1.

Change-Id: If0adb46298bf10f7a829a456ad147efd863792d0
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Kever Yang 2018-05-04 16:48:35 +08:00
parent f457a3ac95
commit d776bc4b9d
1 changed files with 3 additions and 3 deletions

View File

@ -19,11 +19,11 @@
#ifndef CONFIG_SPL_BUILD
#include <config_distro_defaults.h>
/* First try to boot from SD (index 0), then eMMC (index 1) */
/* First try to boot from SD (index 1), then eMMC (index 0) */
#if CONFIG_IS_ENABLED(CMD_MMC)
#define BOOT_TARGET_MMC(func) \
func(MMC, mmc, 0) \
func(MMC, mmc, 1)
func(MMC, mmc, 1) \
func(MMC, mmc, 0)
#else
#define BOOT_TARGET_MMC(func)
#endif