Commit e80f1e85d6010ca9d19edf2ec333cf30af6cbbd0
Committed by
Luka Perkov
1 parent
7f1adcd74f
Exists in
v2017.01-smarct4x
and in
34 other branches
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>
Showing 1 changed file with 22 additions and 0 deletions Side-by-side Diff
include/configs/db-88f6820-gp.h
... | ... | @@ -29,7 +29,12 @@ |
29 | 29 | #define CONFIG_CMD_CACHE |
30 | 30 | #define CONFIG_CMD_DHCP |
31 | 31 | #define CONFIG_CMD_ENV |
32 | +#define CONFIG_CMD_EXT2 | |
33 | +#define CONFIG_CMD_EXT4 | |
34 | +#define CONFIG_CMD_FAT | |
35 | +#define CONFIG_CMD_FS_GENERIC | |
32 | 36 | #define CONFIG_CMD_I2C |
37 | +#define CONFIG_CMD_MMC | |
33 | 38 | #define CONFIG_CMD_PING |
34 | 39 | #define CONFIG_CMD_SF |
35 | 40 | #define CONFIG_CMD_SPI |
... | ... | @@ -47,6 +52,23 @@ |
47 | 52 | #define CONFIG_SF_DEFAULT_SPEED 1000000 |
48 | 53 | #define CONFIG_SF_DEFAULT_MODE SPI_MODE_3 |
49 | 54 | #define CONFIG_SPI_FLASH_STMICRO |
55 | + | |
56 | +/* | |
57 | + * SDIO/MMC Card Configuration | |
58 | + */ | |
59 | +#define CONFIG_MMC | |
60 | +#define CONFIG_MMC_SDMA | |
61 | +#define CONFIG_GENERIC_MMC | |
62 | +#define CONFIG_SDHCI | |
63 | +#define CONFIG_MV_SDHCI | |
64 | +#define CONFIG_SYS_MMC_BASE MVEBU_SDIO_BASE | |
65 | + | |
66 | +/* Partition support */ | |
67 | +#define CONFIG_DOS_PARTITION | |
68 | +#define CONFIG_EFI_PARTITION | |
69 | + | |
70 | +/* Additional FS support/configuration */ | |
71 | +#define CONFIG_SUPPORT_VFAT | |
50 | 72 | |
51 | 73 | /* Environment in SPI NOR flash */ |
52 | 74 | #define CONFIG_ENV_IS_IN_SPI_FLASH |