security/vboot: Remove buffer_size from struct vboot_working_data
Since buffer_size is no longer used, remove it from struct vboot_working_data. BRANCH=none BUG=chromium:1021452 TEST=emerge-kukui coreboot Change-Id: Ie770e89b4a45e0ec703d5bbb8fb6a298ce915056 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36844 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Patrick Georgi
parent
a0e1e596f8
commit
ea544574d0
@ -227,7 +227,14 @@ static void lb_vboot_workbuf(struct lb_header *header)
|
||||
vbwb->tag = LB_TAG_VBOOT_WORKBUF;
|
||||
vbwb->size = sizeof(*vbwb);
|
||||
vbwb->range_start = (uintptr_t)wd + wd->buffer_offset;
|
||||
vbwb->range_size = wd->buffer_size;
|
||||
/*
|
||||
* TODO(chromium:1021452): Since cbmem size of vboot workbuf is now
|
||||
* always a known value, we hardcode the value of range_size here.
|
||||
* Ultimately we'll want to move this to add_cbmem_pointers() below,
|
||||
* but we'll have to get rid of the vboot_working_data struct first.
|
||||
*/
|
||||
vbwb->range_size = VB2_KERNEL_WORKBUF_RECOMMENDED_SIZE -
|
||||
wd->buffer_offset;
|
||||
}
|
||||
|
||||
__weak uint32_t board_id(void) { return UNDEFINED_STRAPPING_ID; }
|
||||
|
Reference in New Issue
Block a user