[PATCH] commands: gpio_direction_output: add missed VALUE parameter to help message

2014-06-16 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- commands/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/gpio.c b/commands/gpio.c index 9d9d169..4f2d93e 100644 --- a/commands/gpio.c +++ b/commands/gpio.c @@ -104,7 +104,7 @@ static int do_gpio_direction_output(int argc, char *

Re: [PATCH] ARM: AM335x: Beaglebone: Fix memory setup for Beaglebone black

2014-06-16 Thread Antony Pavlov
On Mon, 16 Jun 2014 23:35:13 +0200 Sascha Hauer wrote: > Hi Antony, > > On Mon, Jun 16, 2014 at 09:08:59PM +0400, Antony Pavlov wrote: > > On Mon, 16 Jun 2014 17:13:54 +0200 > > Philipp Zabel wrote: > > > > Question to Sascha. > > > > Can we preserve the 'memory' dts record in situations like

Re: [PATCH] ARM: AM335x: Beaglebone: Fix memory setup for Beaglebone black

2014-06-16 Thread Sascha Hauer
Hi Antony, On Mon, Jun 16, 2014 at 09:08:59PM +0400, Antony Pavlov wrote: > On Mon, 16 Jun 2014 17:13:54 +0200 > Philipp Zabel wrote: > > Question to Sascha. > > Can we preserve the 'memory' dts record in situations like this? > > Is it possible just alter dts in early init code? > Or somethin

Re: [PATCH] ARM: AM335x: Beaglebone: Fix memory setup for Beaglebone black

2014-06-16 Thread Antony Pavlov
On Mon, 16 Jun 2014 17:13:54 +0200 Philipp Zabel wrote: Question to Sascha. Can we preserve the 'memory' dts record in situations like this? Is it possible just alter dts in early init code? Or something else? > From: Philipp Zabel > > Commit 0d6392de4ad824a6553c0e3e3e18edef689a7c85 introduc

[PATCH] ARM: AM335x: Beaglebone: Fix memory setup for Beaglebone black

2014-06-16 Thread Philipp Zabel
From: Philipp Zabel Commit 0d6392de4ad824a6553c0e3e3e18edef689a7c85 introduced a stripped down device tree used for both white and black Beaglebone variants that included the 256 MiB memory node from am335x-bone-common.dtsi. This leads to the following error in the MLO: mmu: Critical Error:

Re: [PATCH] [WIP] i2c: add Marvell 64xxx driver

2014-06-16 Thread Antony Pavlov
On Mon, 16 Jun 2014 11:52:17 +0400 Antony Pavlov wrote: Sorry, I have forgot to add RFC to the message's subject. > This driver is also used for Allwinner SoCs I2C controllers. > > Ported from linux-3.15. > > The most notable barebox driver version changes: > > * drop message offloading sup

[RFC 2/2] [WIP] gpio: add driver for PCA95[357]x, PCA9698, TCA64xx, and MAX7310 SMBus I/O expanders

2014-06-16 Thread Antony Pavlov
TODOs: * can we drop depricated device-tree properties? Signed-off-by: Antony Pavlov --- drivers/gpio/Kconfig| 20 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-pca953x.c | 511 include/platform_data/pca953x.h | 27 +++

[RFC 1/2] [WIP] i2c: import SMBus stuff from linux

2014-06-16 Thread Antony Pavlov
can we move it to drivers/i2c/i2c-smbus.c? Signed-off-by: Antony Pavlov --- drivers/i2c/i2c.c | 368 ++ include/i2c/i2c.h | 64 ++ 2 files changed, 432 insertions(+) diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c index 9873957..16

[PATCH] [WIP] i2c: add Marvell 64xxx driver

2014-06-16 Thread Antony Pavlov
This driver is also used for Allwinner SoCs I2C controllers. Ported from linux-3.15. The most notable barebox driver version changes: * drop message offloading support; * add reg-io-width parameter to use driver with byte-oriented controller versions. TODOs: * check timeout in mv64xx

[RFC v2 1/2] [WIP] net.h: add ETH_ALEN constant; fix whitespaces

2014-06-16 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- include/net.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/net.h b/include/net.h index c0f7517..364011b 100644 --- a/include/net.h +++ b/include/net.h @@ -369,6 +369,8 @@ static inline int is_broadcast_ether_addr(const u8 *ad

[RFC v2 2/2] [WIP] net: add initial ENC28J60 support

2014-06-16 Thread Antony Pavlov
ENC28J60 is a stand-alone Ethernet controller with SPI Interface. and integrated 10BASE-T PHY. This driver was ported from linux-3.15. The most notable barebox driver version changes: * add device tree support; * use IF_ENABLED for checking CONFIG_ENC28J60_WRITEVERIFY; * add mii_bus support

Re: atmel_nand pmecc on 8k page [RFC]

2014-06-16 Thread Bo Shen
Hi Matteo, On 06/13/2014 08:48 PM, Matteo Fortini wrote: Hi all, glad you found my patch useful. Sascha rejected it because he sees it more fit to separate the initialization of sama5d3 and sam9 since they are quite different. I started, as advised by Sascha, to create into sam9_smc.c the funct