From: Emmanuel Vadot Date: Wed, 4 Jul 2018 09:08:06 +0200 Subject: [U-Boot] [PATCH] rpi: Set the default mmc max device to 2 Message-ID: <20180704070806.5759-1-manu@freebsd.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When running with special configuration (OF_BOARD and mmc overlay) RPI have the SD card as id 1. This make device enumeration fails when using the API. Signed-off-by: Emmanuel Vadot --- include/configs/rpi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/rpi.h b/include/configs/rpi.h index a97550b732..26fc9b9d95 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -69,6 +69,8 @@ #define CONFIG_MISC_INIT_R #endif +#define CONFIG_SYS_MMC_MAX_DEVICE 2 + /* Console configuration */ #define CONFIG_SYS_CBSIZE 1024 -- 2.17.0