]> git.dujemihanovic.xyz Git - u-boot.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)
commit3ca0f0d2daabc763df0cedaf74b5049337aa4311
treee1c6606453add4d6f377fd1c7e1e24c7942cd516
parentd665eb6114c91f433473d4af8ff4e87e021b3ad8
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