Re: [PATCH 4/4] ArchosG9: add keyboard input and new reset menu entries

2013-03-11 Thread vj
On Mon, Mar 11, 2013 at 10:45 PM, Sascha Hauer wrote: > On Mon, Mar 11, 2013 at 12:36:07AM +0100, Vicente Bergas wrote: >> >> Signed-off-by: Vicente Bergas >> --- >> arch/arm/boards/archosg9/board.c | 25 +++ >> arch/arm/boards/archosg9/env/bin/init | 28

[PATCH 2/4] twl6030: add power button as an input key

2013-03-11 Thread Vicente Bergas
Done as suggested. Thanks for the suggestion. Signed-off-by: Vicente Bergas --- drivers/input/Kconfig | 7 +++ drivers/input/Makefile | 1 + drivers/input/twl6030_pwrbtn.c | 112 + include/twl6030_pwrbtn.h | 9 4 files cha

[PATCH 3/4] OMAP4: add command to select next boot device priority

2013-03-11 Thread Vicente Bergas
getopt: done as suggested bootsrc: done as suggested IMO this command will be used 99% of the times followed by a reset. The -r option will avoid the burden of executing always the same two commands. Signed-off-by: Vicente Bergas --- arch/arm/mach-omap/include/mach/omap4-silicon.h | 20 ++

[PATCH 8/9] archos: add atag appender for all features

2013-03-11 Thread Vicente Bergas
> I don't see a point in obfuscating this so much. Please call only call > the features you want to have setup in the first place. For your own > debugging purposes it makes no difference whether you edit the C file > above or this header file. For different tablets with different features > you ne

Re: [PATCH 4/4] ArchosG9: add keyboard input and new reset menu entries

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 12:36:07AM +0100, Vicente Bergas wrote: > > Signed-off-by: Vicente Bergas > --- > arch/arm/boards/archosg9/board.c | 25 +++ > arch/arm/boards/archosg9/env/bin/init | 28 ++ > arch/arm/boards/archosg9/env/bo

Re: [PATCH 3/4] OMAP4: add command to select next boot device priority

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 12:36:06AM +0100, Vicente Bergas wrote: > On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM > code reads the device to boot from. > This patch adds a way to set this. > > Signed-off-by: Vicente Bergas > --- > arch/arm/mach-omap/include/mach/omap4-sil

