
2 Feb
2013
2 Feb
'13
1:44 a.m.
2013.02.01. 23:48 keltezéssel, Daniel Schwierzeck írta:
/* U-boot entry point */
b reset
nop
.org 0x10
#ifdef CONFIG_SYS_XWAY_EBU_BOOTCFG
The .org should be within the ifdef. Although it does not change the generated binary code, but logically it would be a more correct place. Sorry, I should have mentioned that in the previous mail.
-Gabor
I think we should keep it outside. If we add qemu-malta, then we get another #if branch.
Ok, it does not really matter now. The .org can be moved into the ifdef later when there will be a board which needs some other magic value at 0x14 for example.
I also would like to move some register inits (watch, timer, status) to slightly reduce binary size.
Hm, do you want to initialize those registers between the reserved vectors?
-Gabor