1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-11 07:16:20 +01:00
Files
u-boot-megous/drivers/misc
Peng Fan f8b95731ff imx: ocotp: support i.MX6ULL
i.MX6ULL has two 128 bits fuse banks, bank 7 and bank 8,
while other banks use 256 bits. So we have to adjust the
word and bank index when accessing the bank 8.

When in command line `fuse read 8 0 1`, you can image
`fuse read 7 4 1` in the ocotp driver implementation for 6ULL.

When programming, we use word index, so need to fix bank7/8 programming
for i.mx6ull.

For example: fuse prog 8 3 1; The word index is (8 << 3 | 3) --> 67.
But actully it should be (7 << 3 | 7) ---> 63.
So fix it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2016-10-04 15:41:00 +02:00
..
2016-01-19 08:31:21 -05:00
2015-04-23 16:46:50 -07:00
2015-10-23 12:15:28 -04:00
2016-07-22 09:52:59 -04:00
2016-09-27 09:11:02 -07:00
2016-09-27 09:11:02 -07:00
2016-08-12 11:01:22 -06:00
2016-10-04 15:41:00 +02:00
2016-08-15 10:26:12 -07:00