Re: [U-Boot] [PATCH 1/7] mx27: basic cpu support

2009-06-20 Thread Jean-Christophe PLAGNIOL-VILLARD
+ +#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)

[U-Boot] [PATCH 1/7] mx27: basic cpu support

2009-06-07 Thread Ilya Yanok
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

Re: [U-Boot] [PATCH 1/7] mx27: basic cpu support

2009-05-28 Thread Wolfgang Denk
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 =

Re: [U-Boot] [PATCH 1/7] mx27: basic cpu support

2009-05-22 Thread Jean-Christophe PLAGNIOL-VILLARD
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

[U-Boot] [PATCH 1/7] mx27: basic cpu support

2009-05-19 Thread Ilya Yanok
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