You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
686 B
25 lines
686 B
#ifndef SFUD_BOARD_H
|
|
#define SFUD_BOARD_H
|
|
|
|
#include "fparameters.h"
|
|
|
|
|
|
#define FSPIM0_SFUD_NAME "FSPIM0"
|
|
#define FSPIM1_SFUD_NAME "FSPIM1"
|
|
#define FSPIM2_SFUD_NAME "FSPIM2"
|
|
#define FSPIM3_SFUD_NAME "FSPIM3"
|
|
#define FQSPI0_SFUD_NAME "FQSPI0"
|
|
|
|
enum {
|
|
SFUD_FSPIM2_INDEX = 0,
|
|
SFUD_FQSPI0_INDEX = 1,
|
|
SFUD_DEVICE_INDEX
|
|
};
|
|
|
|
#define SFUD_FLASH_DEVICE_TABLE_BOARD \
|
|
{ \
|
|
[SFUD_FSPIM2_INDEX] = {.name = "SPI2-FLASH", .spi.name = FSPIM2_SFUD_NAME}, \
|
|
[SFUD_FQSPI0_INDEX] = {.name = "QSPI0-FLASH", .spi.name = FQSPI0_SFUD_NAME} \
|
|
}
|
|
|
|
#endif
|
|
|