2020-03-21 14:01:56 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_BOARD_ARTY_A7
|
|
|
|
|
2023-03-29 08:04:50 +08:00
|
|
|
|
|
|
|
config LITEX_SDIO
|
|
|
|
bool "SDIO"
|
|
|
|
default n
|
|
|
|
select SCHED_HPWORK
|
|
|
|
select MMCSD
|
|
|
|
select MMCSD_SDIO
|
|
|
|
select SDIO_BLOCKSETUP
|
|
|
|
select ARCH_HAVE_SDIO
|
|
|
|
select SDIO_DMA
|
|
|
|
|
|
|
|
config LITEX_SDIO1
|
|
|
|
bool "Enable SDIO1"
|
2023-07-16 01:04:21 +08:00
|
|
|
default LITEX_SDIO
|
2023-03-29 08:04:50 +08:00
|
|
|
select LITEX_SDIO_DMA
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
|
|
|
|
config LITEX_IDMODE_FREQ
|
|
|
|
int "ID mode frequency"
|
|
|
|
default 400000
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
---help---
|
|
|
|
Initial, ID mode SD frequency
|
|
|
|
|
|
|
|
config LITEX_MMCXFR_FREQ
|
|
|
|
int "MMC transfer frequency"
|
|
|
|
default 25000000
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
---help---
|
|
|
|
Frequency to use for transferring data to/from an MMC card
|
|
|
|
|
|
|
|
config LITEX_SD4BIT_FREQ
|
|
|
|
int "SD 4-bit transfer frequency"
|
|
|
|
default 50000000
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
---help---
|
|
|
|
Frequency to use for transferring data to/from an SD card using all four data lines.
|
|
|
|
|
2022-03-24 12:39:34 +08:00
|
|
|
config LITEX_SDIO_MOUNT
|
|
|
|
bool "Mount SDIO at startup"
|
|
|
|
default n
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
|
|
|
|
config LITEX_SDIO_MOUNT_BLKDEV
|
|
|
|
string "SDIO block device name"
|
|
|
|
default "/dev/mmcsd0"
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
|
|
|
|
config LITEX_SDIO_MOUNT_MOUNTPOINT
|
|
|
|
string "SDIO mountpoint"
|
|
|
|
default "/mnt"
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
|
|
|
|
config LITEX_SDIO_MOUNT_FSTYPE
|
|
|
|
string "SDIO file system type"
|
|
|
|
default "vfat"
|
|
|
|
depends on LITEX_SDIO
|
|
|
|
|
2023-03-28 07:08:51 +08:00
|
|
|
config LITEX_APPLICATION_RAMDISK
|
|
|
|
bool "Use application ramdisk"
|
|
|
|
depends on BUILD_KERNEL
|
|
|
|
---help---
|
2023-11-08 19:15:38 +08:00
|
|
|
The application ramdisk is currently only intended only to hold
|
2023-03-28 07:08:51 +08:00
|
|
|
application elfs in the romfs format. These applications must loaded
|
|
|
|
externally into ram through litex_term, or similar method.
|
|
|
|
|
2023-11-08 19:15:38 +08:00
|
|
|
endif # ARCH_BOARD_ARTY_A7
|