diff options
author | Kah Jing Lee <kah.jing.lee@intel.com> | 2023-01-05 13:25:15 +0800 |
---|---|---|
committer | Lokanathan, Raaj <raaj.lokanathan@intel.com> | 2023-01-06 15:54:05 +0800 |
commit | 1ef4ec0511452900bbb486b5d5cb7deb09c08009 (patch) | |
tree | d06a4f8d35395cf62fd05dd252e1f77b21b37140 | |
parent | 54b13d11cb4e2e56948925eb3079eab3ff37d99e (diff) | |
download | u-boot-socfpga-1ef4ec0511452900bbb486b5d5cb7deb09c08009.tar.gz |
env: fat: Fix warning for unused function get_env_filename
Commit <a5091a719e>: Fix warning for unused function get_env_filename when
CONFIG_SOCFPGA_RSU_MULTIBOOT is not set.
Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
-rw-r--r-- | env/fat.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,6 +60,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; @@ -72,6 +73,7 @@ static int get_env_filename(char *env_file, bool redund) return 0; } +#endif static int env_fat_save(void) { |