Files
luban-lite/bsp/artinchip/include/drv_bare/efuse.h

30 lines
543 B
C
Raw Normal View History

2023-11-09 20:19:51 +08:00
/*
2025-01-08 19:12:06 +08:00
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
2023-11-09 20:19:51 +08:00
*
* SPDX-License-Identifier: Apache-2.0
*
* Authors: Xiong Hao <hao.xiong@artinchip.com>
*/
#ifndef _AIC_EFUSE_H__
#define _AIC_EFUSE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <aic_core.h>
int efuse_init(void);
int efuse_read(u32 addr, void *data, u32 size);
2024-06-04 19:00:30 +08:00
int efuse_read_chip_id(void *data);
2023-11-09 20:19:51 +08:00
int efuse_program(u32 addr, const void *data, u32 size);
2025-01-08 19:12:06 +08:00
int sjtag_auth(u32 *key, u32 kwlen);
int szone_auth(u32 *key, u32 kwlen);
2023-11-09 20:19:51 +08:00
#ifdef __cplusplus
}
#endif
#endif