diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-05-30 16:06:54 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-06-06 11:23:27 +0200 |
commit | 340b0e3bb6e8808a7e683e030b3c5b5137715041 (patch) | |
tree | 9b8c91aed159eb3cd18ba03f784e1482320bcbee /include/asm-generic | |
parent | 1a6a6e9a168fefc7b73bbe2619d4a0725cfa344a (diff) | |
download | u-boot-imx-340b0e3bb6e8808a7e683e030b3c5b5137715041.zip u-boot-imx-340b0e3bb6e8808a7e683e030b3c5b5137715041.tar.gz u-boot-imx-340b0e3bb6e8808a7e683e030b3c5b5137715041.tar.bz2 |
env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used
Setup flag when default environment are used to be able to
rewrite default distro boot variables based on SoC boot mode.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index f2810a1..0abcbe4 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -141,5 +141,6 @@ typedef struct global_data { #define GD_FLG_SPL_INIT 0x00400 /* spl_init() has been called */ #define GD_FLG_SKIP_RELOC 0x00800 /* Don't relocate */ #define GD_FLG_RECORD 0x01000 /* Record console */ +#define GD_FLG_ENV_DEFAULT 0x02000 /* Default variable flag */ #endif /* __ASM_GENERIC_GBL_DATA_H */ |