1# Copyright (c) 2023 Intel Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4config CDNS_SDHC 5 bool "CDNS SDHC" 6 default y 7 depends on DT_HAS_CDNS_SDHC_ENABLED 8 select SDHC_SUPPORTS_NATIVE_MODE 9 help 10 Enable Cadence SDMMC Host Controller. 11 12if CDNS_SDHC 13 14# Cadence SDHC DMA needs 64 bit aligned buffers 15config SDHC_BUFFER_ALIGNMENT 16 default 8 17 18config CDNS_DESC_COUNT 19 int "Allocate number of descriptors" 20 default 8 21 help 22 SD host controllers require DMA preparation for read and write operation. 23 Creates static descriptors which can be used by ADMA. Devices should 24 configure this flag if they require to transfer more than 8*64Kb of data. 25 26endif # CDNS_SDHC 27