riscv: use new-style CBFS header lookup
commit7effaa4c02d974b59bd86307a54cefb7bb046a3a
authorPatrick Georgi <patrick@georgi-clan.de>
Fri, 17 Apr 2015 20:40:53 +0000 (17 22:40 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Sat, 18 Apr 2015 07:21:08 +0000 (18 09:21 +0200)
tree477cdd17eba7b3c4706bf610f5effb232391556c
parent42001a7051e8fcfedccaba17438a032e1ac72ed1
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)
src/arch/riscv/bootblock.S
src/arch/riscv/rom_media.c