summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-10-22 15:47:12 +0200
committerSimon Glass <sjg@chromium.org>2021-10-31 12:26:44 -0600
commit9ab30d2bafa0ee98e9048afcb575b6013f933f3c (patch)
tree271856f35be413c220c780fc57d34042ebfe4002 /env
parent58772283210e15f8d803db4aa67c877d668db867 (diff)
downloadu-boot-9ab30d2bafa0ee98e9048afcb575b6013f933f3c.tar.gz
u-boot-9ab30d2bafa0ee98e9048afcb575b6013f933f3c.tar.bz2
u-boot-9ab30d2bafa0ee98e9048afcb575b6013f933f3c.zip
env: sf: Cosmetic fix in env_sf_init_addr()
In the if clause we use tabs and in the else clause spaces. Let's use spaces in the if clause too. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
-rw-r--r--env/sf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/sf.c b/env/sf.c
index e4b7ca9e04..4096e18387 100644
--- a/env/sf.c
+++ b/env/sf.c
@@ -338,8 +338,8 @@ static int env_sf_init_addr(void)
env_t *env_ptr = (env_t *)env_sf_get_env_addr();
if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
- gd->env_addr = (ulong)&(env_ptr->data);
- gd->env_valid = 1;
+ gd->env_addr = (ulong)&(env_ptr->data);
+ gd->env_valid = 1;
} else {
gd->env_addr = (ulong)&default_environment[0];
gd->env_valid = 1;