zephyr: boards: Add files needed for NXP FRDM MCXN947 QSPI variant

1. set BOOT_MAX_IMG_SECTORS value for frmd_mcxn947_qspi. W25Q64 flash on the board
   is very large (8MB), so we must increase the number of max sectors when
   targeting this board with MCUboot.
2. Set the zephyr,flash chosen node to point to internal flash as this board
   supports booting from internal flash only.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2024-04-25 09:42:12 -05:00 committed by Jamie
parent 2dcbabcb2c
commit 45d379e715
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# Copyright 2023 NXP
# SPDX-License-Identifier: Apache-2.0
CONFIG_BOOT_MAX_IMG_SECTORS=1024

View File

@ -0,0 +1,12 @@
/*
* Copyright 2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,flash = &flash;
};
};