mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
29 lines
462 B
C
29 lines
462 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
|