| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Copyright (C) 2018 Synopsys, Inc. All rights reserved. |
| * Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> |
| #ifndef __BOARD_ENV_LIB_H |
| #define __BOARD_ENV_LIB_H |
| #include <linux/kernel.h> |
| const char *const env_name; |
| const char *const env_name; |
| void envs_cleanup_common(const struct env_map_common *map); |
| int envs_read_common(const struct env_map_common *map); |
| int envs_validate_common(const struct env_map_common *map); |
| int envs_read_validate_common(const struct env_map_common *map); |
| void envs_cleanup_core(const struct env_map_percpu *map); |
| int envs_read_validate_core(const struct env_map_percpu *map, |
| int envs_process_and_validate(const struct env_map_common *common, |
| const struct env_map_percpu *core, |
| int args_envs_enumerate(const struct env_map_common *map, |
| int enum_by, int argc, char *const argv[]); |
| #endif /* __BOARD_ENV_LIB_H */ |