mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
drm/nouveau/secboot: fix WPR region alignment
A WPR region smaller than 256K will result in secure boot failure. Adjust the minimal size. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
3e8fbe3191
commit
098ee77224
1 changed files with 2 additions and 2 deletions
|
|
@ -381,8 +381,8 @@ acr_r352_ls_write_wpr(struct acr_r352 *acr, struct list_head *imgs,
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Both size and address of WPR need to be 128K-aligned */
|
||||
#define WPR_ALIGNMENT 0x20000
|
||||
/* Both size and address of WPR need to be 256K-aligned */
|
||||
#define WPR_ALIGNMENT 0x40000
|
||||
/**
|
||||
* acr_r352_prepare_ls_blob() - prepare the LS blob
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue