Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inline: use the gcc inline version instead of the c99 one.
--- This fixes errors like: make[1]: Entering directory `/home/jeroen/software/u-boot/arch/arm/cpu/armv7/omap-common' arm-linux-gnueabi-ld.bfd -r -o libomap-common.o reset.o timer.o utils.o timer.o: In function `get_tbclk': /home/jeroen/software/u-boot/include/asm/io.h:81: multiple definition of `__raw_writesb' reset.o:/home/jeroen/software/u-boot/include/asm/io.h:81: first defined here timer.o: In function `__udelay': /home/jeroen/software/u-boot/include/asm/io.h:88: multiple definition of `__raw_writesw' reset.o:/home/jeroen/software/u-boot/include/asm/io.h:88: first defined here timer.o: In function `get_ticks': /home/jeroen/software/u-boot/include/asm/io.h:95: multiple definition of `__raw_writesl' reset.o:/home/jeroen/software/u-boot/include/asm/io.h:95: first defined here timer.o: In function `__raw_readsb': /home/jeroen/software/u-boot/include/asm/io.h:102: multiple definition of `__raw_readsb' reset.o:/home/jeroen/software/u-boot/include/asm/io.h:102: first defined here timer.o: In function `__raw_readsw': /home/jeroen/software/u-boot/include/asm/io.h:109: multiple definition of `__raw_readsw' reset.o:/home/jeroen/software/u-boot/include/asm/io.h:109: first defined here timer.o: In function `__raw_readsl': /home/jeroen/software/u-boot/include/asm/io.h:116: multiple definition of `__raw_readsl' reset.o:/home/jeroen/software/u-boot/include/asm/io.h:116: first defined here make[1]: *** [libomap-common.o] Error 1 make[1]: Leaving directory `/home/jeroen/software/u-boot/arch/arm/cpu/armv7/omap-common' make: *** [arch/arm/cpu/armv7/omap-common/libomap-common.o] Error 2
- Loading branch information