summaryrefslogtreecommitdiff
path: root/include/configs/am335x_shc.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-24 17:14:47 -0400
committerTom Rini <trini@konsulko.com>2020-08-08 11:03:52 -0400
commit7d080773347c1f6e0e896d9284134a2a411155d6 (patch)
treed1980362503baa76640290b557206aaad17fab2f /include/configs/am335x_shc.h
parentb904d79e4809bf35cf53c2e5fee0f73647bab07a (diff)
Convert CONFIG_SYS_MMC_ENV_DEV et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMC_ENV_DEV CONFIG_SYS_MMC_ENV_PART Note that with this conversion we now have consistent behavior with respect to ensuring that we have always selected the correct MMC device and hardware partition. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/am335x_shc.h')
-rw-r--r--include/configs/am335x_shc.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h
index 7240ff6901..387d50d511 100644
--- a/include/configs/am335x_shc.h
+++ b/include/configs/am335x_shc.h
@@ -26,23 +26,6 @@
#define V_OSCK 24000000 /* Clock output from T2 */
#define V_SCLK (V_OSCK)
-/*
- * in case of SD Card or Network boot we want to have a possibility to
- * debrick the shc, therefore do not read environment from eMMC
- */
-#if defined(CONFIG_SHC_SDBOOT) || defined(CONFIG_SHC_NETBOOT)
-#define CONFIG_SYS_MMC_ENV_DEV 0
-#else
-#define CONFIG_SYS_MMC_ENV_DEV 1
-#endif
-
-/*
- * Info when using boot partitions: As environment resides within first
- * 128 kB, MLO must start at 128 kB == 0x20000
- * ENV at MMC Boot0 Partition - 0/Undefined=user, 1=boot0, 2=boot1,
- * 4..7=general0..3
- */
-
#define CONFIG_HSMMC2_8BIT
#ifndef CONFIG_SHC_ICT