X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=common%2Fspl%2Fspl_ext.c;h=a42fbd009b5125428b927eeccf97bf52b20d4deb;hb=9cddb4fe0266484aab9babdd2ebe650021644ea9;hp=9d37fd352113dab7459a66fa9a90066bfe08f328;hpb=fc9b0b80435cda721fbdbe507c9e4f388b0ea62b;p=oweals%2Fu-boot.git diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index 9d37fd3521..a42fbd009b 100644 --- a/common/spl/spl_ext.c +++ b/common/spl/spl_ext.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #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