summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-20 10:21:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-20 10:43:24 +0100
commite88d86a445266de5977fabe3dbde0f64ca8e535e (patch)
treefe43c8bc63c16082ecb41d370bfef9f3f9e52a12 /arch/arm/mach-mxs/imx.c
parentca2cae2b1ae146171af7838f3a26938d60cec4eb (diff)
downloadbarebox-e88d86a445266de5977fabe3dbde0f64ca8e535e.tar.gz
barebox-e88d86a445266de5977fabe3dbde0f64ca8e535e.tar.xz
ARM: rename STM arch to mxs
We never supported the sigmatel stm chips and probably never will. So do the first step and rename the architecture to mxs just like in the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/imx.c')
-rw-r--r--arch/arm/mach-mxs/imx.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/imx.c b/arch/arm/mach-mxs/imx.c
new file mode 100644
index 0000000000..14a4249893
--- /dev/null
+++ b/arch/arm/mach-mxs/imx.c
@@ -0,0 +1,35 @@
+/*
+ * (C) Copyright 2010 Juergen Beisert - Pengutronix
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <common.h>
+#include <command.h>
+
+extern void imx_dump_clocks(void);
+
+static int do_clocks(struct command *cmdtp, int argc, char *argv[])
+{
+ imx_dump_clocks();
+
+ return 0;
+}
+
+BAREBOX_CMD_START(dump_clocks)
+ .cmd = do_clocks,
+ .usage = "show clock frequencies",
+BAREBOX_CMD_END