summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2015-08-13 10:55:33 +0800
committerStefano Babic <[email protected]>2015-09-02 15:29:14 +0200
commitbf3b9cb6e8088955c4271f1af03596cc2df26cd8 (patch)
tree5f5f2599d31c3171e559f4f8bb859425ecde0339 /arch/arm/include
parent2af896abf60ed93c57d72d62635daef8ca6124c2 (diff)
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 <[email protected]> Cc: Stefano Babic <[email protected]> Reviewed-by: Stefano Babic <[email protected]>
Diffstat (limited to 'arch/arm/include')
-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 46787237540..d6e9fdbb92e 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,