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