Skip to content

Commit 51c88a8

Browse files
Christophe Kerellomiquelraynal
authored andcommitted
mtd: rawnand: stm32_fmc2: use regmap APIs
This patch uses regmap APIs to access all FMC2 registers. Signed-off-by: Christophe Kerello <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 66b8173 commit 51c88a8

File tree

2 files changed

+127
-143
lines changed

2 files changed

+127
-143
lines changed

drivers/mtd/nand/raw/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ config MTD_NAND_TEGRA
415415
config MTD_NAND_STM32_FMC2
416416
tristate "Support for NAND controller on STM32MP SoCs"
417417
depends on MACH_STM32MP157 || COMPILE_TEST
418+
select REGMAP
419+
select REGMAP_MMIO
418420
help
419421
Enables support for NAND Flash chips on SoCs containing the FMC2
420422
NAND controller. This controller is found on STM32MP SoCs.

0 commit comments

Comments
 (0)