summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2013-09-09 12:27:25 -0400
committerTom Rini <trini@ti.com>2013-09-20 16:57:40 -0400
commit827512fb1154c05c6eb1e2259e936df55c98a535 (patch)
treee1d880f616de501549e85bd4da4e1abf4b7341e5 /include
parent93ff25529898b931b5000c6e9ec9d7325f2ec414 (diff)
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')
-rw-r--r--include/configs/am335x_evm.h1
1 files changed, 1 insertions, 0 deletions
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;"