boards: mimxrt595_evk_cm33: Remove FLASH_SIZE setting

Remove FLASH_SIZE setting, as this is now set from the SOC level via the
flash chosen node. Also, correct the flash controller node to the flash
device that implements flash support

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-08-26 13:07:22 -05:00 committed by Carles Cufí
parent 54ea741a65
commit 2e49ca986e
2 changed files with 1 additions and 3 deletions

View file

@ -10,8 +10,6 @@ config BOARD
config FLASH_MCUX_FLEXSPI_MX25UM51345G
default y if FLASH
config FLASH_SIZE
default $(dt_node_int_prop_int,/soc/spi@134000/mx25um51345g@0,size,Kb)
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH

View file

@ -28,7 +28,7 @@
};
chosen {
zephyr,flash-controller = &flexspi;
zephyr,flash-controller = &mx25um51345g;
zephyr,flash = &mx25um51345g;
zephyr,code-partition = &slot0_partition;
zephyr,sram = &sram0;