[PATCH] ARM: OMAP: xload: Fix compile without CONFIG_MTD

Alexander Shiyan eagle.alexander923 at gmail.com
Thu Jun 2 01:59:05 PDT 2022


Hello.

It's just the result of the my master branch not being updated
from remote before I made the changes... Sorry :)

чт, 2 июн. 2022 г. в 11:07, Ahmad Fatoum <a.fatoum at pengutronix.de>:
> On 01.06.22 09:14, Alexander Shiyan wrote:
> > arm-linux-ld: arch/arm/mach-omap/xload.o: in function read_mtd_barebox':
> > /home/ARM/barebox/arch/arm/mach-omap/xload.c:75: undefined reference to mtd_peb_read_file'
>
> Am I missing something or does this patch just change
>
>   if (0) {
>     return NULL;
>   }
>
>   /* something */;
>   return to;
>
> into
>
>   if (0) {
>     /* something */
>     return to;
>   }
>   return NULL;
>
>
> This shouldn't really make a difference. How old is your GCC?



More information about the barebox mailing list