]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env: sf: Cosmetic fix in env_sf_init_addr()
authorMarek Behún <marek.behun@nic.cz>
Fri, 22 Oct 2021 13:47:12 +0000 (15:47 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
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>
env/sf.c

index e4b7ca9e0462f5771c7e0a675c29c9d46c07f676..4096e183874012025459f8530d88d56432d46f0d 100644 (file)
--- 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;