driver: flash: add flash driver for the RV32M1 SOC

Add driver and device tree for the flash controller for the RV32M1 SOC

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
This commit is contained in:
Lyle Zhu 2019-05-22 23:07:50 +08:00 committed by Maureen Helm
parent 3e58ac76e9
commit 681698ec89
2 changed files with 8 additions and 0 deletions

View File

@ -15,3 +15,10 @@ config HAS_RV32M1_LPI2C
bool
help
Set if the low power i2c (LPI2C) module is present in the SoC.
config HAS_RV32M1_FTFX
bool
help
Set if the flash memory (FTFA, FTFE, or FTFL) module is present in
the SoC.

View File

@ -3,3 +3,4 @@ zephyr_include_directories(.)
zephyr_sources(fsl_clock.c)
zephyr_sources_ifdef(CONFIG_UART_RV32M1_LPUART fsl_lpuart.c)
zephyr_sources_ifdef(CONFIG_I2C_RV32M1_LPI2C fsl_lpi2c.c)
zephyr_sources_ifdef(CONFIG_SOC_FLASH_RV32M1 fsl_flash.c)