[PATCH] console_countdown: ignore errors in getchar()

2017-09-20 Thread Aleksander Morgado
The getchar() call may return an error reported as a -1, e.g. when the console detects a RATP message and switches to RATP mode. In general it probably is a good idea to ignore these errors in the console countdown operation; and in particular for the RATP usecase, this also prevents from

[PATCH v1 2/3] MIPS: dts: tl_wdr4300: add Atheros ART partition

2017-09-20 Thread Oleksij Rempel
and define it as source of MAC address for ag71xx driver Signed-off-by: Oleksij Rempel --- arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts

[PATCH v1 3/3] MIPS: ath79: provide driver for Atheros ART partition

2017-09-20 Thread Oleksij Rempel
this partition contains calibration data for WiFi and some board specific data, like MAC address. For now we care only about MAC. Signed-off-by: Oleksij Rempel --- arch/mips/mach-ath79/Makefile | 1 + arch/mips/mach-ath79/art.c| 126

[PATCH v1 1/3] net: ag71xx: define parent devices

2017-09-20 Thread Oleksij Rempel
without it we are not able to set mac address from other driver. Signed-off-by: Oleksij Rempel --- drivers/net/ag71xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ag71xx.c b/drivers/net/ag71xx.c index 1cec26360..a422aacdd 100644 ---

[PATCH] mmc: allow skipping SD card initialization

2017-09-20 Thread Philipp Zabel
This patch allows to skip SD card initialization for eMMCs by setting the "no-sd" property in the host controller device tree node. Avoiding two SD command timeouts speeds up detection time by well over 200 ms. Signed-off-by: Philipp Zabel --- drivers/mci/mci-core.c | 12

Re: [PATCH] lib,ratp: avoid too verbose info messages

2017-09-20 Thread Sascha Hauer
On Tue, Sep 19, 2017 at 02:36:41PM -0700, Aleksander Morgado wrote: > When using a cli-based RATP that opens and closes the RATP channel for > each command sent/received, it gets annoying to get the "Closed" > message printed all the time in console after each RATP channel close > operation. Just

Re: [PATCH 2/2] imx-bbu-nand-fcb: fix build on MX28 only

2017-09-20 Thread Sascha Hauer
On Sat, Sep 16, 2017 at 03:48:09PM +0200, Sam Ravnborg wrote: > Hi Lucas. > > On Fri, Sep 15, 2017 at 11:07:08AM +0200, Lucas Stach wrote: > > This code may be compiled without ARCH_IMX6 present, so it must not > > depend on any functions provided by the architecture support. > > > > Fixes:

Re: [PATCH v3 00/10] provide ethernet support for ar9344 and ar9331

2017-09-20 Thread Sascha Hauer
On Mon, Sep 18, 2017 at 11:36:48AM +0300, Antony Pavlov wrote: > On Mon, 18 Sep 2017 08:41:03 +0200 > Sascha Hauer wrote: > > > On Thu, Sep 14, 2017 at 10:24:59AM +0200, Oleksij Rempel wrote: > > > changes v3: > > > - ag71xx_ether_halt had wrong timeout test. > > > -

Re: [PATCH] memtest: fix list iteration in region setup

2017-09-20 Thread Sascha Hauer
On Mon, Sep 18, 2017 at 02:26:28PM +0200, Steffen Trumtrar wrote: > When memory regions start at 0, the current mem_test_request_regions function > wrongly assumes that struct resource *r points at the correct region. It > points > to the first region however (which starts at 0). > > The comment

Re: [PATCH v1] net: ag71xx: disable eth interface on barebox shutdown

2017-09-20 Thread Sascha Hauer
On Mon, Sep 18, 2017 at 06:41:45PM +0200, Oleksij Rempel wrote: > If not disable, DMA RX engine will keep to write in to allocated > memory area. As soon as some code or data of target OS will be placed to > this area it will be overwritten by incoming network package. > > Signed-off-by: Oleksij

Re: [PATCH] bootm: bootm_open_initrd_uimage(): propagate error if initrd verification fails

2017-09-20 Thread Sascha Hauer
On Tue, Sep 19, 2017 at 01:49:07PM +0200, Marc Kleine-Budde wrote: > If the verification of an initrd inside of an uImage fails an error message is > printed but the error is not propagated. Although this is not security > relevant, as the verification is currently only a CRC32 check, the error >

Re: [PATCH 11/12] of: base: add funtion to copy a device tree node

2017-09-20 Thread Sascha Hauer
In the subject: s/funtion/function/ Sascha On Fri, Sep 15, 2017 at 10:39:21AM +0200, Lucas Stach wrote: > From: Michael Olbrich > > Signed-off-by: Michael Olbrich > Signed-off-by: Lucas Stach > --- >