From: Robert P. J. Day Date: Mon, 9 Sep 2013 16:27:25 +0000 (-0400) Subject: am335x_evm.h: If mmcdev and bootpart switch to mmcdev 1, so should mmcroot. X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=827512fb1154c05c6eb1e2259e936df55c98a535;p=u-boot.git am335x_evm.h: If mmcdev and bootpart switch to mmcdev 1, so should mmcroot. If, in CONFIG_BOOTCOMMAND, the environment switches both the mmcdev and bootpart variables to refer to MMC device 1, it would make sense that the mmcroot env variable should switch to that device as well. Signed-off-by: Robert P. J. Day --- diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 0c3384cc4a..cdf689f875 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -170,6 +170,7 @@ "run mmcboot;" \ "setenv mmcdev 1; " \ "setenv bootpart 1:2; " \ + "setenv mmcroot /dev/mmcblk1p2 ro; " \ "run mmcboot;" \ "run nandboot;"