mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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:
parent
1068e67e2a
commit
884e14bf22
1 changed files with 1 additions and 0 deletions
|
|
@ -1180,6 +1180,7 @@ int check_flash_exceed(struct smem_ptn *p, uint32_t offset, uint32_t psize) {
|
|||
fsize = get_spi_flash_size();
|
||||
break;
|
||||
#ifdef CONFIG_CMD_NAND
|
||||
case SMEM_BOOT_NAND_FLASH:
|
||||
case SMEM_BOOT_QSPI_NAND_FLASH:
|
||||
fsize = nand_info[CONFIG_QPIC_NAND_NAND_INFO_IDX].size;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue