[PATCH 1/1] of_add_memory: check the device_type is memory

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/of/base.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index f2986ab..fd9b8e1 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -738,12 +738,15 @@ int

Re: [PATCH v2 3/9] ARM: clps711x: Adds config option for CPU PLL multiplier

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:40 Wed 13 Feb , Sascha Hauer wrote: > On Wed, Feb 13, 2013 at 09:20:09PM +0400, Alexander Shiyan wrote: > > > > Signed-off-by: Alexander Shiyan > > > > --- > > > > arch/arm/boards/clep7212/lowlevel.c|6 +- > > > > arch/arm/mach-clps711x/Kconfig | 13

Re: [PATCH 2/6] of: make of_add_memory available for other board

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:31 Wed 13 Feb , Sascha Hauer wrote: > On Wed, Feb 13, 2013 at 11:06:40AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > so when the first stage booloader of firmware provide the dtb > > we can use it to probe the memory > > > > also allow to print

Re: [PATCH 1/2] cfa-10036: Use the second MMC partition to store the environment

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:45 Wed 13 Feb , Maxime Ripard wrote: > Since the only storage medium on the cfa-10036 is the MMC card, we need > to have a registered environment partition on it if we want to be able > to modify at runtime. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boards/crystalfontz-cfa10036

Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:50 Wed 13 Feb , Maxime Ripard wrote: > The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM > on it. > > Since it's not stored anywhere, we need to runtime detect it, thanks to > the get_ram_size function. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boards/crys

[PATCH 1/1] amba: pl011: set RTS during initialization

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
d-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/serial/amba-pl011.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c index 58c69e5..0e07588 100644 --- a/drivers/serial/amba-pl011.c +++ b/drivers/serial/amba-pl

Re: [SPAM] Re[2]: [PATCH v2 3/9] ARM: clps711x: Adds config option for CPU PLL multiplier

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:23 Wed 13 Feb , Alexander Shiyan wrote: > ... > > > diff --git a/arch/arm/boards/clep7212/lowlevel.c > > > b/arch/arm/boards/clep7212/lowlevel.c > > > index b7d6d1d..fcf8285 100644 > > > --- a/arch/arm/boards/clep7212/lowlevel.c > > > +++ b/arch/arm/boards/clep7212/lowlevel.c > > > @@ -1

Re: [PATCH v2 3/9] ARM: clps711x: Adds config option for CPU PLL multiplier

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:41 Wed 13 Feb , Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > arch/arm/boards/clep7212/lowlevel.c|6 +- > arch/arm/mach-clps711x/Kconfig | 13 + > arch/arm/mach-clps711x/include/mach/clps711x.h |2 +- > arch/ar

[PATCH 3/6] highbank: add xgmac support

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/Kconfig |3 + drivers/net/Makefile |1 + drivers/net/xgmac.c | 740 ++ 3 files changed, 744 insertions(+) create mode 100644 drivers/net/xgmac.c diff

[PATCH 5/6] highbank: add l2x0 support

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
not enable as on qemu this generate a undefined instruction exception Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig|1 + arch/arm/mach-highbank/Makefile |1 + arch/arm/mach-highbank/cache-l2x0.c | 45

[PATCH 4/6] arm: add highbank support

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
hci - net (XGMAC) Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig | 11 arch/arm/Makefile |2 + arch/arm/boards/highbank/Makefile |4 ++ arch/arm/boards/highban

[PATCH 6/6] highbank: use the provided dtb by the firmware to probe barebox device and mem size

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
pio ` fff35000.rtc ` fs ` ramfs0 ` devfs0 ` net ` global drivers: uart-pl011 sp804 pl061_gpio ramfs devfs tftp hb-xgmac ahci mem [barebox@Calxeda Highbank]:/ # Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/highbank/env/

[PATCH 2/6] of: make of_add_memory available for other board

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
so when the first stage booloader of firmware provide the dtb we can use it to probe the memory also allow to print what we probe Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/of/base.c | 20 ++-- include/of.h |6 ++ 2 files changed

[PATCH 1/6] ahci-generic: add oftree support

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
calxeda use the generic driver but have it's own compatible cf Linux kernel Documentation Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/ata/ahci.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 3a

[PATCH 0/6 v3] arm: add Calxeda Highbank support

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
probe barebox device and mem size (2013-02-13 02:35:56 +0800) Jean-Christophe PLAGNIOL-VILLARD (6): ahci-generic: add oftree support of: make of_add_memory available for other board highbank: add xgmac support

