summaryrefslogtreecommitdiff
path: root/common/spl/spl_ext.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2017-01-06 13:35:45 -0600
committerTom Rini <trini@konsulko.com>2017-01-20 15:37:59 -0500
commit5d28b930f237540382a111b6b990a1738b2f3483 (patch)
tree282f0c5eb270fbe7f83fa2635070d75c7b08c5e4 /common/spl/spl_ext.c
parentcec85d4e002d9b6aa0f98bec50e9fa09dd013cdd (diff)
downloadu-boot-imx-5d28b930f237540382a111b6b990a1738b2f3483.zip
u-boot-imx-5d28b930f237540382a111b6b990a1738b2f3483.tar.gz
u-boot-imx-5d28b930f237540382a111b6b990a1738b2f3483.tar.bz2
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: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl/spl_ext.c')
-rw-r--r--common/spl/spl_ext.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c
index 1b8e15e..f17c6b9 100644
--- a/common/spl/spl_ext.c
+++ b/common/spl/spl_ext.c
@@ -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