28 lines
874 B
Plaintext
28 lines
874 B
Plaintext
|
|
|
||
|
|
--------------------------------------------
|
||
|
|
SOCFPGA Documentation for U-Boot and SPL
|
||
|
|
--------------------------------------------
|
||
|
|
|
||
|
|
This README is about U-Boot and SPL support for Altera's ARM Cortex-A9MPCore
|
||
|
|
based SOCFPGA. To know more about the hardware itself, please refer to
|
||
|
|
www.altera.com.
|
||
|
|
|
||
|
|
|
||
|
|
--------------------------------------------
|
||
|
|
socfpga_dw_mmc
|
||
|
|
--------------------------------------------
|
||
|
|
Here are macro and detailed configuration required to enable DesignWare SDMMC
|
||
|
|
controller support within SOCFPGA
|
||
|
|
|
||
|
|
#define CONFIG_GENERIC_MMC
|
||
|
|
-> Enable the generic MMC driver
|
||
|
|
|
||
|
|
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 256
|
||
|
|
-> Using smaller max blk cnt to avoid flooding the limited stack in OCRAM
|
||
|
|
|
||
|
|
#define CONFIG_DWMMC
|
||
|
|
-> Enable the common DesignWare SDMMC controller framework
|
||
|
|
|
||
|
|
#define CONFIG_SOCFPGA_DWMMC
|
||
|
|
-> Enable the SOCFPGA specific driver for DesignWare SDMMC controller
|