/* * Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd * * SPDX-License-Identifier: Apache-2.0 * * Authors: xuan.wen */ #ifndef _FAL_CFG_H_ #define _FAL_CFG_H_ #include #include #include #define NOR_FLASH_DEV_NAME "norflash0" /* ===================== Flash device Configuration ========================= */ extern struct fal_flash_dev nor_flash0; extern struct fal_flash_dev nor_flash1; /* flash device table */ #if defined(AIC_QSPI1_DEVICE_SPINOR) #define FAL_FLASH_DEV_TABLE \ { \ &nor_flash0, \ &nor_flash1, \ } #else #define FAL_FLASH_DEV_TABLE \ { \ &nor_flash0, \ } #endif #endif /* _FAL_CFG_H_ */