diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-02-22 08:21:46 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-03-17 08:27:08 (GMT) |
commit | 3ca0f0d2daabc763df0cedaf74b5049337aa4311 (patch) | |
tree | e1c6606453add4d6f377fd1c7e1e24c7942cd516 /arch | |
parent | d665eb6114c91f433473d4af8ff4e87e021b3ad8 (diff) | |
download | u-boot-3ca0f0d2daabc763df0cedaf74b5049337aa4311.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/imx-common/sys_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/sys_proto.h b/arch/arm/include/asm/imx-common/sys_proto.h index 539d34b..732b692 100644 --- a/arch/arm/include/asm/imx-common/sys_proto.h +++ b/arch/arm/include/asm/imx-common/sys_proto.h @@ -38,6 +38,8 @@ #define is_mx6ull() (is_cpu_type(MXC_CPU_MX6ULL)) #define is_mx6sll() (is_cpu_type(MXC_CPU_MX6SLL)) +#define is_mx7ulp() (is_cpu_type(MXC_CPU_MX7ULP)) + u32 get_nr_cpus(void); u32 get_cpu_rev(void); u32 get_cpu_speed_grade_hz(void); |