Add newline after otp tables for CI check
Signed-off-by: Alphan Ulusoy <alphan@google.com>
diff --git a/hw/ip/otp_ctrl/doc/otp_ctrl_digests.md b/hw/ip/otp_ctrl/doc/otp_ctrl_digests.md
index 088c0e0..7289281 100644
--- a/hw/ip/otp_ctrl/doc/otp_ctrl_digests.md
+++ b/hw/ip/otp_ctrl/doc/otp_ctrl_digests.md
@@ -11,4 +11,4 @@
| [HW_CFG_DIGEST](#Reg_hw_cfg_digest_0) | HW_CFG | yes |
| [SECRET0_DIGEST](#Reg_secret0_digest_0) | SECRET0 | yes |
| [SECRET1_DIGEST](#Reg_secret1_digest_0) | SECRET1 | yes |
-| [SECRET2_DIGEST](#Reg_secret2_digest_0) | SECRET2 | yes |
\ No newline at end of file
+| [SECRET2_DIGEST](#Reg_secret2_digest_0) | SECRET2 | yes |
diff --git a/hw/ip/otp_ctrl/doc/otp_ctrl_mmap.md b/hw/ip/otp_ctrl/doc/otp_ctrl_mmap.md
index efac3b5..b4e8eb3 100644
--- a/hw/ip/otp_ctrl/doc/otp_ctrl_mmap.md
+++ b/hw/ip/otp_ctrl/doc/otp_ctrl_mmap.md
@@ -48,4 +48,4 @@
| | | | 64bit | CREATOR_ROOT_KEY_SHARE1 | 0x780 | 32 |
| | | | 64bit | [SECRET2_DIGEST](#Reg_secret2_digest_0) | 0x7A0 | 8 |
| 7 | LIFE_CYCLE | 88 | 32bit | LC_TRANSITION_CNT | 0x7A8 | 48 |
-| | | | 32bit | LC_STATE | 0x7D8 | 40 |
\ No newline at end of file
+| | | | 32bit | LC_STATE | 0x7D8 | 40 |
diff --git a/hw/ip/otp_ctrl/doc/otp_ctrl_partitions.md b/hw/ip/otp_ctrl/doc/otp_ctrl_partitions.md
index 7f9c5fc..cfe49df 100644
--- a/hw/ip/otp_ctrl/doc/otp_ctrl_partitions.md
+++ b/hw/ip/otp_ctrl/doc/otp_ctrl_partitions.md
@@ -12,4 +12,4 @@
| SECRET0 | yes | yes | yes (Digest) | yes (Digest) | yes | Test unlock tokens. |
| SECRET1 | yes | yes | yes (Digest) | yes (Digest) | yes | SRAM and FLASH scrambling key roots used for scrambling key derivation. |
| SECRET2 | yes | yes | yes (Digest) | yes (Digest) | yes | RMA unlock token and creator root key. |
-| LIFE_CYCLE | no | yes | no | no | yes | Life-cycle related bits. This partition cannot be locked as the life cycle state needs to be able to advance to RMA in-field. Note that while this partition is not marked secret (i.e. it is not scrambled) it is not readable nor writeable via the DAI. Only the LC controller can access this partition, and even via the LC controller it is not possible to read the raw manufacturing life cycle state in encoded form, since that encoding is considered a netlist secret. The LC controller only exposes a decoded version of this state. |
\ No newline at end of file
+| LIFE_CYCLE | no | yes | no | no | yes | Life-cycle related bits. This partition cannot be locked as the life cycle state needs to be able to advance to RMA in-field. Note that while this partition is not marked secret (i.e. it is not scrambled) it is not readable nor writeable via the DAI. Only the LC controller can access this partition, and even via the LC controller it is not possible to read the raw manufacturing life cycle state in encoded form, since that encoding is considered a netlist secret. The LC controller only exposes a decoded version of this state. |
diff --git a/util/design/gen-otp-mmap.py b/util/design/gen-otp-mmap.py
index e01b0a6..7985575 100755
--- a/util/design/gen-otp-mmap.py
+++ b/util/design/gen-otp-mmap.py
@@ -77,14 +77,15 @@
with open(PARTITIONS_TABLE_FILE, 'w') as outfile:
outfile.write(TABLE_HEADER_COMMENT +
- otp_mmap.create_partitions_table())
+ otp_mmap.create_partitions_table() + '\n')
with open(DIGESTS_TABLE_FILE, 'w') as outfile:
outfile.write(TABLE_HEADER_COMMENT +
- otp_mmap.create_digests_table())
+ otp_mmap.create_digests_table() + '\n')
with open(MMAP_TABLE_FILE, 'w') as outfile:
- outfile.write(TABLE_HEADER_COMMENT + otp_mmap.create_mmap_table())
+ outfile.write(TABLE_HEADER_COMMENT + otp_mmap.create_mmap_table() +
+ '\n')
# render all templates
for template in TEMPLATES: