summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/ccxmx51
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-09-30 18:14:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-05 20:03:01 +0200
commit5003e4ddc899909c8f9c15978aa53e432b6b3831 (patch)
treeae45985765a566e952fc76793ac816924618f897 /arch/arm/boards/ccxmx51
parent4008d0a34aa495164eadaab66595266286f8f4f4 (diff)
downloadbarebox-5003e4ddc899909c8f9c15978aa53e432b6b3831.tar.gz
barebox-5003e4ddc899909c8f9c15978aa53e432b6b3831.tar.xz
ARM i.MX: streamline imx_silicon_revision
All i.MX SoCs now use the same imx_silicon_revision() function to get the revision. Add a separate header file for it and a common function used on all SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/ccxmx51')
-rw-r--r--arch/arm/boards/ccxmx51/ccxmx51.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boards/ccxmx51/ccxmx51.c b/arch/arm/boards/ccxmx51/ccxmx51.c
index 0b450d64e7..b391df18c3 100644
--- a/arch/arm/boards/ccxmx51/ccxmx51.c
+++ b/arch/arm/boards/ccxmx51/ccxmx51.c
@@ -45,6 +45,7 @@
#include <mach/iim.h>
#include <mach/clock-imx51_53.h>
#include <mach/imx5.h>
+#include <mach/revision.h>
#include "ccxmx51.h"