mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
spi: Migrate CONFIG_MXC_SPI to Kconfig
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
This commit is contained in:
parent
7b819b569e
commit
60e5456291
82 changed files with 57 additions and 46 deletions
5
README
5
README
|
@ -2019,11 +2019,6 @@ The following options need to be configured:
|
|||
Currently supported on some MPC8xxx processors. For an
|
||||
example, see include/configs/mpc8349emds.h.
|
||||
|
||||
CONFIG_MXC_SPI
|
||||
|
||||
Enables the driver for the SPI controllers on i.MX and MXC
|
||||
SoCs. Currently i.MX31/35/51 are supported.
|
||||
|
||||
CONFIG_SYS_SPI_MXC_WAIT
|
||||
Timeout for waiting until spi transfer completed.
|
||||
default: (CONFIG_SYS_HZ/100) /* 10 ms */
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_VIDEO=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_VIDEO=y
|
||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_MTD_UBI_FASTMAP=y
|
|||
CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_VIDEO=y
|
||||
|
|
|
@ -50,6 +50,7 @@ CONFIG_DWC_AHSATA=y
|
|||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -46,6 +46,7 @@ CONFIG_CMD_FS_GENERIC=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_MXC_USB_OTG_HACTIVE=y
|
||||
|
|
|
@ -62,6 +62,7 @@ CONFIG_SPI_FLASH_WINBOND=y
|
|||
CONFIG_PHYLIB=y
|
||||
CONFIG_DM_PMIC=y
|
||||
CONFIG_DM_REGULATOR=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_PHY_MICREL=y
|
|||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_FEC_MXC=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=y
|
||||
|
|
|
@ -60,3 +60,4 @@ CONFIG_NETDEVICES=y
|
|||
CONFIG_FEC_MXC=y
|
||||
# CONFIG_SPL_DM_SERIAL is not set
|
||||
CONFIG_MXC_UART=y
|
||||
CONFIG_MXC_SPI=y
|
||||
|
|
|
@ -66,6 +66,7 @@ CONFIG_NETDEVICES=y
|
|||
CONFIG_FEC_MXC=y
|
||||
# CONFIG_SPL_DM_SERIAL is not set
|
||||
CONFIG_MXC_UART=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Liebherr"
|
||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_DWC_AHSATA=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_DWC_AHSATA=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -27,6 +27,7 @@ CONFIG_NAND=y
|
|||
CONFIG_NAND_MXC=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
CONFIG_FDT_FIXUP_PARTITIONS=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -30,5 +30,6 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
CONFIG_NETDEVICES=y
|
||||
CONFIG_E1000=y
|
||||
CONFIG_CMD_E1000=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -30,5 +30,6 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
CONFIG_NETDEVICES=y
|
||||
CONFIG_E1000=y
|
||||
CONFIG_CMD_E1000=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -30,5 +30,6 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
CONFIG_NETDEVICES=y
|
||||
CONFIG_E1000=y
|
||||
CONFIG_CMD_E1000=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -20,4 +20,5 @@ CONFIG_NETDEVICES=y
|
|||
CONFIG_SMC911X=y
|
||||
CONFIG_SMC911X_BASE=0xa8000000
|
||||
CONFIG_SMC911X_32_BIT=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_VIDEO=y
|
||||
|
|
|
@ -22,6 +22,7 @@ CONFIG_DM=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -11,3 +11,4 @@ CONFIG_ENV_IS_IN_FLASH=y
|
|||
CONFIG_MXC_GPIO=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_MXC_SPI=y
|
||||
|
|
|
@ -23,3 +23,4 @@ CONFIG_NETDEVICES=y
|
|||
CONFIG_SMC911X=y
|
||||
CONFIG_SMC911X_BASE=0xB6000000
|
||||
CONFIG_SMC911X_32_BIT=y
|
||||
CONFIG_MXC_SPI=y
|
||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_NAND_MXC=y
|
|||
CONFIG_NETDEVICES=y
|
||||
CONFIG_SMC911X=y
|
||||
CONFIG_SMC911X_BASE=0xB6000000
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
|
|||
CONFIG_CMD_DATE=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_NAND_MXS=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=y
|
||||
|
|
|
@ -53,6 +53,7 @@ CONFIG_SPI_FLASH=y
|
|||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_DM_REGULATOR=y
|
|||
CONFIG_DM_REGULATOR_PFUZE100=y
|
||||
CONFIG_DM_REGULATOR_FIXED=y
|
||||
CONFIG_DM_REGULATOR_GPIO=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_DM_REGULATOR=y
|
|||
CONFIG_DM_REGULATOR_PFUZE100=y
|
||||
CONFIG_DM_REGULATOR_FIXED=y
|
||||
CONFIG_DM_REGULATOR_GPIO=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
|
|
|
@ -50,6 +50,7 @@ CONFIG_DM_REGULATOR=y
|
|||
CONFIG_DM_REGULATOR_PFUZE100=y
|
||||
CONFIG_DM_REGULATOR_FIXED=y
|
||||
CONFIG_DM_REGULATOR_GPIO=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -56,5 +56,6 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -56,5 +56,6 @@ CONFIG_PHY_MICREL=y
|
|||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_FEC_MXC=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -22,6 +22,7 @@ CONFIG_DM=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_DM_THERMAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_PHY_MICREL_KSZ90X1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -15,4 +15,5 @@ CONFIG_CMD_PING=y
|
|||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -31,3 +31,4 @@ CONFIG_NAND=y
|
|||
CONFIG_NAND_MXC=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_MXC_SPI=y
|
||||
|
|
|
@ -42,3 +42,4 @@ CONFIG_NAND=y
|
|||
CONFIG_NAND_MXC=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PHY_MICREL=y
|
||||
CONFIG_MXC_SPI=y
|
||||
|
|
|
@ -31,4 +31,5 @@ CONFIG_ENV_IS_IN_MMC=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -30,4 +30,5 @@ CONFIG_ENV_IS_IN_MMC=y
|
|||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -263,6 +263,12 @@ config MPC8XX_SPI
|
|||
help
|
||||
Enable support for SPI on MPC8XX
|
||||
|
||||
config MXC_SPI
|
||||
bool "MXC SPI Driver"
|
||||
help
|
||||
Enable the MXC SPI controller driver. This driver can be used
|
||||
on various i.MX SoCs such as i.MX31/35/51/6/7.
|
||||
|
||||
config MXS_SPI
|
||||
bool "MXS SPI Driver"
|
||||
help
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
|
||||
/* Serial Flash */
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#define CONFIG_FEC_MXC_PHYADDR 0
|
||||
|
||||
#define CONFIG_SPI_FLASH_MTD
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
|
||||
#define CONFIG_SYS_SPI_ST_ENABLE_WP_PIN
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#define CONFIG_SPI_FLASH
|
||||
#define CONFIG_SPI_FLASH_STMICRO
|
||||
#define CONFIG_SPI_FLASH_SST
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
|
||||
|
|
|
@ -148,7 +148,6 @@
|
|||
|
||||
/* SPI Flash support */
|
||||
#define CONFIG_SPI
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -175,7 +175,6 @@
|
|||
|
||||
/* SPI */
|
||||
#define CONFIG_SPI
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
/* NAND */
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
|
|
|
@ -89,7 +89,6 @@
|
|||
|
||||
/* SPI Flash Configs */
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 25000000
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
|
||||
/* SPI NOR Flash */
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 1
|
||||
#define CONFIG_SF_DEFAULT_CS (0 | (IMX_GPIO_NR(5, 29) << 8))
|
||||
#define CONFIG_SF_DEFAULT_SPEED 50000000
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
|
||||
|
||||
/* Commands */
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 3
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
|
||||
#define CONFIG_SYS_SPD_BUS_NUM 2 /* I2C3 */
|
||||
#define CONFIG_SYS_MXC_I2C3_SLAVE 0xfe
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
/*
|
||||
* UART (console)
|
||||
|
|
|
@ -92,7 +92,6 @@
|
|||
|
||||
/* Serial Flash */
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
|
||||
/* SPI */
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SPI_FLASH_MTD
|
||||
#define CONFIG_SPI_FLASH_BAR
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
|
|
|
@ -147,7 +147,6 @@
|
|||
/* EET platform additions */
|
||||
#ifdef CONFIG_TARGET_IMX31_PHYCORE_EET
|
||||
#define CONFIG_HARD_SPI
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
#define CONFIG_S6E63D6
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#define CONFIG_SYS_MEMTEST_START 0x10000000
|
||||
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 500 * SZ_1M)
|
||||
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 2
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 25000000
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||
|
||||
#define CONFIG_HARD_SPI 1
|
||||
#define CONFIG_MXC_SPI 1
|
||||
#define CONFIG_DEFAULT_SPI_BUS 1
|
||||
#define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_0 | SPI_CS_HIGH)
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||
|
||||
#define CONFIG_HARD_SPI
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_DEFAULT_SPI_BUS 1
|
||||
#define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_0 | SPI_CS_HIGH)
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
|
||||
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
|
||||
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
/*
|
||||
* PMIC Configs
|
||||
|
|
|
@ -36,12 +36,6 @@
|
|||
#define CONFIG_MXC_UART
|
||||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||
|
||||
/*
|
||||
* SPI Configs
|
||||
* */
|
||||
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
/* PMIC Controller */
|
||||
#define CONFIG_POWER
|
||||
#define CONFIG_POWER_SPI
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#define CONFIG_PHY_ATHEROS
|
||||
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -148,7 +148,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#define CONFIG_MXC_UART_BASE UART2_BASE
|
||||
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 25000000
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
/* SF Configs */
|
||||
#define CONFIG_SPI
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 2
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 25000000
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#define CONFIG_FEC_MXC_PHYADDR 3
|
||||
|
||||
/* SPI Flash */
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 0
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#define CONFIG_FEC_MXC_PHYADDR 3
|
||||
|
||||
/* SPI Flash */
|
||||
#define CONFIG_MXC_SPI
|
||||
#define CONFIG_SF_DEFAULT_BUS 2
|
||||
#define CONFIG_SF_DEFAULT_CS 0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 20000000
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
|
||||
#define CONFIG_MXC_UART
|
||||
|
||||
/* SPI */
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
/* SPI Flash */
|
||||
|
||||
#define TQMA6_SPI_FLASH_SECTOR_SIZE SZ_64K
|
||||
|
|
|
@ -38,10 +38,4 @@
|
|||
#define CONFIG_SYS_BOOTCOUNT_ADDR IRAM_BASE_ADDR
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
/*
|
||||
* Remove all unused interfaces / commands that are defined in
|
||||
* the common header tqms6.h
|
||||
*/
|
||||
#undef CONFIG_MXC_SPI
|
||||
|
||||
#endif /* __CONFIG_TQMA6_WRU4_H */
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
* SPI Configs
|
||||
* */
|
||||
#define CONFIG_HARD_SPI /* puts SPI: ready */
|
||||
#define CONFIG_MXC_SPI /* driver for the SPI controllers*/
|
||||
|
||||
/*
|
||||
* MMC Configs
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
|
||||
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
|
||||
#define CONFIG_SYS_SPD_BUS_NUM 0
|
||||
#define CONFIG_MXC_SPI
|
||||
|
||||
/* PMIC Controller */
|
||||
#define CONFIG_POWER
|
||||
|
|
|
@ -1427,7 +1427,6 @@ CONFIG_MXC_MCI_REGS_BASE
|
|||
CONFIG_MXC_NAND_HWECC
|
||||
CONFIG_MXC_NAND_IP_REGS_BASE
|
||||
CONFIG_MXC_NAND_REGS_BASE
|
||||
CONFIG_MXC_SPI
|
||||
CONFIG_MXC_UART_BASE
|
||||
CONFIG_MXC_USB_FLAGS
|
||||
CONFIG_MXC_USB_PORT
|
||||
|
|
Loading…
Reference in a new issue