board: ti: sec-cfg.yaml: Fix OTP write_host_id order
The write_host_id is the last element here and order does matter. This may have gone unnoticed before as by default all elements are 0, but if this is updated to a different host, it will not work. Update the order so write_host_id is the last element in all current secure board configs. Reported-by: Prashant Shivhare <p-shivhare@ti.com> Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
-
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
-
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -247,7 +247,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -345,6 +344,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
-
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
-
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -249,7 +249,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -347,6 +346,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
@@ -248,7 +248,6 @@ sec-cfg:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- # 1
|
||||
host_id: 0
|
||||
@@ -346,6 +345,7 @@ sec-cfg:
|
||||
- # 32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
write_host_id: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
|
Reference in New Issue
Block a user