zephyr/soc/st/stm32
Miguel Gazquez 3408694960 drivers: memc: fix Kconfig option MEMC_STM32
This commit fixes a bug with the declaration of the Kconfig option
MEMC_STM32.

The option is defined in two files:
- `drivers/memc/Kconfig.stm32`, wich depends on
   - `MEMC`
   - `DT_HAS_ST_STM32_FMC_ENABLED`
-`soc/st/stm32/Kconfig.defconfig`, wich depends on
   - `MEMC`
   - `SOC_FAMILY_STM32`

So, if you have `CONFIG_MEMC=y` in your Kconfig options and you are on a
STM32 SoC, `CONFIG_MEMC_STM32` will be enabled, even if there is no
STM32 FMC enabled.

This Kconfig option causes the driver for the STM32 FMC to be compiled,
regardless of the presence of an enabled node for the FMC.
However, the driver fails to compile if there is no FMC node in the
devicetree. So, if you compile a project with `CONFIG_MEMC=y` on a board
with an STM32 SoC and no enabled FMC, the build will fail.

This commit deletes the Kconfig declaration in the `Kconfig.defconfig`,
as it isn't useful and is the one provoking the bug.
It also add in the `Kconfig.stm32` the compatible `st,stm32h7-fmc`, wich
use the same driver and so need to be enabled by the same Kconfig
option.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2024-07-05 18:43:06 +02:00
..
common soc: stm32: config DBGMCU register writing for SWO configuration 2024-06-18 15:52:10 +02:00
stm32c0x soc: stm32c0 Enable ART acceleration 2024-06-13 08:05:04 -04:00
stm32f0x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32f1x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32f2x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32f3x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32f4x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32f7x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32g0x
stm32g4x soc: stm32g4: Enable ART acceleration 2024-06-13 08:05:04 -04:00
stm32h5x soc: st: stm32: add stm32h533xx support 2024-06-05 17:36:43 -05:00
stm32h7rsx soc: arm: stm32h7RS introduce stm32h7R/h7S devices 2024-06-06 00:41:43 -07:00
stm32h7x soc: stm32h7: m4: Always enable hardware semaphore clock 2024-06-10 16:56:59 +03:00
stm32l0x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32l1x soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
stm32l4x soc: st: stm32: complete wkup pins cfg before poweroff 2024-06-05 17:35:55 -05:00
stm32l5x
stm32mp1x llext: add support for SLID-based linking 2024-06-03 15:29:34 -04:00
stm32u5x soc: st: Add support for STOP3 on STM32U5 2024-06-15 04:44:26 -04:00
stm32wbax soc/st/stm32/st32wbax: STM32WBA55 BLE Ext Adv Fix 2024-07-01 09:04:32 -04:00
stm32wbx soc: stm32: stm32wb: Enable ART accelerations 2024-06-13 08:05:04 -04:00
stm32wlx soc: stm32: Enable prefecth when missing 2024-06-13 08:05:04 -04:00
CMakeLists.txt
Kconfig soc: st: stm32 common soc config introduce stm32h7R/h7S devices 2024-06-06 00:41:43 -07:00
Kconfig.defconfig drivers: memc: fix Kconfig option MEMC_STM32 2024-07-05 18:43:06 +02:00
Kconfig.soc
soc.yml soc: arm: stm32h7RS introduce stm32h7R/h7S devices 2024-06-06 00:41:43 -07:00