Commit 9a3d4a6b8470980c4d4f938619a9d34a9282a69c

Authored by Breno Lima
Committed by Ye Li
1 parent cee055d7eb

MLK-20583-2 imx: mx6sabreauto: Enable OCOTP CTRL clock in DCD and plugin

The HAB code can not set Field Return and SRK Revoke sticky bits in case
OCOTP CTRL clock is gated out.

In case we disable OCOTP CTRL clock in DCD and plugin those features may
not operate as expected.

Keep OCOTP CTRL clock enabled in DCD and plugin so HAB can propely lock
those features, users should use the CSF Unlock command to prevent those
features from being locked.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 2ee4bd12140fa9a29ad1a7cb5016b78e4a4077f1)

Showing 5 changed files with 5 additions and 5 deletions Side-by-side Diff

board/freescale/mx6sabreauto/imximage.cfg
... ... @@ -143,7 +143,7 @@
143 143 /* set the default clock gate to save power */
144 144 DATA 4 0x020c4068 0x00C03F3F
145 145 DATA 4 0x020c406c 0x0030FC03
146   -DATA 4 0x020c4070 0x0FFFC000
  146 +DATA 4 0x020c4070 0x0FFFF000
147 147 DATA 4 0x020c4074 0x3FF00000
148 148 DATA 4 0x020c4078 0xFFFFF300
149 149 DATA 4 0x020c407c 0x0F0000F3
board/freescale/mx6sabreauto/mx6dl.cfg
... ... @@ -144,7 +144,7 @@
144 144 /* set the default clock gate to save power */
145 145 DATA 4 0x020c4068 0x00C03F3F
146 146 DATA 4 0x020c406c 0x0030FC03
147   -DATA 4 0x020c4070 0x0FFFC000
  147 +DATA 4 0x020c4070 0x0FFFF000
148 148 DATA 4 0x020c4074 0x3FF00000
149 149 DATA 4 0x020c4078 0xFFFFF300
150 150 DATA 4 0x020c407c 0x0F0000C3
board/freescale/mx6sabreauto/mx6qp.cfg
... ... @@ -147,7 +147,7 @@
147 147 /* set the default clock gate to save power */
148 148 DATA 4, 0x020c4068, 0x00C03F3F
149 149 DATA 4, 0x020c406c, 0x0030FC03
150   -DATA 4, 0x020c4070, 0x0FFFC000
  150 +DATA 4, 0x020c4070, 0x0FFFF000
151 151 DATA 4, 0x020c4074, 0x3FF00000
152 152 DATA 4, 0x020c4078, 0xFFFFF300
153 153 DATA 4, 0x020c407c, 0x0F0000F3
board/freescale/mx6sabreauto/mx6solo.cfg
... ... @@ -120,7 +120,7 @@
120 120 /* set the default clock gate to save power */
121 121 DATA 4, 0x020c4068, 0x00C03F3F
122 122 DATA 4, 0x020c406c, 0x0030FC03
123   -DATA 4, 0x020c4070, 0x0FFFC000
  123 +DATA 4, 0x020c4070, 0x0FFFF000
124 124 DATA 4, 0x020c4074, 0x3FF00000
125 125 DATA 4, 0x020c4078, 0xFFFFF300
126 126 DATA 4, 0x020c407c, 0x0F0000C3
board/freescale/mx6sabreauto/plugin.S
... ... @@ -621,7 +621,7 @@
621 621 str r1, [r0, #0x068]
622 622 ldr r1, =0x0030FC03
623 623 str r1, [r0, #0x06c]
624   - ldr r1, =0x0FFFC000
  624 + ldr r1, =0x0FFFF000
625 625 str r1, [r0, #0x070]
626 626 ldr r1, =0x3FF00000
627 627 str r1, [r0, #0x074]