mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 14:32:27 -04:00
drm/nouveau/secboot: store ucode offset in base image structure
This allows the bootloader descriptor generation code to not rely on specialized ls_ucode_img structures, making it reusable in other instances. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
5c4e0602d6
commit
48eee549da
@@ -83,6 +83,7 @@ struct ls_ucode_img_desc {
|
||||
* @ucode_desc: loaded or generated map of ucode_data
|
||||
* @ucode_data: firmware payload (code and data)
|
||||
* @ucode_size: size in bytes of data in ucode_data
|
||||
* @ucode_off: offset of the ucode in ucode_data
|
||||
* @sig: signature for this firmware
|
||||
* @sig:size: size of the signature in bytes
|
||||
*
|
||||
@@ -97,6 +98,7 @@ struct ls_ucode_img {
|
||||
struct ls_ucode_img_desc ucode_desc;
|
||||
u8 *ucode_data;
|
||||
u32 ucode_size;
|
||||
u32 ucode_off;
|
||||
|
||||
u8 *sig;
|
||||
u32 sig_size;
|
||||
|
||||
Reference in New Issue
Block a user