[PATCH 06/14] env: nvram: Cosmetic fix in env_nvram_init()
Marek Behún
kabel at kernel.org
Fri Oct 22 15:47:17 CEST 2021
From: Marek Behún <marek.behun at nic.cz>
Use spaces consistently in assignments instead of tabs.
Signed-off-by: Marek Behún <marek.behun at nic.cz>
---
env/nvram.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/env/nvram.c b/env/nvram.c
index 297573c4ed..fb265235af 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 {
--
2.32.0
More information about the U-Boot
mailing list