Ronald G. Minnich (rminnich@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2107
-gerrit
commit 3dd53c550020bd0c85ba535ae59e70ff8b8399db Author: Ronald G. Minnich rminnich@gmail.com Date: Fri Jan 4 14:12:09 2013 -0800
Make room for cbfs header in the build.
cbfstool can either blindly write the header at start of image + 16, or look for deadbeef (and skip badbeef)
Change-Id: Iee7ed65170fdf96488d9740c1342305ff13e52de Signed-off-by: Ronald G. Minnich rminnich@gmail.com --- src/arch/armv7/init.S | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-)
diff --git a/src/arch/armv7/init.S b/src/arch/armv7/init.S index 033637e..83e06c4 100644 --- a/src/arch/armv7/init.S +++ b/src/arch/armv7/init.S @@ -34,24 +34,12 @@
.globl _start _start: b reset - ldr pc, _undefined_instruction - ldr pc, _software_interrupt - ldr pc, _prefetch_abort - ldr pc, _data_abort - ldr pc, _not_used - ldr pc, _irq - ldr pc, _fiq -_undefined_instruction: .word _undefined_instruction -_software_interrupt: .word _software_interrupt -_prefetch_abort: .word _prefetch_abort -_data_abort: .word _data_abort -_not_used: .word _not_used -_irq: .word _irq -_fiq: .word _fiq -_pad: .word 0x12345678 /* now 16*4=64 */ - - .balignl 16,0xdeadbeef - + .balignl 16, 0xbadbeef + /* here is where cbfstool will put the cbfs master header */ +_cbfs: .word 0xdeadbeef, 0xdeadbeef, 0xdeadbeef, 0xdeadbeef + .word 0xdeadbeef, 0xdeadbeef, 0xdeadbeef, 0xdeadbeef + .word 0xdeadbeef, 0xdeadbeef, 0xdeadbeef, 0xdeadbeef + .word 0xdeadbeef, 0xdeadbeef, 0xdeadbeef, 0xdeadbeef reset: /* * set the cpu to SVC32 mode