summaryrefslogtreecommitdiffstats
path: root/include/configs/tbs2910.h
diff options
context:
space:
mode:
authorSoeren Moch <smoch@web.de>2016-02-04 14:41:16 +0100
committerStefano Babic <sbabic@denx.de>2016-02-21 11:31:58 +0100
commita668436051e497da18ab79ad26649e26d8a08433 (patch)
treef5fee5557360724ecfe0485dc450348daf9dda70 /include/configs/tbs2910.h
parent1a43dc11a33de29712e5c5a0877d21bd6f6550c1 (diff)
downloadblackbird-obmc-uboot-a668436051e497da18ab79ad26649e26d8a08433.tar.gz
blackbird-obmc-uboot-a668436051e497da18ab79ad26649e26d8a08433.zip
board: tbs2910: Autoselect environment device when booting from SD
Implement board specific functions to select the environment device and partition when booting from SD/MMC. SD2: mmc 0 0 SD3: mmc 1 0 eMMC: mmc 2 1 Signed-off-by: Soeren Moch <smoch@web.de>
Diffstat (limited to 'include/configs/tbs2910.h')
-rw-r--r--include/configs/tbs2910.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 17b0213362..0f23034690 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -176,8 +176,8 @@
/* Environment organization */
#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV 2
-#define CONFIG_SYS_MMC_ENV_PART 1
+#define CONFIG_SYS_MMC_ENV_DEV 2 /* overwritten on SD boot */
+#define CONFIG_SYS_MMC_ENV_PART 1 /* overwritten on SD boot */
#define CONFIG_ENV_SIZE (8 * 1024)
#define CONFIG_ENV_OFFSET (384 * 1024)
#define CONFIG_ENV_OVERWRITE
OpenPOWER on IntegriCloud