diff mbox

[U-Boot] warp7: Adjust CONFIG_MMCROOT for booting a mainline kernel

Message ID 1472149629-1673-1-git-send-email-fabio.estevam@nxp.com
State Rejected
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Aug. 25, 2016, 6:27 p.m. UTC
When booting a mainline kernel on warp7 we have:
- mmc0: Wifi SDIO chip
- mmc1: eMMC

, so point CONFIG_MMCROOT to use mmcblk1 instead.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 include/configs/warp7.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Otavio Salvador Aug. 25, 2016, 8:13 p.m. UTC | #1
On Thu, Aug 25, 2016 at 3:27 PM, Fabio Estevam <fabio.estevam@nxp.com> wrote:
> When booting a mainline kernel on warp7 we have:
> - mmc0: Wifi SDIO chip
> - mmc1: eMMC
>
> , so point CONFIG_MMCROOT to use mmcblk1 instead.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

As far as I know, the sold WaRP7 boards are shipped with the NXP
kernel so if this patch is applied, the U-Boot won't work out of box
for most of users.

From me, this is a NACK.
diff mbox

Patch

diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index e59b16c..eaea4e6 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -113,7 +113,7 @@ 
 
 #define CONFIG_SYS_MMC_ENV_DEV		0
 #define CONFIG_SYS_MMC_ENV_PART		0
-#define CONFIG_MMCROOT			"/dev/mmcblk2p2"
+#define CONFIG_MMCROOT			"/dev/mmcblk1p2"
 
 /* USB Configs */
 #define CONFIG_USB_STORAGE