Re: [PATCH 1/1] highbank: use the provided dtb by the firmware to probe barebox device and mem size

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:18 Wed 13 Feb , Sascha Hauer wrote: > On Tue, Feb 12, 2013 at 10:11:00PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > the dtb is at 0x1000 > > > > if no dtb present use C code device > > > > kepp in C the timer/gpio/uart > > &g

Re: [PATCH 1/2] ahci: add generic driver

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:06 Tue 12 Feb , Sascha Hauer wrote: > On Mon, Feb 11, 2013 at 06:01:59PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD drop the ahci-generic we already have it in ahci.c did not see it before I update the dt suppo

Re: [PATCH 2/3] arm: add highbank support

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:47 Tue 12 Feb , Rob Herring wrote: > On 02/11/2013 01:08 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > > currently only tested under qemu > > > > qemu-system-arm -M highbank -nographic -m 4089 -kernel > > build/highbank/arch/arm/pbl/zbarebox -tftp ".&

Re: [PATCH 1/1] highbank: use the provided dtb by the firmware to probe barebox device and mem size

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:16 Tue 12 Feb , Rob Herring wrote: > On 02/12/2013 03:11 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > > the dtb is at 0x1000 > > > > if no dtb present use C code device > > > > kepp in C the timer/gpio/uart > > > > Cc: Rob Herring > &

Re: [PATCH 1/1] commands/ubi.c: Add support for VID header offset in ubiattach

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:49 Tue 12 Feb , Marc Kleine-Budde wrote: > On 02/11/2013 04:14 PM, Xavier Douville wrote: > > Hi > > > > Sascha Hauer wrote: > >> I don't know exactly, but I suspect something is wrong on your board > >> then. Normally the VID header offset should be detected correctly > >> automatically

Re: [PATCH 1/1] highbank: use the provided dtb by the firmware to probe barebox device and mem size

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi. it's a rfc Best Regards, J. On 22:11 Tue 12 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote: > the dtb is at 0x1000 > > if no dtb present use C code device > > kepp in C the timer/gpio/uart > > Cc: Rob Herring > Signed-off-by: Jean-Christophe PLAGNI

[PATCH 1/1] highbank: use the provided dtb by the firmware to probe barebox device and mem size

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
the dtb is at 0x1000 if no dtb present use C code device kepp in C the timer/gpio/uart Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/highbank/env/bin/init_board |7 + arch/arm/boards/highbank/init.c | 44

Re: [PATCH 1/1] ahci-generic: add oftree support

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:41 Tue 12 Feb , Rob Herring wrote: > On 02/12/2013 07:10 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: > > calxeda use the generic driver but have it's own compatible cf Linux kernel > > Documentation > > > > Cc: Rob Herring > > Signed-of

[PATCH 1/1] ahci-generic: add oftree support

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
calxeda use the generic driver but have it's own compatible cf Linux kernel Documentation Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/ata/ahci-generic.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/ata/ahci-generic.c b/driver

[PATCH 3/3] vexpress: detect the board periph mapping and detecting the sp804 mapping

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
at 0x10011000 for a9 legacy otherwise at 0x1c11 as the new board also support Cortex-A9 so this is working qemu/arm-softmmu/qemu-system-arm -M vexpress-a15 -m 1024 -smp 1 -kernel build/vexpress/barebox -pflash build/vexpress/flash -nographic -cpu cortex-a9 Signed-off-by: Jean-Christophe

[PATCH 2/3] sp804: introduce amba_is_arm_sp804 to detect if the sp804 is present at the address

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/clocksource/amba-sp804.c |6 +++--- include/linux/amba/sp804.h | 30 ++ 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 include/linux/amba/sp804.h diff --git a/drivers

[PATCH 1/3] amba: introduce amba_device_get_pid/cid

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use it on vexpress to detect the hardware mapping Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/amba/bus.c | 10 +++--- include/linux/amba/bus.h | 28 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/drivers/amba

[PATCH 0/3] vexpress: detect the mapping based on the amba devices

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
you to fetch changes up to 92b8828ad6b2b01248bd84888b8bbf920df85c31: vexpress: detect the board periph mapping and detecting the sp804 mapping (2013-02-12 05:53:04 +0800) Jean-Christophe PLAGNIOL-VILLARD (3): amba: introduce

