diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2013-09-09 12:27:25 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-20 16:57:40 -0400 |
commit | 827512fb1154c05c6eb1e2259e936df55c98a535 (patch) | |
tree | e1d880f616de501549e85bd4da4e1abf4b7341e5 /include/configs/am335x_evm.h | |
parent | 93ff25529898b931b5000c6e9ec9d7325f2ec414 (diff) | |
download | u-boot-imx-827512fb1154c05c6eb1e2259e936df55c98a535.zip u-boot-imx-827512fb1154c05c6eb1e2259e936df55c98a535.tar.gz u-boot-imx-827512fb1154c05c6eb1e2259e936df55c98a535.tar.bz2 |
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 <rpjday@crashcourse.ca>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r-- | include/configs/am335x_evm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 0c3384c..cdf689f 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;" |