mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
I did not enable SDMA when I added sdhci-cadence support because LD20 boards are equipped with a large amount memory beyond 32 bit address range, but SDMA does not support the 64bit address. U-Boot relocates itself to the end of effectively available RAM. This would make the MMC enumeration fail because the buffer for EXT_CSD allocated in the stack would go too high, then SDMA would fail to transfer data. Recent SDHCI-compatible controllers support ADMA, but unfortunately U-Boot does not support ADMA. In the previous commit, I hided the DRAM area that exceeds the 32 bit address range. Now, I can enable CONFIG_MMC_SDHCI_SDMA. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARM_SMCCC=y
|
|
CONFIG_ARCH_UNIPHIER=y
|
|
CONFIG_SYS_TEXT_BASE=0x84000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_ARCH_UNIPHIER_V8_MULTI=y
|
|
CONFIG_MICRO_SUPPORT_CARD=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld20-ref"
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_LOGLEVEL=6
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_CMD_CONFIG=y
|
|
CONFIG_CMD_IMLS=y
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_TFTPPUT=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIME=y
|
|
# CONFIG_CMD_MISC is not set
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_GPIO_UNIPHIER=y
|
|
CONFIG_MISC=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10
|
|
CONFIG_MMC_UNIPHIER=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_CADENCE=y
|
|
CONFIG_MMC_SDHCI_SDMA=y
|
|
CONFIG_NAND=y
|
|
CONFIG_NAND_DENALI_DT=y
|
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_BASE=0x0
|
|
CONFIG_SMC911X_32_BIT=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_PSCI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
CONFIG_USB_XHCI_DWC3=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_GENERIC=y
|
|
CONFIG_USB_DWC3=y
|
|
CONFIG_USB_DWC3_UNIPHIER=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_PANIC_HANG=y
|