summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--env/fat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/env/fat.c b/env/fat.c
index 46d653b603..c9dfe50449 100644
--- a/env/fat.c
+++ b/env/fat.c
@@ -59,6 +59,7 @@ __weak char *env_fat_get_dev_part(void)
#endif
}
+#if IS_ENABLED(CONFIG_SOCFPGA_RSU_MULTIBOOT)
static int get_env_filename(char *env_file, bool redund)
{
int ret;
@@ -71,6 +72,7 @@ static int get_env_filename(char *env_file, bool redund)
return 0;
}
+#endif
static int env_fat_save(void)
{