board: ls1043ardb: Modify pin-muxing code for USB and QE-HDLC
[oweals/u-boot.git] / common / spl / spl_ext.c
index 9d37fd352113dab7459a66fa9a90066bfe08f328..a42fbd009b5125428b927eeccf97bf52b20d4deb 100644 (file)
@@ -6,6 +6,7 @@
 #include <spl.h>
 #include <asm/u-boot.h>
 #include <ext4fs.h>
+#include <errno.h>
 #include <image.h>
 
 #ifdef CONFIG_SPL_EXT_SUPPORT
@@ -135,5 +136,10 @@ defaults:
        return spl_load_image_ext(block_dev, partition,
                        CONFIG_SPL_FS_LOAD_KERNEL_NAME);
 }
+#else
+int spl_load_image_ext_os(block_dev_desc_t *block_dev, int partition)
+{
+       return -ENOSYS;
+}
 #endif
 #endif