This is starting to look like some type of problem related to linking. I'll try and describe what I've found:
= Method 1 (WORKS)
I took the previous get_sys_clkin_sel function from overo.c and added it back where it previously was (ie just befre the prcm_init function). This of course would cause a symbol collision, so I renamed the function to get_sys_clkin_sela
This boots and works, unless I remove the logic from the function.
= Method 2 (FAILS)
I took the same get_sys_clkin_sel function above and appended it to the end of the file and again named it get_sys_clkin_sela. This would not boot.
I'm using Natty with:
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.5.2-8ubuntu3) 4.5.2
This is starting to look like some type of problem related to linking. I'll try and describe what I've found:
= Method 1 (WORKS)
I took the previous get_sys_clkin_sel function from overo.c and added it back where it previously was (ie just befre the prcm_init function). This of course would cause a symbol collision, so I renamed the function to get_sys_clkin_sela
This boots and works, unless I remove the logic from the function.
= Method 2 (FAILS)
I took the same get_sys_clkin_sel function above and appended it to the end of the file and again named it get_sys_clkin_sela. This would not boot.
I'm using Natty with: gnueabi- gcc (Ubuntu/Linaro 4.5.2-8ubuntu3) 4.5.2
arm-linux-