Skip to content
Snippets Groups Projects
Commit 5d28b930 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Tom Rini
Browse files

spl: Remove inline ifdef check for EXT and FAT support


These files are only included for build by the make system
when CONFIG_SPL_{EXT,FAT}_SUPPORT is enabled, remove the unneed
checks for these in the source files.

Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent cec85d4e
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@
#include <errno.h>
#include <image.h>
#ifdef CONFIG_SPL_EXT_SUPPORT
int spl_load_image_ext(struct spl_image_info *spl_image,
struct blk_desc *block_dev, int partition,
const char *filename)
......@@ -146,4 +145,3 @@ int spl_load_image_ext_os(struct spl_image_info *spl_image,
return -ENOSYS;
}
#endif
#endif
......@@ -19,7 +19,6 @@
static int fat_registered;
#ifdef CONFIG_SPL_FAT_SUPPORT
static int spl_register_fat_device(struct blk_desc *block_dev, int partition)
{
int err = 0;
......@@ -160,4 +159,3 @@ int spl_load_image_fat_os(struct spl_image_info *spl_image,
return -ENOSYS;
}
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment