Re: [PATCH] phytec-som-imx6: ksz8081_phy_fixup: Don't override B-CAST_OFF strap-in

2018-12-04 Thread Sascha Hauer
On Tue, Dec 04, 2018 at 11:43:45AM +0100, Stefan Riedmueller wrote: > From: Jan Remmet > > As PHY address 0 is not used on PHYTEC i.MX 6 and i.MX 6UL SOMs we do > not have to override the B-CAST_OFF strap-in which disables broadcast > on PHY address 0. > > Also add some comments about the magic

Re: [PATCH] lib: bootstrap: fix instance of possibly mismatched pointer sizes

2018-12-04 Thread Sascha Hauer
On Tue, Dec 04, 2018 at 10:13:18AM +0100, Ahmad Fatoum wrote: > len was int but is passed to read_file(..., size_t *size), > Fix this. > > Signed-off-by: Ahmad Fatoum > --- > lib/bootstrap/disk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha > > diff --git

Re: [PATCH] nvmem: ocotp: Add support for second mac address fuses on imx6ul

2018-12-04 Thread Sascha Hauer
On Tue, Dec 04, 2018 at 10:12:27AM +0100, Stefan Riedmueller wrote: > From: Christian Hemp > > The i.MX 6UL/ULL has fuses for two MAC addresses. Both MAC addresses > share the fuse address 0x23. > > - > 0x22| MAC0 | MAC0 | MAC0 | MAC0 | >

Re: [PATCH 2/2] mtd: spi-nor: Add support for sst25wf040b

2018-12-04 Thread Sascha Hauer
On Tue, Dec 04, 2018 at 10:11:35AM +0100, Ahmad Fatoum wrote: > From: Yao Yuan > > Signed-off-by: Yuan Yao > Signed-off-by: Brian Norris > [Linux upstream commit: c887be71cc39] > Signed-off-by: Ahmad Fatoum > --- > drivers/mtd/spi-nor/spi-nor.c | 1 + > 1 file changed, 1 insertion(+)

[PATCH v1] drivers: net: phy: convert drivers to spdx

2018-12-04 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/phy/ar8327.c| 6 +- drivers/net/phy/at803x.c| 6 +- drivers/net/phy/davicom.c | 7 +-- drivers/net/phy/lxt.c | 6 +- drivers/net/phy/mdio-bitbang.c | 5 + drivers/net/phy/mdio-gpio.c | 5

[PATCH v2] drivers: net: convert drivers to spdx

2018-12-04 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/ag71xx.c | 5 + drivers/net/altera_tse.c | 15 +-- drivers/net/altera_tse.h | 5 + drivers/net/ar231x.c | 6 +- drivers/net/ar231x.h | 9 + drivers/net/arc_emac.c

[PATCH] phytec-som-imx6: ksz8081_phy_fixup: Don't override B-CAST_OFF strap-in

2018-12-04 Thread Stefan Riedmueller
From: Jan Remmet As PHY address 0 is not used on PHYTEC i.MX 6 and i.MX 6UL SOMs we do not have to override the B-CAST_OFF strap-in which disables broadcast on PHY address 0. Also add some comments about the magic values. Signed-off-by: Jan Remmet Signed-off-by: Stefan Riedmueller ---

[PATCH] arm: common: document safe usage of arm_setup_stack

2018-12-04 Thread Ahmad Fatoum
Cc: Lucas Stach Signed-off-by: Ahmad Fatoum --- arch/arm/include/asm/common.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/common.h b/arch/arm/include/asm/common.h index c32cdfe5ec2f..72ac988cc131 100644 --- a/arch/arm/include/asm/common.h +++

[PATCH] lib: bootstrap: fix instance of possibly mismatched pointer sizes

2018-12-04 Thread Ahmad Fatoum
len was int but is passed to read_file(..., size_t *size), Fix this. Signed-off-by: Ahmad Fatoum --- lib/bootstrap/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootstrap/disk.c b/lib/bootstrap/disk.c index a55d5d77f4cf..fd016166e6e4 100644 ---

[PATCH] nvmem: ocotp: Add support for second mac address fuses on imx6ul

2018-12-04 Thread Stefan Riedmueller
From: Christian Hemp The i.MX 6UL/ULL has fuses for two MAC addresses. Both MAC addresses share the fuse address 0x23. - 0x22| MAC0 | MAC0 | MAC0 | MAC0 | - 0x23| MAC0 | MAC0 | MAC1 |

[PATCH 2/2] mtd: spi-nor: Add support for sst25wf040b

2018-12-04 Thread Ahmad Fatoum
From: Yao Yuan Signed-off-by: Yuan Yao Signed-off-by: Brian Norris [Linux upstream commit: c887be71cc39] Signed-off-by: Ahmad Fatoum --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index

[PATCH 1/2] mtd: spi-nor: Add support for sst25wf020a

2018-12-04 Thread Ahmad Fatoum
From: Alexis Ballier It is a 256KiB flash with 4 KiB erase sectors and 64KiB overlay blocks. This is the one available on Hardkernel's Odroid U3 shield. Signed-off-by: Alexis Ballier [Brian: seems like this does NOT require the usual SST_WRITE hacks] Signed-off-by: Brian Norris [Linux

Re: [PATCH v1] drivers: net: convert drivers to spdx

2018-12-04 Thread Oleksij Rempel
On 04.12.18 09:29, Roland Hieber wrote: On Mon, Dec 03, 2018 at 08:14:29PM +0100, Lucas Stach wrote: Am Montag, den 03.12.2018, 19:38 +0100 schrieb Oleksij Rempel: /* * Atheros AR71xx built-in ethernet mac driver * @@ -5,10 +6,6 @@ * Copyright (C) 2008 Imre Kaloz * *

Re: [PATCH v1] drivers: net: convert drivers to spdx

2018-12-04 Thread Roland Hieber
On Mon, Dec 03, 2018 at 08:14:29PM +0100, Lucas Stach wrote: > Am Montag, den 03.12.2018, 19:38 +0100 schrieb Oleksij Rempel: > > /* > > * Atheros AR71xx built-in ethernet mac driver > > * > > @@ -5,10 +6,6 @@ > > * Copyright (C) 2008 Imre Kaloz > > * > > * Based on Atheros' AG7100

[PATCH] fixup! drivers: caam: add RNG software self-test

2018-12-04 Thread Roland Hieber
Demote this warning to an info because the failure is expected and we can work around it. The self-test will still error afterwards in case of failure. Signed-off-by: Roland Hieber --- On Tue, Dec 04, 2018 at 08:49:58AM +0100, Sascha Hauer wrote: > On Mon, Dec 03, 2018 at 11:52:26AM +0100,

Re: [PATCH v1] defaultenv-2: add bnet script to second stage barebox over net

2018-12-04 Thread Sascha Hauer
On Fri, Nov 30, 2018 at 04:05:20PM +0100, Oleksij Rempel wrote: > Doing cycling barebox boot over the net is a good testing practice. > It is possible to detect at least some bugs before flushing it to > the system. Suddenly it looks like, it is done not oft enough. So, let's > add this option