summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mxs/sys_proto.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-08-13 10:55:33 +0800
committerStefano Babic <sbabic@denx.de>2015-09-02 15:29:14 +0200
commitbf3b9cb6e8088955c4271f1af03596cc2df26cd8 (patch)
tree5f5f2599d31c3171e559f4f8bb859425ecde0339 /arch/arm/include/asm/arch-mxs/sys_proto.h
parent2af896abf60ed93c57d72d62635daef8ca6124c2 (diff)
downloadu-boot-imx-bf3b9cb6e8088955c4271f1af03596cc2df26cd8.zip
u-boot-imx-bf3b9cb6e8088955c4271f1af03596cc2df26cd8.tar.gz
u-boot-imx-bf3b9cb6e8088955c4271f1af03596cc2df26cd8.tar.bz2
imx: mxs: reimplement get_cpu_rev
Rewrite get_cpu_rev, from "static const char *get_cpu_rev(void)" to "u32 get_cpu_rev(void)". To align with get_cpu_rev of other i.MXes. Also write get_imx_type to replace get_cpu_type, since we have macro named get_cpu_type. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mxs/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-mxs/sys_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 4678723..d6e9fdb 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -11,6 +11,7 @@
#define __SYS_PROTO_H__
#include <asm/imx-common/regs-common.h>
+#include <../arch-imx/cpu.h>
int mxs_reset_block(struct mxs_register_32 *reg);
int mxs_wait_mask_set(struct mxs_register_32 *reg,