+
+#ifndef __ASM_ARCH_CLOCK_H
+#define __ASM_ARCH_CLOCK_H
+unsigned int imx_decode_pll(unsigned int pll, unsigned int f_ref);
+
+ulong imx_get_mpllclk(void);
I want to have common api scheme so I'll like to have this clock
as the folling scheme (already for at91 as example)
This patch adds generic code to support Freescale's i.MX27 SoCs.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
cpu/arm926ejs/mx27/Makefile | 44 +++
cpu/arm926ejs/mx27/generic.c| 241 +++
cpu/arm926ejs/mx27/reset.c | 57
Dear Ilya Yanok,
In message 1242777361-6717-2-git-send-email-ya...@emcraft.com you wrote:
This patch adds generic code to support Freescale's i.MX27 SoCs.
...
+void imx_gpio_mode(int gpio_mode)
+{
+ struct gpio_regs *regs = (struct gpio_regs *)IMX_GPIO_BASE;
+ unsigned int pin =
diff --git a/cpu/arm926ejs/mx27/interrupt.c b/cpu/arm926ejs/mx27/interrupt.c
please rename it timer.c
new file mode 100644
index 000..8f3e809
--- /dev/null
+++ b/cpu/arm926ejs/mx27/interrupt.c
@@ -0,0 +1,201 @@
+/*
+ * (C) Copyright 2002
+ * Sysgo Real-Time Solutions, GmbH
This patch adds generic code to support Freescale's i.MX27 SoCs.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
cpu/arm926ejs/mx27/Makefile | 44 +++
cpu/arm926ejs/mx27/generic.c| 237 ++
cpu/arm926ejs/mx27/interrupt.c | 201
5 matches
Mail list logo