You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
670 B
31 lines
670 B
# Copyright (c) 2025 Ambiq Micro Inc. |
|
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
config SDHC_AMBIQ |
|
bool "Ambiq SDHC driver" |
|
default y |
|
depends on DT_HAS_AMBIQ_SDIO_ENABLED |
|
select AMBIQ_HAL |
|
select AMBIQ_HAL_USE_SDIO |
|
select PINCTRL |
|
select GPIO |
|
select SDHC_SUPPORTS_NATIVE_MODE |
|
help |
|
This option enables the SDHC driver for Ambiq Apollo family. |
|
|
|
if SDHC_AMBIQ |
|
|
|
config AMBIQ_SDIO_ASYNC |
|
bool "Ambiq SDIO Async Mode" |
|
default y |
|
depends on DT_HAS_AMBIQ_SDIO_ENABLED |
|
help |
|
This option enables Ambiq SDIO Async Mode. |
|
|
|
config SDHC_BUFFER_ALIGNMENT |
|
default 32 if DCACHE |
|
default 16 |
|
help |
|
SDHC buffer should be 32bytes aligned when placed in cacheable region. |
|
|
|
endif
|
|
|