summaryrefslogtreecommitdiff
path: root/components/drivers/sdio/Kconfig
blob: a532d7084e62406167b30926040326b4d32e8b30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
menuconfig RT_USING_SDIO
    bool "Using SD/MMC device drivers"
    select RT_USING_BLK
    default n
    help
      Enable the SDIO/MMC host stack so SD cards and eMMC devices can be
      enumerated and exposed as block devices. Requires the block layer and an
      SDIO host controller driver.

    if RT_USING_SDIO
        config RT_SDIO_STACK_SIZE
            int "The stack size for sdio irq thread"
            default IDLE_THREAD_STACK_SIZE
            help
              Stack size for the SDIO interrupt handler thread; increase if your
              controller driver performs complex processing in IRQ context.

        config RT_SDIO_THREAD_PRIORITY
            int "The priority level value of sdio irq thread"
            default 15
            help
              Scheduler priority assigned to the SDIO IRQ thread.

        config RT_MMCSD_STACK_SIZE
            int "The stack size for mmcsd thread"
            default IDLE_THREAD_STACK_SIZE
            help
              Stack size for the mmc/sd management thread that handles requests.

        config RT_MMCSD_THREAD_PRIORITY
            int "The priority level value of mmcsd thread"
            default 22
            help
              Priority for the mmc/sd management thread; tune relative to other
              storage tasks.

        config RT_MMCSD_MAX_PARTITION
            int "mmcsd max partition"
            default 16
            help
              Maximum number of partitions to scan on an SD/MMC device.
        config RT_SDIO_DEBUG
            bool "Enable SDIO debug log output"
            default n
            help
              Print verbose SDIO/MMC driver logs for debugging.
        config RT_USING_SDHCI
            bool "Using sdhci for sd/mmc drivers"
            default n
            help
              Build the SD Host Controller Interface (SDHCI) compatible driver.
              Enable when your controller follows the SDHCI specification.
        endif

if RT_USING_DM && RT_USING_SDIO
    rsource "host/Kconfig"
endif