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.
46 lines
1.6 KiB
46 lines
1.6 KiB
/*
|
|
* Copyright : (C) 2023 Phytium Information Technology, Inc.
|
|
* All Rights Reserved.
|
|
*
|
|
* This program is OPEN SOURCE software: you can redistribute it and/or modify it
|
|
* under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd,
|
|
* either version 1.0 of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY;
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
* See the Phytium Public License for more details.
|
|
*
|
|
*
|
|
* FilePath: sfud_board.h
|
|
* Created Date: 2024-03-21:00:53
|
|
* Last Modified: 2024-03-21 14:57:36
|
|
* Description: This file is for recording the sfud spim config on the e2000q-demo board.
|
|
*
|
|
* Modify History:
|
|
* Ver Who Date Changes
|
|
* ----- ---------- -------- ---------------------------------
|
|
* 1.0 liyilun 2023/03/21 first release
|
|
*/
|
|
|
|
#ifndef SFUD_BOARD_H
|
|
#define SFUD_BOARD_H
|
|
|
|
#define FSPIM0_SFUD_NAME "FSPIM0"
|
|
#define FSPIM1_SFUD_NAME "FSPIM1"
|
|
#define FQSPI0_SFUD_NAME "FQSPI0"
|
|
|
|
enum {
|
|
SFUD_FSPIM0_INDEX = 0,
|
|
SFUD_FSPIM1_INDEX = 1,
|
|
SFUD_FQSPI0_INDEX = 2,
|
|
SFUD_DEVICE_INDEX
|
|
};
|
|
|
|
#define SFUD_FLASH_DEVICE_TABLE_BOARD \
|
|
{ \
|
|
[SFUD_FSPIM0_INDEX] = {.name = "SPI0-FLASH", .spi.name = FSPIM0_SFUD_NAME}, \
|
|
[SFUD_FSPIM1_INDEX] = {.name = "SPI1-FLASH", .spi.name = FSPIM1_SFUD_NAME}, \
|
|
[SFUD_FQSPI0_INDEX] = {.name = "QSPI0-FLASH", .spi.name = FQSPI0_SFUD_NAME} \
|
|
}
|
|
|
|
#endif
|