[PATCH 1/1] amba: add oftree probe support

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
move ARM_AMBA Kconfig to drivers/amba/Kconfig Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- v3: only probe amba device when amba is enable Best Regards, J. arch/arm/Kconfig |3 --- drivers/Kconfig |1 + drivers/amba/Kconfig |2 ++ drivers/amba/bus.c |1

Re: [PATCH] console: consolidate common console code

2013-02-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:55 Tue 12 Feb , Sascha Hauer wrote: > The full console and the simple console share a good amount of code, > share this in console_common.c. maybe console_none too Best Regards, J. > > Signed-off-by: Sascha Hauer > --- > common/Makefile |4 +-- > common/console.c|

[PATCH v2] amba: add oftree probe support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- v2: fix platform not platfrom Best Regards, J. drivers/amba/bus.c |1 + drivers/of/base.c | 60 +--- 2 files changed, 53 insertions(+), 8 deletions(-) diff --git a/drivers/amba/bus.c b

Re: [PATCH 1/1] amba: add oftree probe support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:17 Mon 11 Feb , Sascha Hauer wrote: > On Mon, Feb 11, 2013 at 08:09:25PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > drivers/amba/bus.c |1 + > &

[PATCH 1/1] amba: add oftree probe support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/amba/bus.c |1 + drivers/of/base.c | 60 +--- 2 files changed, 53 insertions(+), 8 deletions(-) diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index d1ab53c..dcb52bf 100644

[PATCH 3/3] highbank: add l2x0 support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
not enable as on qemu this generate a undefined instruction exception Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig|1 + arch/arm/mach-highbank/Makefile |1 + arch/arm/mach-highbank/cache-l2x0.c | 45

[PATCH 1/3] highbank: add xgmac support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/Kconfig |3 + drivers/net/Makefile |1 + drivers/net/xgmac.c | 740 ++ 3 files changed, 744 insertions(+) create mode 100644 drivers/net/xgmac.c diff

[PATCH 2/3] arm: add highbank support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
hci - net (XGMAC) Cc: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig | 11 + arch/arm/Makefile |2 + arch/arm/boards/highbank/Makefile |4 ++ arch/arm/boards/highban

[PATCH 0/3 v2] arm: add Calxeda Highbank support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
repository at: git://git.jcrosoft.org/barebox.git delivery/highbank for you to fetch changes up to 48648694bbf909d53034c5b5c6ed019506ea5999: highbank: add l2x0 support (2013-02-11 12:02:58 +0800) Jean-Christophe PLAGNIOL

[PATCH 1/1] oftree: fix probe support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
in commit e118761c5f7e8 oftree command: refactor the Kconfig CMD_OFTREE_PROBE was remove Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/Kconfig |7 +++ 1 file changed, 7 insertions(+) diff --git a/commands/Kconfig b/commands/Kconfig index d3c338c..c1454c7 100644 --- a

[PATCH 1/3] highbank: add xgmac support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Rob Herring --- drivers/net/Kconfig |3 + drivers/net/Makefile |1 + drivers/net/xgmac.c | 731 ++ 3 files changed, 735 insertions(+) create mode 100644 drivers/net/xgmac.c diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig inde

[PATCH 2/3] arm: add highbank support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
highbank_register_uart(); + + return 0; +} +console_initcall(highbank_console_init); diff --git a/arch/arm/boards/highbank/lowlevel.c b/arch/arm/boards/highbank/lowlevel.c new file mode 100644 index 000..2ee57a9 --- /dev/null +++ b/arch/arm/boards/highbank/lowlevel.c

[PATCH 3/3] highbank: add l2x0 support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
CACHE_L2X0) += cache-l2x0.o smc.o diff --git a/arch/arm/mach-highbank/cache-l2x0.c b/arch/arm/mach-highbank/cache-l2x0.c new file mode 100644 index 000..f1e39dc --- /dev/null +++ b/arch/arm/mach-highbank/cache-l2x0.c @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD +

[PATCH 0/3] arm: add Calxeda Highbank support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
to 4a7b1e47fb54662421ef78d20d2d873d1f12101b: highbank: add l2x0 support (2013-02-11 10:01:48 +0800) Jean-Christophe PLAGNIOL-VILLARD (3): highbank: add xgmac support arm: add highbank support highbank: add l2x0

[PATCH 2/2] ahci: handle COMINIT received during spin-up

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
From: Rob Herring Some Intel SSDs can send a COMINIT after the initial COMRESET. This causes the link to go down and we need to re-initialize the link. Signed-off-by: Rob Herring Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/ata/ahci.c | 11 +-- 1 file changed, 9

[PATCH 1/2] ahci: add generic driver

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/ata/Kconfig|4 drivers/ata/Makefile |2 ++ drivers/ata/ahci-generic.c | 47 3 files changed, 53 insertions(+) create mode 100644 drivers/ata/ahci-generic.c diff

[PATCH 1/2] arm: cache-l2x0 update sync define with Linux 3.5

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Drop copy in cache-l2x0 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/cpu/cache-l2x0.c | 32 +--- arch/arm/include/asm/cache-l2x0.h | 150 + 2 files changed, 102 insertions(+), 80 deletions(-) rewrite arch/arm/include/asm/cache

[PATCH 2/2] arm: move outercase to cpu.c as some SoC as the ux500 always need to flush the l2x0

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/cpu/cpu.c | 22 -- arch/arm/cpu/mmu.c | 15 --- arch/arm/cpu/mmu.h |6 ++ 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/arch/arm/cpu/cpu.c b/arch/arm/cpu/cpu.c index

[PATCH 7/7 v2] macb: add cadence Gigabit GEM support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
based on the kernel code detect it via IP version In the GEM we can use a full packet buffer for receive but the buffer size need to be 64bit size aligned. Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 250

[PATCH 6/7 v2] macb: fix tx ring size

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
the mininal tx ring size is 2 as if one we wrap on the same descriptor and can cause IP lock on GEM (gigabit version) this is always the case Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 48

Re: [PATCH 6/7] macb: fix tx ring size

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:33 Mon 11 Feb , Sascha Hauer wrote: > On Fri, Feb 08, 2013 at 10:18:49AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > the mininal tx ring size is 2 as if one we wrap on the same descriptor > > and can cause IP lock on GEM (gigabit version) this is always the ca

[PATCH 3/3] arm: add vexpress board support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
-pflash build/vexpress/flash0 -nographic Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig | 10 ++ arch/arm/Makefile |2 + arch/arm/boards/vexpress/Kconfig | 10 ++ arch/arm/boards/vexpress

[PATCH 2/3] arm: add macro cpu_is_xxx

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can detect ARM920 ARM926 ARM1176 PXA250 PXA255 PXA270 Cortex-A8 Cortex-A5 Cortex-A7 Cortex-A9 Cortex-A15 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/include/asm/system_info.h | 63 1 file changed, 63 insertions(+) diff --git a

[PATCH 1/3] clocksource: add ARM AMBA SP804 support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/clocksource/Kconfig |4 ++ drivers/clocksource/Makefile |1 + drivers/clocksource/amba-sp804.c | 94 ++ 3 files changed, 99 insertions(+) create mode 100644 drivers/clocksource

[PATCH 0/3 v2] arm: add ARM Vexpress support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
b57ea102c02881da1400537d61dbec9e5c6a6ea1: arm: add vexpress board support (2013-02-11 04:56:09 +0800) Jean-Christophe PLAGNIOL-VILLARD (3): clocksource: add ARM AMBA SP804 support arm: add macro cpu_is_xxx arm: add vexpress board

Re: [For master PATCH 1/1] sama5de3k: add gmacb support

2013-02-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:30 Mon 11 Feb , Sascha Hauer wrote: > On Fri, Feb 08, 2013 at 10:28:44AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Cc: Nicolas Ferre > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > arch/arm/b

[PATCH 3/3] arm: add vexpress board support

2013-02-10 Thread Jean-Christophe PLAGNIOL-VILLARD
-pflash build/vexpress/flash0 -nographic Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/Kconfig | 10 ++ arch/arm/Makefile |2 + arch/arm/boards/vexpress/Kconfig | 10 ++ arch/arm/boards/vexpress

[PATCH 1/3] clocksource: add ARM AMBA SP804 support

2013-02-10 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/clocksource/Kconfig |4 ++ drivers/clocksource/Makefile |1 + drivers/clocksource/amba-sp804.c | 89 ++ 3 files changed, 94 insertions(+) create mode 100644 drivers/clocksource

[PATCH 2/3] arm: add macro cpu_is_xxx

2013-02-10 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can detect ARM920 ARM926 ARM1176 PXA250 PXA255 PXA270 Cortex-A8 Cortex-A5 Cortex-A7 Cortex-A9 Cortex-A15 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/include/asm/system_info.h | 63 1 file changed, 63 insertions(+) diff --git a

Re: [PATCH] DeviceTree: add support for initrd in the DT

2013-02-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:22 Sun 10 Feb , Vicente Bergas wrote: > Add the initrd start and end address to the DT, code comes from u-boot. > Use this addition on the ArchosG9 board as an example. split it in 2 patch > > Signed-off-by: Vicente Bergas > --- > arch/arm/boards/archosg9/env/config | 1 + > a

[PATCH 0/3] arm: add ARM Vexpress support

2013-02-10 Thread Jean-Christophe PLAGNIOL-VILLARD
eaeedaea725b031507ffa0ac44300116ff6ccd22: arm: add vexpress board support (2013-02-10 12:37:28 +0800) Jean-Christophe PLAGNIOL-VILLARD (3): clocksource: add ARM AMBA SP804 support arm: add macro cpu_is_xxx arm: add vexpress board

Re: [SPAM] Re[2]: [PATCH 03/11] ARM: clps711x: Adds config option for CPU PLL multiplier

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:58 Fri 08 Feb , Alexander Shiyan wrote: > Hello. > > ... > > > +menu "CLPS711X specific settings" > > > + > > > +config CLPS711X_CPU_PLL_MULT > > > + int "CPU PLL multiplier (20-50)" > > > + range 20 50 > > > + default "40" > > > + help > > > + Define CPU PLL multiplier. PLL is calcula

Re: [PATCH 6/7] macb: fix tx ring size

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:20 Fri 08 Feb , Alexander Aring wrote: > Hi, > > On Fri, Feb 08, 2013 at 10:18:49AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > the mininal tx ring size is 2 as if one we wrap on the same descriptor > > and can cause IP lock on GEM (gigabit version)

Re: [PATCH 03/11] ARM: clps711x: Adds config option for CPU PLL multiplier

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:02 Fri 08 Feb , Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > arch/arm/mach-clps711x/Kconfig| 13 + > arch/arm/mach-clps711x/lowlevel.c |4 ++-- > 2 files changed, 15 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-clps711x/Kcon

[For master PATCH 1/1] sama5de3k: add gmacb support

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/sama5d3xek/init.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c index 110a83f..d17e4c2 100644

[PATCH 0/1] sama5d3xek: add GEM Gigabig support

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
) Jean-Christophe PLAGNIOL-VILLARD (1): sama5de3k: add gmacb support arch/arm/boards/sama5d3xek/init.c | 31 +++ 1 file changed, 31 insertions(+) Best Regards, J. ___ barebox

[PATCH 7/7] macb: add cadence Gigabit GEM support

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
based on the kernel code detect it via IP version In the GEM we can use a full packet buffer for receive but the buffer size need to be 64bit size aligned. Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 246

[PATCH 2/7] macb: sync remaining define with linux

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 71 drivers/net/macb.h | 70 +++ 2 files changed, 92 insertions(+), 49 deletions(-) diff --git a

[PATCH 4/7] macb: enable Tramsmit and Receive at open

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 962a889..3026507 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -214,6

[PATCH 6/7] macb: fix tx ring size

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
the mininal tx ring size is 2 as if one we wrap on the same descriptor and can cause IP lock on GEM (gigabit version) this is always the case Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 50

[PATCH 3/7] macb: use the macro as in linux for tx/rx buffer ring size

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 4dc873d..962a889 100644 --- a/drivers/net/macb.c +++ b

[PATCH 5/7] macb: reset the IP at init

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 3026507..d6b60aa 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c

[PATCH 1/7] macb: call macb_init at probe explecitly

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
as eth_device init is planning for remove and we need the init before register the mdio bus Cc: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net

[For master PATCH 0/7] macb: more fixes + gem (gigabit support)

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
p to b7058953abdd014b9626b22d868fb29c1c563514: macb: add cadence Gigabit GEM support (2013-02-08 16:55:41 +0800) ---- Jean-Christophe PLAGNIOL-VILLARD (7): macb: call macb_init at probe explecitly macb: sync remaining define with linux

[PATCH 1/1] phy/micrel: KSZ9021 diasable Asym Pause support

2013-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Due to a hw bug do not enable teh Asym_Pause. Otherwise if you ser the bit 11 in 4h you will have to unplug and replug the cable to make the phy work. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/phy/micrel.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions

