summaryrefslogtreecommitdiff
path: root/include/configs/brppt1.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-25 00:14:47 +0300
committerTom Rini <trini@konsulko.com>2020-08-08 18:03:52 +0300
commit7d080773347c1f6e0e896d9284134a2a411155d6 (patch)
treed1980362503baa76640290b557206aaad17fab2f /include/configs/brppt1.h
parentb904d79e4809bf35cf53c2e5fee0f73647bab07a (diff)
downloadu-boot-7d080773347c1f6e0e896d9284134a2a411155d6.tar.xz
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/brppt1.h')
-rw-r--r--include/configs/brppt1.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index 729d4d9799..f9a0632e54 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -177,18 +177,8 @@ NANDTGTS \
#define CONFIG_NAND_OMAP_GPMC_WSCFG 1
#endif /* CONFIG_MTD_RAW_NAND */
-#if defined(CONFIG_SPI)
-/* SPI Flash */
-/* Environment */
-#elif defined(CONFIG_ENV_IS_IN_MMC)
-#define CONFIG_SYS_MMC_ENV_DEV 1
-#define CONFIG_SYS_MMC_ENV_PART 2
-
-#elif defined(CONFIG_ENV_IS_IN_NAND)
-/* No NAND env support in SPL */
+#if defined(CONFIG_ENV_IS_IN_NAND)
#define CONFIG_SYS_ENV_SECT_SIZE CONFIG_ENV_SIZE
-#else
-#error "no storage for Environment defined!"
#endif
#endif /* ! __CONFIG_BRPPT1_H__ */