drivers: flash: npcx: add setting of low flash device

This commit adds functions to select the low flash device and set the
size of the low flash device.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
This commit is contained in:
Tom Chang 2024-09-27 17:43:30 +08:00 committed by Benjamin Cabé
commit 5c62097bda
5 changed files with 77 additions and 0 deletions

View file

@ -38,6 +38,7 @@
/* NPCX4 FIU register fields */
#define NPCX_FIU_EXT_CFG_SPI1_2DEV 6
#define NPCX_FIU_EXT_CFG_LOW_DEV_NUM 7
/* NPCX4 supported group mask of DEVALT_LK */
#define NPCX_DEVALT_LK_GROUP_MASK \