2020-11-01 20:48:15 +01:00
|
|
|
# Copyright (c) 2020 Teslabs Engineering S.L.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-06-14 19:18:03 +02:00
|
|
|
DT_COMPAT_ST_STM32_FMC := st,stm32-fmc
|
|
|
|
|
2020-11-01 20:48:15 +01:00
|
|
|
config MEMC_STM32
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "STM32 Flexible Memory Controller (FMC)"
|
2021-06-14 19:18:03 +02:00
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_FMC))
|
2020-11-01 20:48:15 +01:00
|
|
|
help
|
|
|
|
Enable STM32 Flexible Memory Controller.
|
|
|
|
|
|
|
|
DT_COMPAT_ST_STM32_FMC_SDRAM := st,stm32-fmc-sdram
|
|
|
|
|
|
|
|
config MEMC_STM32_SDRAM
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "STM32 FMC SDRAM controller"
|
2020-11-01 20:48:15 +01:00
|
|
|
depends on MEMC_STM32
|
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_FMC_SDRAM))
|
|
|
|
select USE_STM32_LL_FMC
|
|
|
|
select USE_STM32_HAL_SDRAM
|
|
|
|
help
|
|
|
|
Enable STM32 FMC SDRAM controller.
|