Daniel DeGrasse | 6aaa2b5 | 2022-02-16 13:53:54 -0600 | [diff] [blame] | 1 | # Copyright 2022 NXP |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | menuconfig SDHC |
Henrik Brix Andersen | c41dd36 | 2023-03-27 14:55:23 +0200 | [diff] [blame] | 5 | bool "Secure Digital High Capacity (SDHC) drivers" |
Daniel DeGrasse | 6aaa2b5 | 2022-02-16 13:53:54 -0600 | [diff] [blame] | 6 | help |
| 7 | Include drivers for SD host controller |
| 8 | |
| 9 | if SDHC |
| 10 | |
| 11 | source "drivers/sdhc/Kconfig.imx" |
Daniel DeGrasse | a3182ce | 2022-04-01 15:27:08 -0500 | [diff] [blame] | 12 | source "drivers/sdhc/Kconfig.spi" |
Daniel DeGrasse | 0477386 | 2022-05-06 18:22:46 -0500 | [diff] [blame] | 13 | source "drivers/sdhc/Kconfig.mcux_sdif" |
Daniel DeGrasse | 6aaa2b5 | 2022-02-16 13:53:54 -0600 | [diff] [blame] | 14 | |
| 15 | config SDHC_INIT_PRIORITY |
| 16 | int "SDHC driver init priority" |
| 17 | default 85 |
| 18 | help |
| 19 | SDHC driver system init priority |
| 20 | |
| 21 | config SDHC_BUFFER_ALIGNMENT |
| 22 | int |
| 23 | default 1 |
| 24 | help |
| 25 | Some SD host controllers require alignment of their data buffers |
| 26 | in order to DMA to work correctly. Devices should change default of |
| 27 | this value if they require alignment. This represents the alignment |
| 28 | of buffers required in bytes |
| 29 | |
| 30 | config SDHC_SUPPORTS_UHS |
| 31 | bool |
| 32 | help |
| 33 | Selected by host controller driver if UHS support is present. required |
| 34 | to enable UHS portion of protocol stack. |
| 35 | |
| 36 | config SDHC_SUPPORTS_SPI_MODE |
| 37 | bool |
| 38 | help |
| 39 | Selected by host controller driver if SPI mode support is required. |
| 40 | Enables SPI protocol in SD protocol stack |
| 41 | |
| 42 | config SDHC_SUPPORTS_NATIVE_MODE |
| 43 | bool |
| 44 | help |
| 45 | Selected by host controller driver if native SD mode support is |
| 46 | required. Enables native protocol in SD protocol stack. |
| 47 | |
| 48 | module = SDHC |
| 49 | module-str = sdhc |
| 50 | source "subsys/logging/Kconfig.template.log_config" |
| 51 | |
| 52 | |
| 53 | endif # SDHC |