summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx/sys_proto.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-11-27 10:25:09 -0200
committerStefano Babic <sbabic@denx.de>2017-12-29 11:18:59 +0100
commit4555c26142f893aa5d23f95c8eb3982e4a05b334 (patch)
tree1dd321cf3b94548dc841b60868173e002f947556 /arch/arm/include/asm/mach-imx/sys_proto.h
parent9a7295831e23fd3ff68b54992cdace1a1c8249e2 (diff)
imx: Add a common way for detecting NXP boards revision
NXP development boards based on i.MX6/i.MX7 contain the board revision information stored in the fuses. Introduce a common function that can be shared by different boards and convert mx6sabreauto to use this new mechanism. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/mach-imx/sys_proto.h')
-rw-r--r--arch/arm/include/asm/mach-imx/sys_proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index a80a392a73..5184e00972 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -109,6 +109,9 @@ void imx_wdog_disable_powerdown(void);
int board_mmc_get_env_dev(int devno);
+int nxp_board_rev(void);
+char nxp_board_rev_string(void);
+
/*
* Initializes on-chip ethernet controllers.
* to override, implement board_eth_init()