mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Convert CONFIG_SUPPORT_EMMC_BOOT to Kconfig
This converts the following to Kconfig: CONFIG_SUPPORT_EMMC_BOOT As requested by Michal Simek <michal.simek@xilinx.com>, these boards have no eMMC so CONFIG_SUPPORT_EMMC_BOOT has not been migrated: xilinx_zynqmp_zc1275_revB xilinx_zynqmp_zc1751_xm018_dc4 xilinx_zynqmp_zc1751_xm019_dc5 xilinx_zynqmp_zcu100_revC xilinx_zynqmp_zcu102_rev1_0 xilinx_zynqmp_zcu102_revA xilinx_zynqmp_zcu102_revB xilinx_zynqmp_zcu104_revA xilinx_zynqmp_zcu104_revC xilinx_zynqmp_zcu106_revA xilinx_zynqmp_zcu111_revA Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Acked-by: Lukasz Majewski <lukma@denx.de> Acked-by: Patrick Delaunay <patrick.delaunay@st.com> Acked-by: Ramon Fried <ramon.fried@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#define CONFIG_LOADCMD "fatload"
|
||||
#define CONFIG_RFSPART "2"
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
#include "mx6_common.h"
|
||||
#include <linux/sizes.h>
|
||||
|
||||
|
||||
@@ -63,8 +63,6 @@
|
||||
#define CONFIG_NET_RETRY_COUNT 10
|
||||
#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* USB xHCI HOST */
|
||||
#define CONFIG_USB_XHCI_OMAP
|
||||
|
||||
|
||||
@@ -18,9 +18,6 @@
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
/* SD/MMC support */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
/* Environment in eMMC, before config block at the end of 1st "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE + \
|
||||
CONFIG_TDX_CFG_BLOCK_OFFSET)
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 3
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
/*
|
||||
* SATA Configs
|
||||
*/
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
#include "exynos5250-common.h"
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
/* SD/MMC configuration */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
|
||||
@@ -31,11 +31,6 @@
|
||||
/*#define CONFIG_MACH_TYPE 3589*/
|
||||
#define CONFIG_MACH_TYPE 0xFFFFFFFF /* TODO: check with kernel*/
|
||||
|
||||
/* MMC/SD IP block */
|
||||
#if defined(CONFIG_EMMC_BOOT)
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#endif /* CONFIG_EMMC_BOOT */
|
||||
|
||||
/*
|
||||
* When we have NAND flash we expect to be making use of mtdparts,
|
||||
* both for ease of use in U-Boot and for passing information on to
|
||||
|
||||
@@ -153,7 +153,6 @@
|
||||
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
||||
#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
#endif
|
||||
|
||||
/* USB Configs */
|
||||
|
||||
@@ -26,10 +26,6 @@
|
||||
*/
|
||||
#define CONFIG_SYS_MMC_BASE MVEBU_SDIO_BASE
|
||||
|
||||
#ifdef CONFIG_CMD_MMC
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#endif
|
||||
|
||||
/* USB/EHCI configuration */
|
||||
#define CONFIG_EHCI_IS_TDI
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
/* Enhance our eMMC support / experience. */
|
||||
#define CONFIG_HSMMC2_8BIT
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* SATA Boot related defines */
|
||||
#define CONFIG_SPL_SATA_BOOT_DEVICE 0
|
||||
|
||||
@@ -44,8 +44,6 @@
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
/* Network */
|
||||
#define CONFIG_FEC_MXC
|
||||
#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
|
||||
@@ -35,8 +35,6 @@
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 1
|
||||
#elif CONFIG_TARGET_COLIBRI_IMX7_EMMC
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#endif
|
||||
|
||||
#undef CONFIG_BOOTM_PLAN9
|
||||
|
||||
@@ -83,7 +83,6 @@
|
||||
#define CONFIG_FSL_USDHC
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
@@ -96,8 +96,6 @@
|
||||
/* SPI SPL */
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x40000
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* USB xHCI HOST */
|
||||
#define CONFIG_USB_XHCI_OMAP
|
||||
|
||||
|
||||
@@ -31,13 +31,6 @@
|
||||
* it has to be done after each HCD reset */
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
|
||||
/* Support all possible USB ethernet dongles */
|
||||
|
||||
/* Extra Commands */
|
||||
/* Enable that for switching of boot partitions */
|
||||
/* Disabled by default as some sub-commands can brick eMMC */
|
||||
/*#define CONFIG_SUPPORT_EMMC_BOOT */
|
||||
|
||||
/* BOOTP options */
|
||||
#define CONFIG_BOOTP_BOOTFILESIZE
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#define CONFIG_ENV_SIZE (64 * 1024)
|
||||
#define CONFIG_ENV_OFFSET (3 * 1024 * 1024)
|
||||
#define CONFIG_ENV_OFFSET_REDUND (6 * 1024 * 1024)
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* RTC */
|
||||
#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 3
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 2 /* SDHC4 */
|
||||
#define CONFIG_ENV_OFFSET (6 * 64 * 1024)
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH)
|
||||
/* MarSBoard */
|
||||
#define CONFIG_FDTFILE "imx6q-marsboard.dtb"
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
|
||||
/* MMC SPL */
|
||||
#define COPY_BL2_FNPTR_ADDR 0x02020030
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* specific .lds file */
|
||||
|
||||
|
||||
@@ -19,9 +19,6 @@
|
||||
#define CONFIG_MXC_UART_BASE UART3_BASE
|
||||
#define CONSOLE_DEV "ttymxc2"
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
|
||||
#include "mx6_common.h"
|
||||
#include <linux/sizes.h>
|
||||
|
||||
|
||||
@@ -81,9 +81,6 @@
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
|
||||
/* eMMC Configs */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/*
|
||||
* SATA Configs
|
||||
*/
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
|
||||
/* MMC */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 2
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* Ethernet */
|
||||
#define CONFIG_FEC_MXC_PHYADDR 1
|
||||
|
||||
@@ -224,7 +224,6 @@
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
||||
|
||||
#define CONFIG_MXC_GPIO
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define USDHC1_BASE_ADDR 0x5B010000
|
||||
#define USDHC2_BASE_ADDR 0x5B020000
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
/* MMC Configs */
|
||||
#ifdef CONFIG_FSL_USDHC
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC1_BASE_ADDR
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#endif
|
||||
|
||||
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
|
||||
/* MMC */
|
||||
#define MMC_SUPPORTS_TUNING
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* DRAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||
#define CONSOLE_DEV "ttymxc0"
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
#include "mx6sabre_common.h"
|
||||
|
||||
/* Falcon Mode */
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#define CONFIG_SYS_I2C_MXC
|
||||
#define CONFIG_SYS_I2C_SPEED 100000
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
||||
|
||||
#ifdef CONFIG_IMX_BOOTAUX
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define IOMUXC_BASE_ADDR IOMUXC1_RBASE
|
||||
|
||||
#define CONFIG_FSL_USDHC
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 1
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
|
||||
/* Enhance our eMMC support / experience. */
|
||||
#define CONFIG_HSMMC2_8BIT
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* Required support for the TCA642X GPIO we have on the uEVM */
|
||||
#define CONFIG_TCA642X
|
||||
|
||||
@@ -33,9 +33,6 @@
|
||||
#define CONFIG_SYS_INIT_SP_ADDR \
|
||||
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
|
||||
|
||||
/* MMC */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* USB */
|
||||
#ifdef CONFIG_USB_EHCI_MX6
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC1_BASE_ADDR
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* USB Configs */
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
"bootmenu_1=Boot using PICO-Pi baseboard=" \
|
||||
"setenv fdtfile imx7d-pico-pi.dtb\0" \
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
|
||||
@@ -77,7 +77,6 @@
|
||||
|
||||
/*MMC SD*/
|
||||
#define CONFIG_SYS_MMC_MAX_DEVICE 3
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/*****************************************************************************/
|
||||
#ifdef CONFIG_DISTRO_DEFAULTS
|
||||
|
||||
@@ -94,9 +94,6 @@
|
||||
#define CONFIG_SYS_NAND_DATA_BASE 0x68000000
|
||||
#define CONFIG_SYS_NAND_BAD_BLOCK_POS 0
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* memtest works on */
|
||||
#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE
|
||||
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + 0x01000000)
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
/* MMC */
|
||||
|
||||
#ifdef CONFIG_CMD_MMC
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#define CONFIG_GENERIC_ATMEL_MCI
|
||||
#define ATMEL_BASE_MMCI 0xfc000000
|
||||
#define CONFIG_SYS_MMC_CLK_OD 500000
|
||||
|
||||
@@ -95,7 +95,6 @@
|
||||
#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
|
||||
#ifdef CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0 /* USDHC4 eMMC */
|
||||
/* 0=user, 1=boot0, 2=boot1, * 4..7=general0..3. */
|
||||
#define CONFIG_SYS_MMC_ENV_PART 1 /* boot0 */
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
|
||||
#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* Watchdog */
|
||||
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 30000 /* 30s */
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
/* MMC Config*/
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC3_BASE_ADDR
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
|
||||
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
||||
|
||||
|
||||
@@ -47,10 +47,6 @@
|
||||
#define CONFIG_BOOTP_BOOTFILESIZE
|
||||
#define CONFIG_BOOTP_MAY_FAIL
|
||||
|
||||
#if defined(CONFIG_MMC_SDHCI_ZYNQ)
|
||||
# define CONFIG_SUPPORT_EMMC_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NAND_ARASAN
|
||||
# define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
# define CONFIG_SYS_NAND_ONFI_DETECTION
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
/* I2C configs */
|
||||
#define CONFIG_SYS_I2C
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#define CONSOLE_DEV "ttymxc1"
|
||||
#define CONFIG_MMCROOT "/dev/mmcblk0p2"
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
#include "el6x_common.h"
|
||||
|
||||
/* Ethernet */
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#define CONSOLE_DEV "ttymxc1"
|
||||
#define CONFIG_MMCROOT "/dev/mmcblk0p1"
|
||||
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
#include "el6x_common.h"
|
||||
|
||||
/* Ethernet */
|
||||
|
||||
Reference in New Issue
Block a user