aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:27:06 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 10:08:55 -0500
commit9ba938e744d81e0164f5abbd087c461596ad63d4 (patch)
tree7edb63eb23c0c9f2c52ef9d363ebaa83722814e1 /include/configs
parent75fc79e530eb01428ba4064b2693214efdfb2ee2 (diff)
downloadu-boot-9ba938e744d81e0164f5abbd087c461596ad63d4.zip
u-boot-9ba938e744d81e0164f5abbd087c461596ad63d4.tar.gz
u-boot-9ba938e744d81e0164f5abbd087c461596ad63d4.tar.bz2
Convert CONFIG_SYS_MMC_MAX_DEVICE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_DEVICE Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/am335x_evm.h18
-rw-r--r--include/configs/stm32mp13_common.h3
-rw-r--r--include/configs/stm32mp15_common.h3
-rw-r--r--include/configs/sunxi-common.h2
-rw-r--r--include/configs/tegra-common.h7
-rw-r--r--include/configs/zynq-common.h3
6 files changed, 0 insertions, 36 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index bd7e2f1..8eefaf2 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -193,24 +193,6 @@
#endif
/*
- * Default to using SPI for environment, etc.
- * 0x000000 - 0x020000 : SPL (128KiB)
- * 0x020000 - 0x0A0000 : U-Boot (512KiB)
- * 0x0A0000 - 0x0BFFFF : First copy of U-Boot Environment (128KiB)
- * 0x0C0000 - 0x0DFFFF : Second copy of U-Boot Environment (128KiB)
- * 0x0E0000 - 0x442000 : Linux Kernel
- * 0x442000 - 0x800000 : Userland
- */
-#if defined(CONFIG_SPI_BOOT)
-/* SPL related */
-#elif defined(CONFIG_EMMC_BOOT)
-#define CONFIG_SYS_MMC_MAX_DEVICE 2
-#endif
-
-/* Network. */
-/* Enable Atheros phy driver */
-
-/*
* NOR Size = 16 MiB
* Number of Sectors/Blocks = 128
* Sector Size = 128 KiB
diff --git a/include/configs/stm32mp13_common.h b/include/configs/stm32mp13_common.h
index 222e69c..07a5bfc 100644
--- a/include/configs/stm32mp13_common.h
+++ b/include/configs/stm32mp13_common.h
@@ -21,9 +21,6 @@
*/
#define CONFIG_SYS_BOOTMAPSZ SZ_256M
-/*MMC SD*/
-#define CONFIG_SYS_MMC_MAX_DEVICE 2
-
/* NAND support */
/*****************************************************************************/
diff --git a/include/configs/stm32mp15_common.h b/include/configs/stm32mp15_common.h
index 6103c2c..b809f93 100644
--- a/include/configs/stm32mp15_common.h
+++ b/include/configs/stm32mp15_common.h
@@ -21,9 +21,6 @@
*/
#define CONFIG_SYS_BOOTMAPSZ SZ_256M
-/*MMC SD*/
-#define CONFIG_SYS_MMC_MAX_DEVICE 3
-
/* NAND support */
/* Ethernet need */
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index f9c701b..89501ca 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -78,8 +78,6 @@
/* mmc config */
#define CONFIG_MMC_SUNXI_SLOT 0
-#define CONFIG_SYS_MMC_MAX_DEVICE 4
-
/*
* Miscellaneous configurable options
*/
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 159ba09..2915db7 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -28,13 +28,6 @@
*/
#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
-/*
- * Common HW configuration.
- * If this varies between SoCs later, move to tegraNN-common.h
- * Note: This is number of devices, not max device ID.
- */
-#define CONFIG_SYS_MMC_MAX_DEVICE 4
-
#ifdef CONFIG_ARM64
#define FDTFILE "nvidia/" CONFIG_DEFAULT_DEVICE_TREE ".dtb"
#else
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index e194e77..6574cf9 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -195,9 +195,6 @@
/* Extend size of kernel image for uncompression */
-/* Boot FreeBSD/vxWorks from an ELF image */
-#define CONFIG_SYS_MMC_MAX_DEVICE 1
-
/* Address in RAM where the parameters must be copied by SPL. */
/* Not using MMC raw mode - just for compilation purpose */