i.MX: ocotp: Account for shadow memory gaps
Shadow memory does not have a true 1:1 mapping to fuse address
space. All i.MX6 devices, with exception of i.MX6SL have a 0x100 byte
gap between banks 5 and 6 (or addresses 0x2f and 0x30), so we need to
account for that when reading data from shadow memory.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a44efbc commit 278a35ffcb4bc2486a869380da462e8a4d291020
@Andrey Smirnov Andrey Smirnov authored on 9 Nov 2016
Sascha Hauer committed on 11 Jan 2017
Showing 1 changed file
View
arch/arm/mach-imx/ocotp.c