Files
luban-lite-t3e-pro/bsp/artinchip/include/drv/fal_cfg.h
刘可亮 803cac77d5 V1.0.6
2024-09-03 11:16:08 +08:00

37 lines
1.1 KiB
C

/*
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
* Authors: xuan.wen <xuan.wen@artinchip.com>
*/
#ifndef _FAL_CFG_H_
#define _FAL_CFG_H_
#include <rtconfig.h>
#include <board.h>
#include <partition_table.h>
#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_ */