2020-03-21 07:01:56 +01: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 02:04:50 +02: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
|
|
|
|
|
2024-05-27 10:47:45 +02:00
|
|
|
if LITEX_SDIO
|
|
|
|
|
2023-03-29 02:04:50 +02:00
|
|
|
config LITEX_SDIO1
|
|
|
|
bool "Enable SDIO1"
|
2023-07-15 19:04:21 +02:00
|
|
|
default LITEX_SDIO
|
2023-03-29 02:04:50 +02:00
|
|
|
select LITEX_SDIO_DMA
|
|
|
|
|
|
|
|
config LITEX_IDMODE_FREQ
|
|
|
|
int "ID mode frequency"
|
|
|
|
default 400000
|
|
|
|
---help---
|
|
|
|
Initial, ID mode SD frequency
|
|
|
|
|
|
|
|
config LITEX_MMCXFR_FREQ
|
|
|
|
int "MMC transfer frequency"
|
|
|
|
default 25000000
|
|
|
|
---help---
|
|
|
|
Frequency to use for transferring data to/from an MMC card
|
|
|
|
|
|
|
|
config LITEX_SD4BIT_FREQ
|
|
|
|
int "SD 4-bit transfer frequency"
|
|
|
|
default 50000000
|
|
|
|
---help---
|
|
|
|
Frequency to use for transferring data to/from an SD card using all four data lines.
|
|
|
|
|
2022-03-24 05:39:34 +01:00
|
|
|
config LITEX_SDIO_MOUNT
|
|
|
|
bool "Mount SDIO at startup"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LITEX_SDIO_MOUNT_BLKDEV
|
|
|
|
string "SDIO block device name"
|
|
|
|
default "/dev/mmcsd0"
|
|
|
|
|
|
|
|
config LITEX_SDIO_MOUNT_MOUNTPOINT
|
|
|
|
string "SDIO mountpoint"
|
|
|
|
default "/mnt"
|
|
|
|
|
|
|
|
config LITEX_SDIO_MOUNT_FSTYPE
|
|
|
|
string "SDIO file system type"
|
|
|
|
default "vfat"
|
2024-05-27 10:47:45 +02:00
|
|
|
|
|
|
|
endif # LITEX_SDIO
|
2022-03-24 05:39:34 +01:00
|
|
|
|
2023-03-28 01:08:51 +02:00
|
|
|
config LITEX_APPLICATION_RAMDISK
|
|
|
|
bool "Use application ramdisk"
|
|
|
|
depends on BUILD_KERNEL
|
|
|
|
---help---
|
2023-11-08 12:15:38 +01:00
|
|
|
The application ramdisk is currently only intended only to hold
|
2023-03-28 01:08:51 +02:00
|
|
|
application elfs in the romfs format. These applications must loaded
|
|
|
|
externally into ram through litex_term, or similar method.
|
|
|
|
|
2023-11-08 12:15:38 +01:00
|
|
|
endif # ARCH_BOARD_ARTY_A7
|