diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2013-09-09 16:27:25 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-20 20:57:40 (GMT) |
commit | 827512fb1154c05c6eb1e2259e936df55c98a535 (patch) | |
tree | e1d880f616de501549e85bd4da4e1abf4b7341e5 | |
parent | 93ff25529898b931b5000c6e9ec9d7325f2ec414 (diff) | |
download | u-boot-827512fb1154c05c6eb1e2259e936df55c98a535.tar.xz |
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>
-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;" |