Re: [PATCH 2/2] driver: workarroud resource request that conflist with errno PTR

2015-01-06 Thread Sascha Hauer
On Wed, Jan 07, 2015 at 11:14:32AM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > On Jan 6, 2015, at 8:44 PM, Sascha Hauer wrote: > > > > On Tue, Jan 06, 2015 at 12:37:06PM +0100, Jean-Christophe PLAGNIOL-VILLARD > > wrote: > >> broken since > >> > >> commit ed6e965824303255cacc1c1a195d

Re: [PATCH 9/9] defaultenv-2: create a specific defaultenv for splash

2015-01-06 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 6, 2015, at 8:57 PM, Sascha Hauer wrote: > > On Tue, Jan 06, 2015 at 01:43:28AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: diff --git a/defaultenv/defaultenv-2-splash/init/splash b/defaultenv/defaultenv-2-splash/init/splash new file mode 100644 index 000.

Re: [PATCH 2/2] driver: workarroud resource request that conflist with errno PTR

2015-01-06 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 6, 2015, at 8:44 PM, Sascha Hauer wrote: > > On Tue, Jan 06, 2015 at 12:37:06PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> broken since >> >> commit ed6e965824303255cacc1c1a195d3684caa26bce >> Author: Sascha Hauer >> resource: Let dev_request_mem_region return an error p

Re: [RFC, PATCH] i.MX6: phytec: Do not hardcode default environment

