[U-Boot] mx53loco: compilation broken with 2015.01-rc2

Guillaume Gardet guillaume.gardet at free.fr
Wed Nov 26 10:50:24 CET 2014


Hi,

mx53loco_defconfig is broken in 2015.01-rc2 (was ok with -rc1).

I have the following warning:
drivers/block/dwc_ahsata.c: In function 'reset_sata':
drivers/block/dwc_ahsata.c:611:2: warning: implicit declaration of function 'disable_sata_clock' [-Wimplicit-function-declaration]

And finally this error:
drivers/built-in.o: In function `reset_sata':
/home/abuild/rpmbuild/BUILD/u-boot-2015.01-rc2/drivers/block/dwc_ahsata.c:611: undefined reference to `disable_sata_clock'
ld.bfd: BFD (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1 assertion fail ../../bfd/elf32-arm.c:7696
ld.bfd: error: required section '.rel.plt' not found in the linker script
ld.bfd: final link failed: Invalid operation
Makefile:1066: recipe for target 'u-boot' failed


Commit 10ee8ecafbb4405ac77f6df081325630617aa7cd : "sata: implement reset_sata for dwc_ahsata" is probably the problem.
mx6 is fixed by commit 8d29cef5887887157f54f98493440ce5c824d5cb : "arm: mx6: introduce disable_sata_clock", but nothing for mx5.


Guillaume




More information about the U-Boot mailing list