diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-08-13 10:55:33 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-02 15:29:14 +0200 |
commit | bf3b9cb6e8088955c4271f1af03596cc2df26cd8 (patch) | |
tree | 5f5f2599d31c3171e559f4f8bb859425ecde0339 /arch/arm/include/asm/arch-mxs | |
parent | 2af896abf60ed93c57d72d62635daef8ca6124c2 (diff) | |
download | u-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')
-rw-r--r-- | arch/arm/include/asm/arch-mxs/sys_proto.h | 1 |
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, |