misc: ocotp: add i.MX8M support
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Jan 2018 05:20:39 +0000 (13:20 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commit8a099b6860801473cab2585cd4ab29271e872a94
treef3dc8039ee0b653ecdccdc60090c80d8f5d89dc9
parente0e4e53375bffbd8519e87f4a17891ac9bcda9c6
misc: ocotp: add i.MX8M support

i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks
and each bank 4 words.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
drivers/misc/mxc_ocotp.c