Re: [PATCH 2/4] twl6030: add power button as an input key

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 12:36:05AM +0100, Vicente Bergas wrote: > > + > +static int __init twl6030_pwrbtn_probe(struct device_d *dev) > +{ > + struct twl6030_pwrbtn_platform_data *pdata; > + struct console_device *cdev; > + > + pdata = dev->platform_data; > + > + if (!pdata) { > +

Re: [PATCH 0/9] Add support for booting ArchosG9 from sd-card

2013-03-11 Thread Sascha Hauer
Hi Vicente, On Sun, Mar 10, 2013 at 12:19:33AM +0100, Vicente Bergas wrote: > This patch series ends up adding sd-card booting support to archosg9 boards. > First 8 patches are improvements and minor fixes found during the process. I applied most patches from thsi series, the rest needs some up

Re: [PATCH 01/13] ARM: clep7212: Migrate to config-board

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 01:26:31PM +0400, Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan Applied, thanks Sascha > --- > arch/arm/boards/clep7212/env/config | 20 > arch/arm/boards/clep7212/env/config-board | 14 ++ > 2 files changed, 14

[PATCH 5/5] drivers: Bail out if dev_request_mem_region fails

2013-03-11 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/clk-imx1.c| 2 ++ arch/arm/mach-imx/clk-imx21.c | 2 ++ arch/arm/mach-imx/clk-imx25.c | 2 ++ arch/arm/mach-imx/clk-imx27.c | 2 ++ arch/arm/mach-imx/clk-imx31.c | 2 ++ arch/arm/mach-imx/clk-imx35.c | 2

[PATCH 4/5] ARM: Add initial i.MX27 dts files

2013-03-11 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx27-phytec-phycore.dts | 106 ++ arch/arm/dts/imx27.dtsi | 250 ++ arch/arm/mach-imx/imx27.c | 3 + 4 files changed, 360 insertions

[PATCH] Add dtc

2013-03-11 Thread Sascha Hauer
This adds the devicetree compiler (dtc) and rules to generate dtbs to barebox. With this devicetrees can be compiled into the barebox binary and devices can be probed from it. Also added are i.MX27 devicetree files, these are basically meant as example, I won't apply them eight now. The dtc probab

[PATCH 2/5] Makefile.lib: Add dtc support

2013-03-11 Thread Sascha Hauer
Add rules to generate dtb files from dts/dtsi files, optionally run the source files through the preprocessor. Also add a rule to generate object files to include in the barbox binary. Signed-off-by: Sascha Hauer --- include/asm-generic/barebox.lds.h | 12 scripts/Makefile.lib

[PATCH 3/5] ARM: Initial dts support

2013-03-11 Thread Sascha Hauer
- Add rules to generate dtb files in arch/arm/dts/ - add an initcall which unflattens and probes the internal devicetree - Add skeleton devicetree Signed-off-by: Sascha Hauer --- Makefile | 2 +- arch/arm/Kconfig | 4 arch/arm/Makefile | 14 +++

[PATCH] usb/gadget/Kconfig: fix menu

2013-03-11 Thread Eric Bénard
by reordering the entry, USB gadget support is now a menu and the USB gadget choices are under this menu and not directly in the driver menu. Signed-off-by: Eric Bénard --- drivers/usb/gadget/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/K

Re: [PATCH 7/9] ARM: zynq: clk: add pll type

2013-03-11 Thread Steffen Trumtrar
On Mon, Mar 11, 2013 at 01:28:09PM -0500, Josh Cartwright wrote: > On Mon, Mar 11, 2013 at 10:15:04AM +0100, Steffen Trumtrar wrote: > > Signed-off-by: Steffen Trumtrar > > --- > > arch/arm/mach-zynq/clk-zynq7000.c | 33 - > > 1 file changed, 32 insertions(+), 1 de

Re: [PATCH 6/9] ARM: zynq: clk: replace define with header

2013-03-11 Thread Steffen Trumtrar
On Mon, Mar 11, 2013 at 01:29:25PM -0500, Josh Cartwright wrote: > On Mon, Mar 11, 2013 at 10:15:03AM +0100, Steffen Trumtrar wrote: > > Signed-off-by: Steffen Trumtrar > > --- > > arch/arm/mach-zynq/clk-zynq7000.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/

Re: [PATCH 6/9] ARM: zynq: clk: replace define with header

2013-03-11 Thread Josh Cartwright
On Mon, Mar 11, 2013 at 10:15:03AM +0100, Steffen Trumtrar wrote: > Signed-off-by: Steffen Trumtrar > --- > arch/arm/mach-zynq/clk-zynq7000.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/mach-zynq/clk-zynq7000.c > b/arch/arm/mach-zynq/clk-zynq7000.c > inde

Re: [PATCH 7/9] ARM: zynq: clk: add pll type

2013-03-11 Thread Josh Cartwright
On Mon, Mar 11, 2013 at 10:15:04AM +0100, Steffen Trumtrar wrote: > Signed-off-by: Steffen Trumtrar > --- > arch/arm/mach-zynq/clk-zynq7000.c | 33 - > 1 file changed, 32 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-zynq/clk-zynq7000.c > b/arch/arm

Re[2]: [PATCH 04/13] ARM: clps711x: Add clocksource driver

2013-03-11 Thread Alexander Shiyan
> On Mon, Mar 11, 2013 at 08:22:05PM +0400, Alexander Shiyan wrote: > > > On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe > > > PLAGNIOL-VILLARD wrote: > > > > > +static int clps711x_cs_probe(struct device_d *dev) > > > > > +{ > > > > > + u32 rate; > > > > > + struct clk *timer_c

Re: [PATCH 9/9] ARM: zynq: remove clocksource

2013-03-11 Thread Josh Cartwright
On Mon, Mar 11, 2013 at 10:15:06AM +0100, Steffen Trumtrar wrote: > With clkdev in place the generic arm_smp_twd can be used. > Oh! Hmm. So, you add the clocksource driver in a previous patch, and remove it here. I'd recommend rebasing this patchset to remove this intermediate state. Josh

Re: [PATCH 2/9] ARM: Zynq: Add new architecture zynq

2013-03-11 Thread Josh Cartwright
On Mon, Mar 11, 2013 at 10:14:59AM +0100, Steffen Trumtrar wrote: > Add basic support for the Xilinx Zynq-7000 EPP architecture. > The Zynq-7000 is an embedded processing platform that combines a Cortex A9 > dualcore MPSoC with an Artix-7 FPGA. > > Signed-off-by: Steffen Trumtrar > --- > arch/ar

Re: [PATCH 04/13] ARM: clps711x: Add clocksource driver

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 08:22:05PM +0400, Alexander Shiyan wrote: > > On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD > > wrote: > > > > +static int clps711x_cs_probe(struct device_d *dev) > > > > +{ > > > > + u32 rate; > > > > + struct clk *timer_clk; > > >

Re[2]: [PATCH 04/13] ARM: clps711x: Add clocksource driver

2013-03-11 Thread Alexander Shiyan
> On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > +static int clps711x_cs_probe(struct device_d *dev) > > > +{ > > > + u32 rate; > > > + struct clk *timer_clk; > > > + > > > + timer_clk = clk_get(dev, NULL); > > > + if (IS_ERR(timer_clk)) > > > + r

[PATCH 2/2] Remove unused config.h

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/boards/archosg9/config.h| 1 - arch/arm/boards/beagle/config.h | 17 - arch/arm/boards/beaglebone/config.h | 17 - arch/arm/boards/ccxmx51/config.h | 24 ---

[PATCH 1/2] Makefile: Create empty if this header file is not needed by board

2013-03-11 Thread Alexander Shiyan
Patch creates empty if this header is not needed by board. This will allow to remove many empty config.h files from boards. Signed-off-by: Alexander Shiyan --- Makefile | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b5819fc..e8d9

Re[2]: [RFC] Makefile: Create empty if this header file is not needed by board

2013-03-11 Thread Alexander Shiyan
> On Sun, Mar 10, 2013 at 07:01:00PM +0400, Alexander Shiyan wrote: > > > > > Patch creates empty if this header is not needed by board. > > > > > This will allow to remove many empty config.h files from boards. > > > > > > How does git incorporate with this? I think git just ignores empty files

Re: [PATCH 05/13] ARM: clps711x: Using COMMON_CLK

2013-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:26 Mon 11 Mar , Alexander Shiyan wrote: > Hello. > > > On 13:26 Mon 11 Mar , Alexander Shiyan wrote: > > > This patch adds support for COMMON_CLK API for CLPS711X targets. > > > > > > Signed-off-by: Alexander Shiyan > ... > > > + /* Turn timers in free running mode */ > > > tmp =

Re[2]: [PATCH 05/13] ARM: clps711x: Using COMMON_CLK

2013-03-11 Thread Alexander Shiyan
Hello. > On 13:26 Mon 11 Mar , Alexander Shiyan wrote: > > This patch adds support for COMMON_CLK API for CLPS711X targets. > > > > Signed-off-by: Alexander Shiyan ... > > + /* Turn timers in free running mode */ > > tmp = readl(SYSCON1); > > - tmp &= ~SYSCON1_TC2M; /* Free running

Re: [PATCH 04/13] ARM: clps711x: Add clocksource driver

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > > +static int clps711x_cs_probe(struct device_d *dev) > > +{ > > + u32 rate; > > + struct clk *timer_clk; > > + > > + timer_clk = clk_get(dev, NULL); > > + if (IS_ERR(timer_clk)) > > + return PTR_

Re: New dt-only arm/mach

2013-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:13 Sun 10 Mar , Alexander Shiyan wrote: >Hello All. > >I want to add new arch into barebox. n the kernel this arch is dt-only. >I talking about mach-sunxi. So, how we should handle such platform >in the barebox? We need always provide dtb to the kernel, then where >it

Re: [PATCH 05/13] ARM: clps711x: Using COMMON_CLK

2013-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:26 Mon 11 Mar , Alexander Shiyan wrote: > This patch adds support for COMMON_CLK API for CLPS711X targets. > > Signed-off-by: Alexander Shiyan > --- > arch/arm/Kconfig |1 + > arch/arm/mach-clps711x/clock.c | 109 > ++ > arch/

Re: [PATCH 04/13] ARM: clps711x: Add clocksource driver

2013-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:26 Mon 11 Mar , Alexander Shiyan wrote: > This patch adds clocksource driver for CLPS711X targets and adds > support to platform to use this new driver. > > Signed-off-by: Alexander Shiyan > --- > arch/arm/Kconfig |1 + > arch/arm/mach-clps711x/clock.c | 51

Re: [PATCH 4/9] ARM: zynq: Add support for the Avnet Zedboard

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 10:15:01AM +0100, Steffen Trumtrar wrote: > The Avnet ZedBoard is an evalboard with a Zynq-7020 based MPSoC. > There is also a Digilent ZedBoard, that is the same but only for > academic customers. > > diff --git a/arch/arm/configs/zedboard_defconfig > b/arch/arm/configs/z

Re: [PATCH 3/9] ARM: zynq: add zynq fsbl checksum script

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 10:15:00AM +0100, Steffen Trumtrar wrote: > The bootrom only reads an image if the correct checksum is present in the > header. The calculation is pretty simple: > sum over all words from 0x20 to 0x44 > Two of this words are the image length. That is why the checksum can not

Re: [PATCH 2/9] ARM: Zynq: Add new architecture zynq

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 10:14:59AM +0100, Steffen Trumtrar wrote: > Add basic support for the Xilinx Zynq-7000 EPP architecture. > The Zynq-7000 is an embedded processing platform that combines a Cortex A9 > dualcore MPSoC with an Artix-7 FPGA. > > + > +static void __iomem *timer_base = (void *) C

Re: [PATCH 1/9] serial: Add driver for Cadence UART

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 10:14:58AM +0100, Steffen Trumtrar wrote: > Support for Cadence UART core. > > Signed-off-by: Steffen Trumtrar > --- > drivers/serial/Kconfig | 4 + > drivers/serial/Makefile | 1 + > drivers/serial/serial_cadence.c | 299 > ++

[PATCH 13/13] serial: clps711x: Migrate to using SYSCON driver

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/devices.c |4 drivers/serial/serial_clps711x.c | 31 +++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c index b3

[PATCH 12/13] ARM: clps711x: Export system-wide registers through SYSCON driver

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/Kconfig |1 + arch/arm/mach-clps711x/devices.c | 16 drivers/mfd/syscon.c |3 +++ 3 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ed0b453.

[PATCH 09/13] ARM: clps711x: Migrate to using DEFINE_RES_MEM macro

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/devices.c | 108 ++--- 1 files changed, 18 insertions(+), 90 deletions(-) diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c index f94b584..fba0159 100644 --- a/arch/arm/mac

[PATCH 11/13] Add system controller register driver (SYSCON)

2013-03-11 Thread Alexander Shiyan
This patch adds support for system controller register driver (SYSCON). Code taken from Linux Kernel and adapted for using in barebox. Signed-off-by: Alexander Shiyan --- drivers/mfd/Kconfig |5 +++ drivers/mfd/Makefile |1 + drivers/mfd/syscon.c | 92 +

[PATCH 10/13] ARM: clps711x: Limit chipselect setup up to CS5

2013-03-11 Thread Alexander Shiyan
CS6 and CS7 is a internal CPU resources and these chipselects are already pre configured, so avoid to rewrite this settings. Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/devices.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-clps711x/devic

[PATCH 08/13] Add helpers to define resources

2013-03-11 Thread Alexander Shiyan
This patch adds helpers to define resources, such as DEFINE_RES_NAMED, DEFINE_RES_MEM and DEFINE_RES_MEM_NAMED. Signed-off-by: Alexander Shiyan --- include/linux/ioport.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/linux/ioport.h b/include/linu

[PATCH 07/13] ARM: clps711x: Add GPIO driver

2013-03-11 Thread Alexander Shiyan
This patch adds support for CLPS711X GPIOs. Driver based on generic GPIO driver. Signed-off-by: Alexander Shiyan --- arch/arm/Kconfig |1 + arch/arm/mach-clps711x/devices.c | 82 arch/arm/mach-clps711x/include/mach/gpio.h |

[PATCH 06/13] Add Generic GPIO driver

2013-03-11 Thread Alexander Shiyan
This patch adds generic memory-mapped GPIO controller support. Code taken from Linux Kernel and adopted for barebox. Signed-off-by: Alexander Shiyan --- drivers/gpio/Kconfig| 10 + drivers/gpio/Makefile |5 +- drivers/gpio/gpio-generic.c | 428 +++

[PATCH 05/13] ARM: clps711x: Using COMMON_CLK

2013-03-11 Thread Alexander Shiyan
This patch adds support for COMMON_CLK API for CLPS711X targets. Signed-off-by: Alexander Shiyan --- arch/arm/Kconfig |1 + arch/arm/mach-clps711x/clock.c | 109 ++ arch/arm/mach-clps711x/devices.c |4 ++ 3 files changed, 68 insertio

[PATCH 04/13] ARM: clps711x: Add clocksource driver

2013-03-11 Thread Alexander Shiyan
This patch adds clocksource driver for CLPS711X targets and adds support to platform to use this new driver. Signed-off-by: Alexander Shiyan --- arch/arm/Kconfig |1 + arch/arm/mach-clps711x/clock.c | 51 - drivers/clocksource/Kconfig|4

[PATCH 03/13] ARM: clps711x: Replace numeric PLL option with boolean for raise CPU frequency

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/boards/clep7212/lowlevel.c |8 +--- arch/arm/mach-clps711x/Kconfig | 13 ++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/arm/boards/clep7212/lowlevel.c b/arch/arm/boards/clep7212/lowlevel.c index fcf

[PATCH 01/13] ARM: clep7212: Migrate to config-board

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/boards/clep7212/env/config | 20 arch/arm/boards/clep7212/env/config-board | 14 ++ 2 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 arch/arm/boards/clep7212/env/config create mode 1006

[PATCH 02/13] ARM: clps711x: Fix setup bus wait state scaling factor for 13Mhz mode

2013-03-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/lowlevel.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-clps711x/lowlevel.c b/arch/arm/mach-clps711x/lowlevel.c index 193f61a..58306f2 100644 --- a/arch/arm/mach-clps711x/lowleve

[PATCH 4/9] ARM: zynq: Add support for the Avnet Zedboard

2013-03-11 Thread Steffen Trumtrar
The Avnet ZedBoard is an evalboard with a Zynq-7020 based MPSoC. There is also a Digilent ZedBoard, that is the same but only for academic customers. Signed-off-by: Steffen Trumtrar --- arch/arm/boards/avnet-zedboard/Makefile| 1 + arch/arm/boards/avnet-zedboard/board.c

[PATCH 2/9] ARM: Zynq: Add new architecture zynq

2013-03-11 Thread Steffen Trumtrar
Add basic support for the Xilinx Zynq-7000 EPP architecture. The Zynq-7000 is an embedded processing platform that combines a Cortex A9 dualcore MPSoC with an Artix-7 FPGA. Signed-off-by: Steffen Trumtrar --- arch/arm/Kconfig | 5 + arch/arm/Makefile

[PATCH 1/9] serial: Add driver for Cadence UART

2013-03-11 Thread Steffen Trumtrar
Support for Cadence UART core. Signed-off-by: Steffen Trumtrar --- drivers/serial/Kconfig | 4 + drivers/serial/Makefile | 1 + drivers/serial/serial_cadence.c | 299 3 files changed, 304 insertions(+) create mode 100644 drivers/seri

[PATCH 5/9] ARM: zynq: add clk support for zynq7000

2013-03-11 Thread Steffen Trumtrar
From: Josh Cartwright This adds support for the clocktree on zynq7000 SoCs. The patch is grabed from clocks.c from the larger patch ARM: zynq: add suppport for Zynq 7000 SoC by Josh Cartwright and reformated a little bit. Signed-off-by: Steffen Trumtrar --- arch/arm/mach-zynq/clk-zynq7

[PATCH 9/9] ARM: zynq: remove clocksource

2013-03-11 Thread Steffen Trumtrar
With clkdev in place the generic arm_smp_twd can be used. Signed-off-by: Steffen Trumtrar --- arch/arm/configs/zedboard_defconfig | 4 +++ arch/arm/mach-zynq/Kconfig | 1 + arch/arm/mach-zynq/Makefile | 2 +- arch/arm/mach-zynq/clk-zynq7000.c | 3 +- arch/arm/mach-zynq/clo

[PATCH 7/9] ARM: zynq: clk: add pll type

2013-03-11 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- arch/arm/mach-zynq/clk-zynq7000.c | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/clk-zynq7000.c b/arch/arm/mach-zynq/clk-zynq7000.c index 5a8a12a..0d3c3a8 100644 --- a/arch/arm/mach-zynq

[PATCH 8/9] ARM: zynq: clk: convert to platform driver

2013-03-11 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- arch/arm/mach-zynq/Kconfig| 2 ++ arch/arm/mach-zynq/clk-zynq7000.c | 25 ++--- arch/arm/mach-zynq/zynq.c | 1 + 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zyn

[PATCH 0/9] ARM: add support for Zynq

2013-03-11 Thread Steffen Trumtrar
Hi! This series adds basic support for Xilinx Zynq based SoCs. Atm one can boot first stage from SD card and ... that is it. Ethernet support is on its way, but not functional as of yet. Regards, str Josh Cartwright (1): ARM: zynq: add clk support for zynq7000 Steffen Trumtrar (8): serial:

[PATCH 3/9] ARM: zynq: add zynq fsbl checksum script

2013-03-11 Thread Steffen Trumtrar
The bootrom only reads an image if the correct checksum is present in the header. The calculation is pretty simple: sum over all words from 0x20 to 0x44 Two of this words are the image length. That is why the checksum can not be calculated until barebox_image_size is known. The easiest solution is

[PATCH 6/9] ARM: zynq: clk: replace define with header

2013-03-11 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- arch/arm/mach-zynq/clk-zynq7000.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-zynq/clk-zynq7000.c b/arch/arm/mach-zynq/clk-zynq7000.c index 8dbde2b..5a8a12a 100644 --- a/arch/arm/mach-zynq/clk-zynq7000.c +++ b/arch/arm/m

Re: [PATCH] image and bss size decrease

2013-03-11 Thread Juergen Beisert
Hi Sascha, Sascha Hauer wrote: > [...] > Also we make the bss smaller by allocating the FILE table and > the gpio_desc table dynamically. The bss size is may become > a problem on boards which run from SRAM. Here the malloc pool > is in the big SDRAM area, but the bss is in SRAM, so it makes > sen

Re: [PATCH 7/9] menu: avoid errors when building submenus

2013-03-11 Thread Sascha Hauer
On Sun, Mar 10, 2013 at 11:29:17PM +0100, vj wrote: > On Sun, Mar 10, 2013 at 2:16 PM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 00:19 Sun 10 Mar , Vicente Bergas wrote: > >> boot-menu-add-entry should not add menu entries to non-existent menus > >> to solve the issue a new parameter is

Re: [PATCH 8/9] archos: add atag appender for all features

2013-03-11 Thread Sascha Hauer
On Sun, Mar 10, 2013 at 12:19:41AM +0100, Vicente Bergas wrote: > > Signed-off-by: Vicente Bergas > --- > arch/arm/boards/archosg9/archos_features.c | 414 > ++--- > arch/arm/boards/archosg9/archos_features.h | 39 +++ > 2 files changed, 412 insertions(+), 41 deletions(

[PATCH v2] DMO Realq7 support

2013-03-11 Thread Sascha Hauer
changes since v1: - use phy_register_fixup_for_uid instead of fec pdata callback - Use regular readl/writel instead of custom functions - update defaultenv - use lwl-y for mmdc calibration support - use barebox_image_size Sascha Sa

[PATCH 3/4] Add DMO RealQ7 board support

2013-03-11 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/Makefile | 1 + arch/arm/boards/delphi-poc20/env/boot/mmc | 10 + arch/arm/boards/dmo-mx6-realq7/Makefile | 2 + arch/arm/boards/dmo-mx6-realq7/board.c| 406 ++ arch/arm

[PATCH 2/4] ARM i.MX6: Add mmdc calibration support

2013-03-11 Thread Sascha Hauer
This adds support for the various DDR calibration functions in the i.MX6 MMDC. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/imx6-mmdc.c | 868 + arch/arm/mach-imx/include/mach/imx6-mmdc.h | 7 + 3

[PATCH 4/4] Add DMO RealQ7 defconfig

2013-03-11 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/configs/dmo-realq7_defconfig | 91 +++ 1 file changed, 91 insertions(+) create mode 100644 arch/arm/configs/dmo-realq7_defconfig diff --git a/arch/arm/configs/dmo-realq7_defconfig b/arch/arm/configs/dmo-realq7_defconfig n

[PATCH 1/4] net: phy: micrel: Update id table from kernel

2013-03-11 Thread Sascha Hauer
To get more phy ids. Signed-off-by: Sascha Hauer --- include/linux/micrel_phy.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h index adfe8c0..9dbb41a 100644 --- a/include/linux/micrel_phy.h +++ b/include/linux/m

Re: [PATCH] net: fec: Use standard phy type defines

2013-03-11 Thread Sascha Hauer
On Sun, Mar 10, 2013 at 02:17:57PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 12:03 Sat 09 Mar , Sascha Hauer wrote: > > I've never seen a board using sevenwire, so remove this from > > the fec driver. Also, since we now have standard phy type > > defines in include/linux/phy.h, use t