diff options
author | Kah Jing Lee <kah.jing.lee@intel.com> | 2023-01-05 13:25:15 +0800 |
---|---|---|
committer | Kah Jing Lee <96226927+kahjingl90@users.noreply.github.com> | 2023-01-06 11:46:57 +0800 |
commit | 123cc7934a82d162d6d505339ca8efb11e170030 (patch) | |
tree | 730ac5e022ebac8592d8c9f5863206e0a67821a8 | |
parent | 232f1384f6f151c1b9d5d587dffd887c72a9a7ad (diff) | |
download | u-boot-socfpga-socfpga_v2022.07.tar.gz |
env: fat: Fix warning for unused function get_env_filenamerel_socfpga_v2022.07_23.05.01_prrel_socfpga_v2022.07_23.04.02_prrel_socfpga_v2022.07_23.04.01_prrel_socfpga_v2022.07_23.03.03_prrel_socfpga_v2022.07_23.03.02_prrel_socfpga_v2022.07_23.03.01_prrel_socfpga_v2022.07_23.02.02_prrel_socfpga_v2022.07_23.02.01_prrel_socfpga_v2022.07_23.01.02_prQPDS22.4_REL_GSRD_PRsocfpga_v2022.07
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
@@ -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) { |