Commit 566f63d5cfdf5e706a5f1304a475d35e71cd6065
Committed by
Nobuhiro Iwamatsu
1 parent
7cb30b13f1
Exists in
master
and in
54 other branches
sh: sh7757lcr: add supporting for MMCIF
The sh7757lcr has 2GByte eMMC chip. This patch supports it. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Showing 3 changed files with 17 additions and 0 deletions Side-by-side Diff
board/renesas/sh7757lcr/sh7757lcr.c
doc/README.sh7757lcr
include/configs/sh7757lcr.h
... | ... | @@ -49,6 +49,10 @@ |
49 | 49 | #define CONFIG_CMD_MD5SUM |
50 | 50 | #define CONFIG_MD5 |
51 | 51 | #define CONFIG_CMD_LOADS |
52 | +#define CONFIG_CMD_MMC | |
53 | +#define CONFIG_CMD_EXT2 | |
54 | +#define CONFIG_DOS_PARTITION | |
55 | +#define CONFIG_MAC_PARTITION | |
52 | 56 | |
53 | 57 | #define CONFIG_BAUDRATE 115200 |
54 | 58 | #define CONFIG_BOOTDELAY 3 |
... | ... | @@ -122,6 +126,13 @@ |
122 | 126 | #define CONFIG_SH_SPI_BASE 0xfe002000 |
123 | 127 | #define CONFIG_SPI_FLASH |
124 | 128 | #define CONFIG_SPI_FLASH_STMICRO 1 |
129 | + | |
130 | +/* MMCIF */ | |
131 | +#define CONFIG_MMC 1 | |
132 | +#define CONFIG_GENERIC_MMC 1 | |
133 | +#define CONFIG_SH_MMCIF 1 | |
134 | +#define CONFIG_SH_MMCIF_ADDR 0xffcb0000 | |
135 | +#define CONFIG_SH_MMCIF_CLK 48000000 | |
125 | 136 | |
126 | 137 | /* SH7757 board */ |
127 | 138 | #define SH7757LCR_SDRAM_PHYS_TOP 0x40000000 |