Comment 6 for bug 813018

Revision history for this message
Michael Hope (michaelh1) wrote :

I had a quick look at the disassembly of board/overo/overo.c both at fca7cd29b6821df3e7d8c4369522f2a3d01a5d7b and with Andy's work-around of duplicating get_sys_clkin_sel(), calling it get_sys_clkin_sela(), and putting it directly ahead of prcm_init(). I saw no unexplained difference between the two versions of prcm_init().

BTW, I noticed that you're compiling with -marm. Switching to -mthumb shrinks the 23468 byte .bin file to 17668. The binary also includes the fairly expensive optimised for speed versions of __aeabi_uidiv, __aeabi_uidivmod, __aeabi_idiv, __aeabi_idivmod, __aeabi_ldiv0, and __aeabi_idiv0.

Also the -ffixed-r8 seems redundant. u-boot uses this for some type of platform pointer, but it's not used at all in x-load.