diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-10-22 15:47:12 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-10-31 12:26:44 -0600 |
commit | 9ab30d2bafa0ee98e9048afcb575b6013f933f3c (patch) | |
tree | 271856f35be413c220c780fc57d34042ebfe4002 /env | |
parent | 58772283210e15f8d803db4aa67c877d668db867 (diff) | |
download | u-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |