psp_verstage: differentiate bios entry
AMDFW tool stores bios dir entry to bios1_entry in picasso but bios3_entry in cezanne. Separate getting bios_dir_addr into a function and implement it on each platforms. Signed-off-by: Kangheui Won <khwon@chromium.org> Change-Id: Ie18ed7979a04319c074b9b251130d419dc7f22dc Reviewed-on: https://review.coreboot.org/c/coreboot/+/52964 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Martin Roth
parent
a5dae4c4d6
commit
5858fb4e35
@@ -18,3 +18,8 @@ uint32_t get_max_workbuf_size(uint32_t *size)
|
||||
{
|
||||
return svc_get_max_workbuf_size(size);
|
||||
}
|
||||
|
||||
uint32_t get_bios_dir_addr(struct psp_ef_table *ef_table)
|
||||
{
|
||||
return ef_table->bios1_entry;
|
||||
}
|
||||
|
Reference in New Issue
Block a user