Files
luban-lite-t3e-pro/packages/artinchip/env/env.h
刘可亮 aaa66c7b20 V1.0.1
2023-11-09 20:19:51 +08:00

29 lines
434 B
C

/*
* Copyright (c) 2023, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
* Authors: xuan.wen <xuan.wen@artinchip.com>
*/
#ifndef __ENV_H__
#define __ENV_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <boot_param.h>
int fw_env_open(void);
int fw_env_close(void);
int fw_env_flush(void);
int fw_env_write(char *name, char *value);
char *fw_getenv(char *name);
#ifdef __cplusplus
}
#endif
#endif