]> git.baikalelectronics.ru Git - uboot.git/commit
mxc_ocotp: Update driver to support OCOTP controller on i.MX7ULP
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 Feb 2017 08:21:46 +0000 (16:21 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commit43ac8ca7066bb1656bb2d3a7154e1bb8433badcd
treee1c6606453add4d6f377fd1c7e1e24c7942cd516
parent4d20334ba85ccf041f76381079584bbee6000081
mxc_ocotp: Update driver to support OCOTP controller on i.MX7ULP

Update the mxc_ocotp driver to support i.MX7ULP.
The read/write sequence has some changes due to
PDN and OUT_STATUS registers added and TIME register is
removed. Also update the bank size and number.

Add is_mx7ulp macro in sys_proto.h

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by : Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/imx-common/sys_proto.h
drivers/misc/mxc_ocotp.c