[PATCH v2] pcm049: clean up defconfig

2013-01-29 Thread Jan Weitzel
add BAREBOX_MAX_IMAGE_SIZE and rebuild defconfig with savedefconfig Signed-off-by: Jan Weitzel --- arch/arm/configs/pcm049_defconfig | 19 +++ arch/arm/configs/pcm049_xload_defconfig |3 ++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/arm/conf

[PATCH 1/2 v3] at91: add sama5d3 support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/mach-at91/Kconfig| 14 + arch/arm/mach-at91/Makefile |1 + arch/arm/mach-at91/clock.c| 113 -- arch/arm/mach-at91/clock.h|2 +

[PATCH 2/2 v3] at91: add sama5d3xek board support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
currently missing the GMAC support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Makefile |1 + arch/arm/boards/sama5d3xek/Makefile |2 + arch/arm/boards/sama5d3xek/config.h |6 + arch/arm/boards/sama5d3xek/env/config | 44 arch/a

[PATCH 0/2 v2] at91: add sama5d3 support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, v3: update clock periph divider some of the IP require to be down clocked to work perfectly update all of them v2: update clock support drop fec.h this patch serie add the support of the new Cortex-A5 of Atmel the s

[PATCH 1/2] at91: add sama5d3 support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/mach-at91/Kconfig| 14 + arch/arm/mach-at91/Makefile |1 + arch/arm/mach-at91/clock.c| 113 -- arch/arm/mach-at91/clock.h|2 +

[PATCH 2/2] at91: add sama5d3xek board support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
currently missing the GMAC support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Makefile |1 + arch/arm/boards/sama5d3xek/Makefile |2 + arch/arm/boards/sama5d3xek/config.h |6 + arch/arm/boards/sama5d3xek/env/config | 44 arch/a

[PATCH 0/2 v2] at91: add sama5d3 support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, v2: update clock support drop fec.h this patch serie add the support of the new Cortex-A5 of Atmel the sama5d3x series This patch serie depends on the w1 dual scan and the macb prepare for gmac The following changes since commit 1be4

[PATCH v5] ARM: at91: Add Telit EVK-PRO3 board support

2013-01-29 Thread Fabio Porcedda
http://www.telit.com Based on at91sam9260ek board support. Signed-off-by: Fabio Porcedda Cc: Jean-Christophe PLAGNIOL-VILLARD --- v5: - fix mci configuration - some codestyle improvements v4: - use a gpio for dfu - remove HAVE_NAND_ATMEL_BUSWIDTH_16 v3: - add dfu support - init.c: red

Re: [PATCH 0/2] at91: add sama5d3 support

2013-01-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:29 Mon 28 Jan , Jean-Christophe PLAGNIOL-VILLARD wrote: > HI, > > this patch serie add the support of the new Cortex-A5 of Atmel the > sama5d3x series > > This patch serie depends on the w1 dual scan and the macb prepare for > gmac wait I'll send a v2 as I need

[PATCH] commands: reset: add shutdown_barebox() before reset_cpu()

2013-01-29 Thread Antony Pavlov
Some of controlled by barebox peripheral devices may be not affected by CPU reset, so we need call shutdown_barebox() to stop them. Signed-off-by: Antony Pavlov --- commands/reset.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/commands/reset.c b/commands/reset.c

[PATCH 2/2] nand_omap_gpmc: use 0x00 for ECC padding in BCH ROM mode

2013-01-29 Thread Jan Luebbe
The kernel uses these bytes to differentiate between erased/programmed pages. Signed-off-by: Jan Luebbe --- drivers/mtd/nand/nand_omap_gpmc.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/mtd/nand/nand_omap_gpmc.c b/drivers/mtd/nand/nand_omap_gpmc

[PATCH 1/2] nand_write: initialize OOB buffer for each page

2013-01-29 Thread Jan Luebbe
Previously, during a multi-page write, chip->oob_poi would not be reinitialized. Signed-off-by: Jan Luebbe --- drivers/mtd/nand/nand_write.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/nand_write.c b/drivers/mtd/nand/nand_write.c index 9997127.

