aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-10-22 15:47:17 +0200
committerSimon Glass <sjg@chromium.org>2021-10-31 12:26:44 -0600
commita73c1f006ce89e362120bba5fa980ebb52f96283 (patch)
tree4b882c834f6882a7db93c5c9cf5b526e93bd9959
parent4735de4ffce0d3698222f31206bc82120c07a52e (diff)
downloadu-boot-a73c1f006ce89e362120bba5fa980ebb52f96283.zip
u-boot-a73c1f006ce89e362120bba5fa980ebb52f96283.tar.gz
u-boot-a73c1f006ce89e362120bba5fa980ebb52f96283.tar.bz2
env: nvram: Cosmetic fix in env_nvram_init()
Use spaces consistently in assignments instead of tabs. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--env/nvram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/nvram.c b/env/nvram.c
index 297573c..fb26523 100644
--- a/env/nvram.c
+++ b/env/nvram.c
@@ -87,10 +87,10 @@ static int env_nvram_init(void)
nvram_read(data, CONFIG_ENV_ADDR + sizeof(ulong), ENV_SIZE);
if (crc32(0, data, ENV_SIZE) == crc) {
- gd->env_addr = (ulong)CONFIG_ENV_ADDR + sizeof(long);
+ gd->env_addr = (ulong)CONFIG_ENV_ADDR + sizeof(long);
#else
if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
- gd->env_addr = (ulong)&env_ptr->data;
+ gd->env_addr = (ulong)&env_ptr->data;
#endif
gd->env_valid = ENV_VALID;
} else {