2015-01-06 Thread Andrey Smirnov
> Looking at it you should rather replace the compatible checks in > phytec_pfla02_init with their baseboards, so instead of: > > if (!of_machine_is_compatible("phytec,imx6q-pfla02") && > !of_machine_is_compatible("phytec,imx6dl-pfla02") && >

Re: [PATCH] i.MX: SPI: Respect SPI_LSB_FIRST flag in mode settings

2015-01-06 Thread Andrey Smirnov
> Better introduce a imx_xchg_single which does the necessary bit > reversing and calls imx->xchg_single. This avoids duplicating the code > for all three bits_per_word settings. > I like this idea. Will do for the next version of the patch. Thanks, Andrey ___

Re: [PATCH] net: cpsw: Fix crashes on beaglebone black

2015-01-06 Thread Sascha Hauer
On Mon, Jan 05, 2015 at 01:35:21PM +0100, Teresa Gámez wrote: > Hello Philippe, > > > > > [<9fe32349>] (unwind_backtrace+0x1/0x58) from [<9fe258e9>] (panic+0x1d/0x34) > > [<9fe258e9>] (panic+0x1d/0x34) from [<9fe327e1>] (do_exception+0xd/0x10) > > [<9fe327e1>] (do_exception+0xd/0x10) from [<9fe32

[PATCH] net: cpsw: ignore error on slave setup

2015-01-06 Thread Sascha Hauer
The CPSW has two slaves. When one of them fails to setup continue anyway with the other one. This fixes a crash in the beaglebone black which only has one slave connected. The code doesn't find a phy on the second slave and bails out, but the error path is broken: It frees the private data structur

Re: [PATCH] net: smc1111: fix memory congestions

2015-01-06 Thread Sascha Hauer
On Mon, Jan 05, 2015 at 05:16:48PM +0100, robert.jarz...@free.fr wrote: > > - Mail original - > De: "Sascha Hauer" > À: "Robert Jarzmik" > Cc: barebox@lists.infradead.org > Envoyé: Lundi 5 Janvier 2015 13:11:50 > Objet: Re: [PATCH] net: smc: fix memory congestions > > > I don't know

Re: [PATCH 1/2] arm: system_info fix CPU_IS_ARM1176

2015-01-06 Thread Sascha Hauer
On Mon, Jan 05, 2015 at 02:24:37PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > we need to apply the mask > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Applied both with s/usefull/useful/ Sascha -- Pengutronix e.K. | | Industri

Re: [PATCH v2] i2c: omap: fix fclk_rate for ti,omap4-i2c

2015-01-06 Thread Sascha Hauer
On Mon, Jan 05, 2015 at 01:22:04PM +0100, Jan Weitzel wrote: > On Thu, Dec 11, 2014 at 10:47:59AM +0100, Jan Weitzel wrote: > > The compatible "ti,omap4-i2c" don't help to get fclk_rate. So set it > > acording to > > cpu compatible: "ti,am33xx" and "ti,omap4" > > > > Signed-off-by: Jan Weitzel >

Re: [PATCH 1/2] arm: at91: fix ecc_mode on non atmel boards

2015-01-06 Thread Sascha Hauer
On Tue, Jan 06, 2015 at 12:37:05PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > since > commit 54bcca52cb4cbbecd1403b9091fe651bd0fd > Author: Raphaël Poggi > > mtd: atmel_nand: retrieve ecc_mode from pdata > > break most of the non atmel AT91 boards that did not provide a ecc_mode >

Re: [PATCH 9/9] defaultenv-2: create a specific defaultenv for splash

2015-01-06 Thread Sascha Hauer
On Tue, Jan 06, 2015 at 01:43:28AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > diff --git a/defaultenv/defaultenv-2-splash/init/splash > > > b/defaultenv/defaultenv-2-splash/init/splash > > > new file mode 100644 > > > index 000..04fdc8e > > > --- /dev/null > > > +++ b/defaultenv/def

Re: [PATCH 2/2] driver: workarroud resource request that conflist with errno PTR

2015-01-06 Thread Sascha Hauer
On Tue, Jan 06, 2015 at 12:37:06PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > broken since > > commit ed6e965824303255cacc1c1a195d3684caa26bce > Author: Sascha Hauer > resource: Let dev_request_mem_region return an error pointer > > Introduce dev_request_mem_region_err_null > > only

Re: [PATCH 1/2] arm: at91: fix ecc_mode on non atmel boards

2015-01-06 Thread Raphaël Poggi
Good catch, I ACK this patch. 2015-01-06 12:37 GMT+01:00 Jean-Christophe PLAGNIOL-VILLARD : > since > commit 54bcca52cb4cbbecd1403b9091fe651bd0fd > Author: Raphaël Poggi > > mtd: atmel_nand: retrieve ecc_mode from pdata > > break most of the non atmel AT91 boards that did not provide a ec

[PATCH 1/2] arm: at91: fix ecc_mode on non atmel boards

2015-01-06 Thread Jean-Christophe PLAGNIOL-VILLARD
since commit 54bcca52cb4cbbecd1403b9091fe651bd0fd Author: Raphaël Poggi mtd: atmel_nand: retrieve ecc_mode from pdata break most of the non atmel AT91 boards that did not provide a ecc_mode params in the nand pdata Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Raphaël Poggi ---

[PATCH 2/2] driver: workarroud resource request that conflist with errno PTR

2015-01-06 Thread Jean-Christophe PLAGNIOL-VILLARD
broken since commit ed6e965824303255cacc1c1a195d3684caa26bce Author: Sascha Hauer resource: Let dev_request_mem_region return an error pointer Introduce dev_request_mem_region_err_null only used on platform like at91 where the Ressource address collision with Signed-off-by: Jean-Christophe

[PATCH 0/2] FIX AT91 support

2015-01-06 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, This patch series fix at91 support that is broken for more than 3 months please apply this on fix releases Not even tested by Atmel when adding now SoC and Board The following changes since commit 631be8e6cbe003f469a7e6b54046a743b710d989: blspec: print error when

Re: [PATCH] net: rtl8169: remove unnecessary cache maintenance

2015-01-06 Thread Lucas Stach
Am Dienstag, den 06.01.2015, 13:56 +0300 schrieb Antony Pavlov: > On Mon, 05 Jan 2015 18:37:29 +0100 > Lucas Stach wrote: > > > Am Montag, den 05.01.2015, 20:19 +0300 schrieb Antony Pavlov: > > > On Sun, 4 Jan 2015 22:09:05 +0100 > > > Lucas Stach wrote: > > > > > > I suppose that this patch c

Re: [PATCH] net: rtl8169: remove unnecessary cache maintenance

2015-01-06 Thread Antony Pavlov
On Mon, 05 Jan 2015 18:37:29 +0100 Lucas Stach wrote: > Am Montag, den 05.01.2015, 20:19 +0300 schrieb Antony Pavlov: > > On Sun, 4 Jan 2015 22:09:05 +0100 > > Lucas Stach wrote: > > > > I suppose that this patch can make problems on MIPS with explicid cache > > handling. > > > How would it?

Re: beagle bone black: problem of boot from eMMC

2015-01-06 Thread Sascha Hauer
On Mon, Jan 05, 2015 at 10:41:52AM +0100, Teresa Gámez wrote: > Hello Manuel, > > Am Mittwoch, den 31.12.2014, 14:52 + schrieb manuelcur...@eaton.com: > > > > After, I wanted to boot from the the internal eMMC. > > So after boot from sd card, I mounted the eMMC (mount /dev/mmc1.0) and > > co

[PATCH] ARM: am335x bone: Fix Booting from eMMC

2015-01-06 Thread Sascha Hauer
Booting a beaglebone black from eMMC is broken since: commit 0d6392de4ad824a6553c0e3e3e18edef689a7c85 Author: Sascha Hauer Date: Thu Jun 5 12:09:07 2014 +0200 ARM: AM335x: Beaglebone: Use stripped down devicetree for MLO The stripped down device tree does not have the eMMC device node whi