Re: [PATCH 2/2] at91: add sama5d3xek board support

2013-01-29 Thread Eric Bénard
Hi Jean-Christophe, Le Mon, 28 Jan 2013 23:36:46 +0100, Jean-Christophe PLAGNIOL-VILLARD a écrit : > +++ b/arch/arm/boards/sama5d3xek/init.c > @@ -0,0 +1,328 @@ > +/* > + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD > > + * > + * This program is free software; you can redistribute it a

Re: [PATCH] ARM: efika-mx-smartbook: clean up whitespaces

2013-01-29 Thread Sascha Hauer
On Mon, Jan 28, 2013 at 01:26:40PM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov Applied, thanks Sascha > --- > arch/arm/boards/efika-mx-smartbook/board.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/arch/arm/boards/efika-mx-smartbook/

Re: [PATCH 1/1] at91sam9m10ihd: set missing lcd power control

2013-01-29 Thread Sascha Hauer
On Mon, Jan 28, 2013 at 10:32:07AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Applied, thanks Sascha > --- > arch/arm/boards/at91sam9m10ihd/init.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boards/at91sam9m10ihd/

Re: [PATCH 0/2] macb: sync with linux and prepare for gmac support

2013-01-29 Thread Sascha Hauer
On Mon, Jan 28, 2013 at 11:25:10PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > HI, > > The following changes since commit aff77ab814543ac61d0b3a00fcb6d1efefe24150: > > Merge branch 'for-next/omap' into next (2013-01-28 08:29:48 +0100) > > are available in the git repository at: > > >

Re: [PATCH 1/1] w1: add dual search support

2013-01-29 Thread Sascha Hauer
On Mon, Jan 28, 2013 at 11:23:00PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Some 1-wire device need to be search twice to be detected > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Applied, thanks Sascha > --- > drivers/w1/Kconfig |5 + > drivers/w1/w1.c| 27 ++

[PATCH 3/6] ARM omap3 omap343xdsp: move lowlevel code to lowlevel.c

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boards/omap343xdsp/Makefile |2 + arch/arm/boards/omap343xdsp/board.c| 547 arch/arm/boards/omap343xdsp/lowlevel.c | 546 +++ 3 files changed, 548 insertions(+), 547 deletions(-) cre

[PATCH 5/6] ARM am33xx beaglebone: move lowlevel code to lowlevel.c

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boards/beaglebone/Makefile |2 + arch/arm/boards/beaglebone/board.c| 240 --- arch/arm/boards/beaglebone/lowlevel.c | 248 + 3 files changed, 250 insertions(+), 240 deletions(-) creat

[PATCH 6/6] ARM omap3 beagle: Compile xload defconfig in Thumb2 mode

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/configs/omap3530_beagle_xload_defconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/omap3530_beagle_xload_defconfig b/arch/arm/configs/omap3530_beagle_xload_defconfig index d951b1c..383ea28 100644 --- a/arch/arm

[PATCH 2/6] ARM omap3 phycard-a-l1: move lowlevel code to lowlevel.c

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boards/phycard-a-l1/Makefile |2 + arch/arm/boards/phycard-a-l1/lowlevel.c | 251 +++ arch/arm/boards/phycard-a-l1/pca-a-l1.c | 247 -- 3 files changed, 253 insertions(+), 247 deletions(-) cr

[PATCH 4/6] ARM omap3 omap3evm: move lowlevel code to lowlevel.c

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boards/omap3evm/Makefile |2 + arch/arm/boards/omap3evm/board.c| 158 -- arch/arm/boards/omap3evm/lowlevel.c | 160 +++ 3 files changed, 162 insertions(+), 158 deletions(-) create

[PATCH 1/6] ARM omap3 beagle: move lowlevel code to lowlevel.c

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boards/beagle/Makefile |2 + arch/arm/boards/beagle/board.c| 169 - arch/arm/boards/beagle/lowlevel.c | 167 3 files changed, 169 insertions(+), 169 deletions(-) create m

[PATCH] ARM OMAP: move lowlevel board code to lowlevel.c

2013-01-29 Thread Sascha Hauer
This moves the board specific lowlevel code to a separate file for the omap (and am33xx) boards. This is just a preparation for the barebox-arm-entry series which needs the SDRAM setup in lowlevel code rather than initcalls. No functional change in this series. Sascha

[PATCH 03/12] treewide: fix format specifiers

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/esdctl.c |4 ++-- arch/arm/mach-omap/gpmc.c |6 +++--- arch/ppc/lib/board.c |4 ++-- common/environment.c | 10 ++ common/hush.c |4 +--- common/module.c|2 +- common/parser.c

[PATCH 12/12] mtd nand: Specify pr_fmt and change messages to pr_*

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- drivers/mtd/nand/nand_base.c | 39 - drivers/mtd/nand/nand_bbt.c | 43 ++--- drivers/mtd/nand/nand_write.c |4 +++- include/linux/mtd/mtd.h |2 +- 4 files changed, 48 inser

[PATCH 07/12] USB ehci: Use dev_* for messages

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- drivers/usb/host/ehci-hcd.c | 73 +++ 1 file changed, 39 insertions(+), 34 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index ad8cf2f..9cce6b6 100644 --- a/drivers/usb/host/ehci-hcd.c

[PATCH 11/12] ARM pcm038: Specify pr_fmt and change messages to pr_*

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boards/pcm038/pcm038.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c index ea50a78..5e9c0fd 100644 --- a/arch/arm/boards/pcm038/pcm038.c +++ b/arch/arm/boards/p

[PATCH 06/12] blackfin: Use unsigned long for __kernel_size_t

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/blackfin/include/asm/posix_types.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/include/asm/posix_types.h b/arch/blackfin/include/asm/posix_types.h index b1bf245..9992929 100644 --- a/arch/blackfin/include/asm/posix_typ

[PATCH 08/12] introduce compile time loglevel

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- common/Kconfig | 16 + include/printk.h | 66 +++--- 2 files changed, 54 insertions(+), 28 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index b60b78b..30d6107 100644 --- a/common/Kconfi

[PATCH 01/12] consolidate print* in a single header

2013-01-29 Thread Sascha Hauer
From: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- include/common.h | 17 +--- include/driver.h | 29 --- include/printk.h | 58 ++

[PATCH 10/12] ARM mmu: Use pr_debug

2013-01-29 Thread Sascha Hauer
Also, specify a pr_fmt and add missing GPL header. Signed-off-by: Sascha Hauer --- arch/arm/cpu/mmu.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c index 40b7ec4..4b6db37 100644 --- a/arch/arm/cpu/mmu.c

[PATCH 02/12] mtd m25p80: consistenly switch to dev_* messages

2013-01-29 Thread Sascha Hauer
Also, fix variable names in m25p80_write debug message. Signed-off-by: Sascha Hauer --- drivers/mtd/devices/m25p80.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 428d126..55b1020 100644 --- a/d

[PATCH 05/12] nios2: Use unsigned long for __kernel_size_t

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/nios2/include/asm/posix_types.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nios2/include/asm/posix_types.h b/arch/nios2/include/asm/posix_types.h index 12906b3..5a901ff 100644 --- a/arch/nios2/include/asm/posix_types.h +++ b/a

[PATCH 04/12] nios2: Let readl return an unsigned int

2013-01-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/nios2/include/asm/io.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index a88f0e2..8ee48e0 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -37,7 +

[PATCH] introduce compiletime loglevel

2013-01-29 Thread Sascha Hauer
This makes the loglevel configurable at compile time. This allows to optimize away the lesser important messages from the binary. Also added is a pr_fmt macro as in the kernel which allows to define a file specific prefix to the pr_* messages. As a positive side effect pr_debug() and debug() is n

[PATCH 09/12] introduce pr_fmt

2013-01-29 Thread Sascha Hauer
With this the files can give more context to their pr_* messages by specifying a at the beginning of the files. Basically the same mechanism as in the Kernel. Signed-off-by: Sascha Hauer --- include/printk.h | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff -