global: Migrate CONFIG_ENV_FLAGS_LIST_STATIC to CFG
Perform a simple rename of CONFIG_ENV_FLAGS_LIST_STATIC to CFG_ENV_FLAGS_LIST_STATIC Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
42119de8b5
commit
acf29d8ccb
6
README
6
README
@ -1066,7 +1066,7 @@ The following options need to be configured:
|
|||||||
The same can be accomplished in a more flexible way
|
The same can be accomplished in a more flexible way
|
||||||
for any variable by configuring the type of access
|
for any variable by configuring the type of access
|
||||||
to allow for those variables in the ".flags" variable
|
to allow for those variables in the ".flags" variable
|
||||||
or define CONFIG_ENV_FLAGS_LIST_STATIC.
|
or define CFG_ENV_FLAGS_LIST_STATIC.
|
||||||
|
|
||||||
- Protected RAM:
|
- Protected RAM:
|
||||||
CONFIG_PRAM
|
CONFIG_PRAM
|
||||||
@ -1405,7 +1405,7 @@ Configuration Settings:
|
|||||||
Use buffered writes to flash.
|
Use buffered writes to flash.
|
||||||
|
|
||||||
- CONFIG_ENV_FLAGS_LIST_DEFAULT
|
- CONFIG_ENV_FLAGS_LIST_DEFAULT
|
||||||
- CONFIG_ENV_FLAGS_LIST_STATIC
|
- CFG_ENV_FLAGS_LIST_STATIC
|
||||||
Enable validation of the values given to environment variables when
|
Enable validation of the values given to environment variables when
|
||||||
calling env set. Variables can be restricted to only decimal,
|
calling env set. Variables can be restricted to only decimal,
|
||||||
hexadecimal, or boolean. If CONFIG_CMD_NET is also defined,
|
hexadecimal, or boolean. If CONFIG_CMD_NET is also defined,
|
||||||
@ -1436,7 +1436,7 @@ Configuration Settings:
|
|||||||
Define this to a list (string) to define the ".flags"
|
Define this to a list (string) to define the ".flags"
|
||||||
environment variable in the default or embedded environment.
|
environment variable in the default or embedded environment.
|
||||||
|
|
||||||
- CONFIG_ENV_FLAGS_LIST_STATIC
|
- CFG_ENV_FLAGS_LIST_STATIC
|
||||||
Define this to a list (string) to define validation that
|
Define this to a list (string) to define validation that
|
||||||
should be done if an entry is not found in the ".flags"
|
should be done if an entry is not found in the ".flags"
|
||||||
environment variable. To override a setting in the static
|
environment variable. To override a setting in the static
|
||||||
|
@ -418,7 +418,7 @@
|
|||||||
|
|
||||||
/* UBI support */
|
/* UBI support */
|
||||||
|
|
||||||
#define CONFIG_ENV_FLAGS_LIST_STATIC "ethaddr:mw,serial#:sw,board_type:sw," \
|
#define CFG_ENV_FLAGS_LIST_STATIC "ethaddr:mw,serial#:sw,board_type:sw," \
|
||||||
"sysnum:dw,panel:sw,ipaddr:iw,serverip:iw"
|
"sysnum:dw,panel:sw,ipaddr:iw,serverip:iw"
|
||||||
|
|
||||||
#endif /* __ARISTAINETOS2_CONFIG_H */
|
#endif /* __ARISTAINETOS2_CONFIG_H */
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
"save_env=env save; env save\0" \
|
"save_env=env save; env save\0" \
|
||||||
"altbootcmd=run handle_ustate; run switch_bootset; run save_env; run bootcmd\0"
|
"altbootcmd=run handle_ustate; run switch_bootset; run save_env; run bootcmd\0"
|
||||||
|
|
||||||
#define CONFIG_ENV_FLAGS_LIST_STATIC \
|
#define CFG_ENV_FLAGS_LIST_STATIC \
|
||||||
"bootset:bw," \
|
"bootset:bw," \
|
||||||
"clone_pending:bw," \
|
"clone_pending:bw," \
|
||||||
"endurance_test:bw," \
|
"endurance_test:bw," \
|
||||||
|
@ -35,8 +35,8 @@ enum env_flags_varaccess {
|
|||||||
#define ENV_FLAGS_VARTYPE_LOC 0
|
#define ENV_FLAGS_VARTYPE_LOC 0
|
||||||
#define ENV_FLAGS_VARACCESS_LOC 1
|
#define ENV_FLAGS_VARACCESS_LOC 1
|
||||||
|
|
||||||
#ifndef CONFIG_ENV_FLAGS_LIST_STATIC
|
#ifndef CFG_ENV_FLAGS_LIST_STATIC
|
||||||
#define CONFIG_ENV_FLAGS_LIST_STATIC ""
|
#define CFG_ENV_FLAGS_LIST_STATIC ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_NET
|
#ifdef CONFIG_NET
|
||||||
@ -87,7 +87,7 @@ enum env_flags_varaccess {
|
|||||||
NET_FLAGS \
|
NET_FLAGS \
|
||||||
NET6_FLAGS \
|
NET6_FLAGS \
|
||||||
SERIAL_FLAGS \
|
SERIAL_FLAGS \
|
||||||
CONFIG_ENV_FLAGS_LIST_STATIC
|
CFG_ENV_FLAGS_LIST_STATIC
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_ENV_FLAGS
|
#ifdef CONFIG_CMD_ENV_FLAGS
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user