Files
luban-lite/bsp/peripheral/spinand/inc/manufacturer.h
刘可亮 564e22b32f v0.7.5
2023-08-28 09:48:01 +08:00

21 lines
463 B
C

/*
* Copyright (c) 2023, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
* Authors: xuan.wen <xuan.wen@artinchip.com>
*/
#include "spinand.h"
struct spinand_manufacturer_ops {
const struct aic_spinand_info *(*detect)(struct aic_spinand *flash);
int (*init)(struct aic_spinand *flash);
void (*cleanup)(void);
};
struct spinand_manufacturer {
u8 id;
char *name;
const struct spinand_manufacturer_ops *ops;
};