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:
parent
3e58ac76e9
commit
681698ec89
|
@ -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.
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue