soc: nxp: mcx: MCXNx4x: update SOC to use flash_k4 driver
Use flash_k4 driver for internal flash instead of ROM API driver. One benefit is the flash program phrase size decreases from 128 Bytes to 16 Bytes. 16 Byte phrases enables this SOC to leverage the Zephyr NVS subsystem, and the MCUboot swap mode. Signed-off-by: Derek Snell <derek.snell@nxp.com> Conflicts: west.yml
This commit is contained in:
parent
6681f8d342
commit
1fd24fbdbb
4 changed files with 8 additions and 5 deletions
|
@ -24,8 +24,12 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|||
default 16000 if MCUX_LPTMR_TIMER
|
||||
default 150000000 if CORTEX_M_SYSTICK
|
||||
|
||||
config MCUX_FLASH_K4_API
|
||||
default y if (SOC_MCXN947 || SOC_MCXN547) # Initially, only Nx4x uses the k4 driver
|
||||
|
||||
# Set to the minimal size of data which can be written.
|
||||
config FLASH_FILL_BUFFER_SIZE
|
||||
default 16 if (SOC_MCXN947 || SOC_MCXN547) # Initially, only Nx4x uses the k4 driver
|
||||
default 128
|
||||
|
||||
# The existing SAI diver cannot initialize the PLL on the board,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue