riscv: use new-style CBFS header lookup
We recently restructured where the CBFS header is stored and how it is looked up, with less magic. The RISC-V port didn't get the memo, so have it follow the pack now. Change-Id: Ic27e3e7f9acd55027e357f2c4beddf960ea02c4d Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/9795 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
This commit is contained in:
committed by
Patrick Georgi
parent
42001a7051
commit
7effaa4c02
@@ -58,25 +58,6 @@ _start:
|
||||
.stack_size:
|
||||
.quad 0xf00
|
||||
|
||||
.globl _cbfs_master_header
|
||||
_cbfs_master_header:
|
||||
.balignl 16,0xdeadbeef
|
||||
.align 8
|
||||
// this assembler SUCKS
|
||||
.long 0x4F524243
|
||||
.long 0xdeadbeef
|
||||
.long 0xdeadbeef
|
||||
.long 0xdeadbeef
|
||||
.long 0xdeadbeef
|
||||
.long 0xdeadbeef
|
||||
.long 0xdeadbeef
|
||||
/* The CBFS master header is inserted by cbfstool at the first
|
||||
* aligned offset after the above anchor string is found.
|
||||
* Hence, we leave some space for it.
|
||||
* Assumes 64-byte alignment.
|
||||
*/
|
||||
.space 128
|
||||
|
||||
reset:
|
||||
init_stack_loop:
|
||||
|
||||
|
Reference in New Issue
Block a user