diff options
| author | Marek BehĂșn <[email protected]> | 2021-10-22 15:47:14 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-10-31 12:26:44 -0600 |
| commit | af8149e9ac40dbb596fb2f5b72b82feb54476f68 (patch) | |
| tree | a721bd34238d22cea6f6983d769da08be63524e1 /scripts/const_structs.checkpatch | |
| parent | 87221bd66c2646671450ca8eb97007f2d6e01c5c (diff) | |
env: sf: Put ENV_INVALID into gd->env_valid on CRC failure
env_sf_init_addr() says the environment is valid even if it is assigning
default environment due to CRC failure. Change this to ENV_INVALID and
let the generic env_init() function, which calls this initializer,
assign the default environment.
Signed-off-by: Marek BehĂșn <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
