mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
arm: mvebu: db-88f6820-gp: Add MMC/SDIO support
This patch adds MMC/SDIO support to the Marvell DB-88F6820-GP board configuration. Including support for the common partitions and filesystems. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
This commit is contained in:

committed by
Luka Perkov

parent
7f1adcd74f
commit
e80f1e85d6
@ -29,7 +29,12 @@
|
|||||||
#define CONFIG_CMD_CACHE
|
#define CONFIG_CMD_CACHE
|
||||||
#define CONFIG_CMD_DHCP
|
#define CONFIG_CMD_DHCP
|
||||||
#define CONFIG_CMD_ENV
|
#define CONFIG_CMD_ENV
|
||||||
|
#define CONFIG_CMD_EXT2
|
||||||
|
#define CONFIG_CMD_EXT4
|
||||||
|
#define CONFIG_CMD_FAT
|
||||||
|
#define CONFIG_CMD_FS_GENERIC
|
||||||
#define CONFIG_CMD_I2C
|
#define CONFIG_CMD_I2C
|
||||||
|
#define CONFIG_CMD_MMC
|
||||||
#define CONFIG_CMD_PING
|
#define CONFIG_CMD_PING
|
||||||
#define CONFIG_CMD_SF
|
#define CONFIG_CMD_SF
|
||||||
#define CONFIG_CMD_SPI
|
#define CONFIG_CMD_SPI
|
||||||
@ -48,6 +53,23 @@
|
|||||||
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
|
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
|
||||||
#define CONFIG_SPI_FLASH_STMICRO
|
#define CONFIG_SPI_FLASH_STMICRO
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SDIO/MMC Card Configuration
|
||||||
|
*/
|
||||||
|
#define CONFIG_MMC
|
||||||
|
#define CONFIG_MMC_SDMA
|
||||||
|
#define CONFIG_GENERIC_MMC
|
||||||
|
#define CONFIG_SDHCI
|
||||||
|
#define CONFIG_MV_SDHCI
|
||||||
|
#define CONFIG_SYS_MMC_BASE MVEBU_SDIO_BASE
|
||||||
|
|
||||||
|
/* Partition support */
|
||||||
|
#define CONFIG_DOS_PARTITION
|
||||||
|
#define CONFIG_EFI_PARTITION
|
||||||
|
|
||||||
|
/* Additional FS support/configuration */
|
||||||
|
#define CONFIG_SUPPORT_VFAT
|
||||||
|
|
||||||
/* Environment in SPI NOR flash */
|
/* Environment in SPI NOR flash */
|
||||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||||
#define CONFIG_ENV_OFFSET (1 << 20) /* 1MiB in */
|
#define CONFIG_ENV_OFFSET (1 << 20) /* 1MiB in */
|
||||||
|
Reference in New Issue
Block a user