Re: [PATCH 1/2] net phy: Add support for finding a mdio bus by its name

2013-02-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:43 Thu 07 Feb , Sascha Hauer wrote: > On Thu, Feb 07, 2013 at 05:05:35PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 13:46 Thu 07 Feb , Sascha Hauer wrote: > > > On Thu, Feb 07, 2013 at 01:26:13PM +0100, Jean-Christophe > > > PLAGNIOL-VILLA

Re: [PATCH 1/2] net phy: Add support for finding a mdio bus by its name

2013-02-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:46 Thu 07 Feb , Sascha Hauer wrote: > On Thu, Feb 07, 2013 at 01:26:13PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 13:20 Thu 07 Feb , Sascha Hauer wrote: > > > On Thu, Feb 07, 2013 at 01:02:06PM +0100, Jean-Christophe > > > PLAGNIOL-VILLA

Re: [PATCH v2 0/2] at91sam9260/9g20ek: some cleanup

2013-02-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:43 Thu 07 Feb , Fabio Porcedda wrote: > I used some cleanup already done for the evk-pro3 board. > > Tested on atsam9260ek. > > Cc: Jean-Christophe PLAGNIOL-VILLARD > > v2: > - removed some parts in patch 1/3 as asked by Jean-Christophe > - removed

Re: [PATCH 1/2] net phy: Add support for finding a mdio bus by its name

2013-02-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:20 Thu 07 Feb , Sascha Hauer wrote: > On Thu, Feb 07, 2013 at 01:02:06PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 12:09 Thu 07 Feb , Sascha Hauer wrote: > > > Signed-off-by: Sascha Hauer > > > --- > >

Re: [PATCH] ARM i.MX6: Add support for SabreSD board

2013-02-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:19 Thu 07 Feb , Hubert Feurstein wrote: > Signed-off-by: Hubert Feurstein > --- > arch/arm/Makefile | 1 + > arch/arm/boards/freescale-mx6-sabresd/Makefile | 2 + > arch/arm/boards/freescale-mx6-sabresd/board.c | 236 > +

Re: [PATCH 1/2] net phy: Add support for finding a mdio bus by its name

2013-02-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:09 Thu 07 Feb , Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > drivers/net/phy/mdio_bus.c | 19 +++ > include/linux/phy.h|3 +++ > 2 files changed, 22 insertions(+) > > diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c > index

Re: [PATCH 2/4] macb: register the phy after the macb is init

2013-02-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:32 Wed 06 Feb , Sascha Hauer wrote: > On Wed, Feb 06, 2013 at 09:16:24PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 20:35 Wed 06 Feb , Sascha Hauer wrote: > > > On Tue, Feb 05, 2013 at 11:15:04AM +0100, Jean-Christophe > > > PLAGNIOL-VIL

Re: [PATCH 0/5] at91sam926x: drop AT91_BASE_SYS for sdram controller + gpio cleanup

2013-02-06 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, can we ahve this one on master this is the a cleanup done with the new arm-entry Best Regards, J. On 16:22 Sun 03 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote: > Hi, > > The following changes since commit cd5f8e8aaf808ae19e7c1d2890f90f7de809a2c5: > >

Re: [PATCH 2/4] macb: register the phy after the macb is init

2013-02-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:35 Wed 06 Feb , Sascha Hauer wrote: > On Tue, Feb 05, 2013 at 11:15:04AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > drivers/net/macb.c |2 +- > > 1 file changed, 1 insertion(+), 1 d

Re: [PATCH 1/3] at91: add boot mode detection support

2013-02-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:27 Wed 06 Feb , Sascha Hauer wrote: > +1 for getting something common. On i.MX we currently use the > barebox_loc environment variable. Not that I you should do the same for > Atmel, but we should come up with something both i.MX and Atmel can be > converted to. > > > + > > + dev = add

[PATCH 1/1] miitool: add GbE support

2013-02-06 Thread Jean-Christophe PLAGNIOL-VILLARD
100baseTx-HD 10baseT-FD 10baseT-HD advertising: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

Re: [PATCH 3/3] sama5d3: detect boot mode

2013-02-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:05 Wed 06 Feb , Alexander Aring wrote: > Hi, > > On Tue, Feb 05, 2013 at 07:03:00PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > and dynamised where we are stored > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > >

