arch: arm: smem: add onfi nand support

Change-Id: Ic603a9bb946fd033e51a8af39cfabe1b64c27d9f
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
This commit is contained in:
Sridharan S N 2023-09-20 22:55:07 +05:30
parent 1068e67e2a
commit 884e14bf22

View file

@ -1180,6 +1180,7 @@ int check_flash_exceed(struct smem_ptn *p, uint32_t offset, uint32_t psize) {
fsize = get_spi_flash_size(); fsize = get_spi_flash_size();
break; break;
#ifdef CONFIG_CMD_NAND #ifdef CONFIG_CMD_NAND
case SMEM_BOOT_NAND_FLASH:
case SMEM_BOOT_QSPI_NAND_FLASH: case SMEM_BOOT_QSPI_NAND_FLASH:
fsize = nand_info[CONFIG_QPIC_NAND_NAND_INFO_IDX].size; fsize = nand_info[CONFIG_QPIC_NAND_NAND_INFO_IDX].size;
break; break;