blob: 0969c6fa73cfafcbe32498d5ae17562596d46ad7 [file] [log] [blame]
Daniel DeGrasse6aaa2b52022-02-16 13:53:54 -06001# Copyright 2022 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig SDHC
Henrik Brix Andersenc41dd362023-03-27 14:55:23 +02005 bool "Secure Digital High Capacity (SDHC) drivers"
Daniel DeGrasse6aaa2b52022-02-16 13:53:54 -06006 help
7 Include drivers for SD host controller
8
9if SDHC
10
11source "drivers/sdhc/Kconfig.imx"
Daniel DeGrassea3182ce2022-04-01 15:27:08 -050012source "drivers/sdhc/Kconfig.spi"
Daniel DeGrasse04773862022-05-06 18:22:46 -050013source "drivers/sdhc/Kconfig.mcux_sdif"
Daniel DeGrasse6aaa2b52022-02-16 13:53:54 -060014
15config SDHC_INIT_PRIORITY
16 int "SDHC driver init priority"
17 default 85
18 help
19 SDHC driver system init priority
20
21config 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
30config 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
36config 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
42config 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
48module = SDHC
49module-str = sdhc
50source "subsys/logging/Kconfig.template.log_config"
51
52
53endif # SDHC