[PATCH 2/3] sama5d3: add boot mode supprot

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
on sama5d3 the bootmode is pass by the rom code via the register r4 so in the at91bootstrap we save the content of r4 in the 2nd gpbr and repass it via r4 to barebox you need to last at91bootstrap Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/mach-at91/Kconfig

[PATCH 3/3] sama5d3: detect boot mode

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
and dynamised where we are stored Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/sama5d3xek/init.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c index

[PATCH 1/3] at91: add boot mode detection support

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/mach-at91/Kconfig |8 arch/arm/mach-at91/Makefile|2 + arch/arm/mach-at91/bootmode.c | 57 ++ arch/arm/mach-at91/include/mach/bootmode.h | 70

[PATCH 0/3] at91: add boot mode detection support

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
ce538beef9fabea8c461a206bf0335eb582a9eee: sama5d3: detect boot mode (2013-02-05 11:29:18 +0800) Jean-Christophe PLAGNIOL-VILLARD (3): at91: add boot mode detection support sama5d3: add boot mode supprot sama5d3: detect

[PATCH 1/1] arm: rename reset and common_reset to barebox_arm_reset_vector and arm_cpu_lowlevel_init

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
reset is confusing with the cpu reset and impossible to grep Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/a9m2410/lowlevel_init.S|8 arch/arm/boards/a9m2440/lowlevel_init.S|8 arch/arm/boards/archosg9/lowlevel.c

Re: [PATCH v2 2/3] SPI: Add i.MX 23/28 SPI driver support

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:46 Tue 05 Feb , Michael Grzeschik wrote: > Signed-off-by: Michael Grzeschik > --- > changes since v1: > - renamed patch to more clear subject > - whitespace fixes > - catched more error returns, as EIO > - explicit affected archs as kconfig dependency > - used dev_{dbg,info,err} ins

Re: [RFC] gpiolib: import gpio_request_array() from linux 3.7

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:29 Tue 05 Feb , Sascha Hauer wrote: > On Tue, Feb 05, 2013 at 10:10:18AM +0400, Antony Pavlov wrote: > > On 4 February 2013 12:37, Sascha Hauer wrote: > > > On Mon, Feb 04, 2013 at 01:22:39AM +0400, Antony Pavlov wrote: > > >> On 4 February 2013 01:13, Je

[PATCH 3/4] macb: report timeout on send

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 8eac4a8..641b365 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -111,6 +111,7 @@ static

[PATCH 1/4] macb: use dev_xx message

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 18ac3f8..15b1e93 100644 --- a/drivers/net/macb.c +++ b/drivers/net

[PATCH 4/4] macb: drop non used define

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 641b365..9d2dfd2 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -68,10 +68,6 @@ struct macb_dma_desc

[PATCH 2/4] macb: register the phy after the macb is init

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/macb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 15b1e93..8eac4a8 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -476,8 +476,8 @@ static int

[PATCH 0/4] macb: more fixes

2013-02-05 Thread Jean-Christophe PLAGNIOL-VILLARD
450794f1d7ab6de54ebfab9d8a615d0ed6a1850e: macb: drop non used define (2013-02-05 03:42:40 +0800) Jean-Christophe PLAGNIOL-VILLARD (4): macb: use dev_xx message macb: register the phy after the macb is init macb: report timeout on

Re: the different between getopt and getopts

2013-02-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:58 Mon 04 Feb , Alexander Aring wrote: > Hi, > > barebox has a builtin "getopt" hush implementation. But this "getopt" > implementation used a syntax which is more like "getopts". > > "getopt" and "getopts" do the same thing in different syntax. See: > > http://aplawrence.com/Unix/geto

Re: [RFC] gpiolib: import gpio_request_array() from linux 3.7

2013-02-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:16 Sun 03 Feb , Antony Pavlov wrote: > Also import related functions gpio_request_one() and > gpio_free_array(). > > Signed-off-by: Antony Pavlov > --- > drivers/gpio/gpio.c | 66 > +++ > include/gpio.h | 43

Re: [PATCH 1/5] usb-a926x: only provide the resource if the driver is enable

2013-02-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:24 Sun 03 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote: > usefull for bootstrap > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- ingore this patch Best Regards, J. > arch/arm/boards/usb-a926x/init.c |9 + > 1 file changed, 9 insertions(+) >

<    5   6   7   8   9   10   11   12   13   14   >