Re: [PATCH v2 0/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Sascha Hauer
On Wed, Dec 05, 2018 at 04:28:30PM +0300, Antony Pavlov wrote: > On Wed, 5 Dec 2018 16:21:54 +0300 > Antony Pavlov wrote: > > Haste makes waste. Don't worry, this won't be seen in the repository ;) Applied, thanks Sascha -- Pengutronix e.K. |

Re: [PATCH 04/15] scripts/Kbuild.include: replace KBUILD_CPPFLAGS with CPPFLAGS

2018-12-05 Thread Sascha Hauer
On Wed, Dec 05, 2018 at 09:22:29PM +0900, Masahiro Yamada wrote: > On Thu, Nov 29, 2018 at 8:31 PM Steffen Trumtrar > wrote: > > > > The barebox Makefiles do not use KBUILD_CPPFLAGS but CPPFLAGS as variable > > name. > > > > Signed-off-by: Steffen Trumtrar > > --- > > > This might be a step

Re: [PATCH] documentation: document eMMC boot{0, 1}-partitions binding

2018-12-05 Thread Sascha Hauer
On Wed, Dec 05, 2018 at 12:56:22PM +0100, Ahmad Fatoum wrote: > The described binding was implemented in commit 6e9a87b39 > ("mci: Allow to partition eMMC boot partitions"). > > Signed-off-by: Ahmad Fatoum > --- > .../devicetree/bindings/mtd/partition.txt | 18 ++ > 1 file

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

2018-12-05 Thread Sascha Hauer
On Tue, Dec 04, 2018 at 10:36:18PM +0100, Oleksij Rempel wrote: > 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

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

2018-12-05 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel --- drivers/net/usb/smsc95xx.c | 17 ++--- drivers/net/usb/smsc95xx.h | 17 ++--- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index 6360e480f..3c5bd1e4e 100644 ---

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

2018-12-05 Thread Oleksij Rempel
Reviewed-by: Roland Hieber 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 +

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

2018-12-05 Thread Oleksij Rempel
Am 05.12.18 um 14:09 schrieb Roland Hieber: > On Tue, Dec 04, 2018 at 10:50:01PM +0100, Oleksij Rempel wrote: >> Signed-off-by: Oleksij Rempel >> --- >> drivers/net/phy/ar8327.c| 6 +- >> drivers/net/phy/at803x.c| 6 +- >> drivers/net/phy/davicom.c | 7 +-- >>

[PATCH 2/3] ARM: dts: phyCORE-i.MX 6UL/ULL: Enable USB OTG on port 1

2018-12-05 Thread Stefan Riedmueller
From: Fabian Godehardt Enable USB OTG support on USB OTG port 1 of the phyCORE-i.MX 6UL/ULL. Signed-off-by: Fabian Godehardt Signed-off-by: Stefan Riedmueller --- arch/arm/dts/imx6ul-phytec-phycore-som.dts | 4 arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 14 ++

issues communicating with SPI on Raspberry Pi 3

2018-12-05 Thread Kai Che
Hi all, I'm trying to communicate with a TPM 2.0 (infineon,slb9670) over SPI on a Raspberry Pi 3 in barebox. CONFIG_SPI=y CONFIG_DRIVER_SPI_GPIO=y CONFIG_CMD_SPI=y are set in the barebox configuration and dtparam=spi=on is set in the /boot/config.txt on the raspberry pi. But when checking

Re: [PATCH v3 08/10] MIPS: port all mach* to multiimage

2018-12-05 Thread Oleksij Rempel
Am 05.12.18 um 09:50 schrieb Antony Pavlov: > On Tue, 27 Nov 2018 10:19:33 +0100 > Oleksij Rempel wrote: > > > ... > >> diff --git a/arch/mips/boards/8devices-lima/include/board/board_pbl_start.h >> b/arch/mips/boards/8devices-lima/lowlevel.S >> similarity index 78% >> rename from

Re: [PATCH v2 0/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
On Wed, 5 Dec 2018 16:21:54 +0300 Antony Pavlov wrote: Haste makes waste. Sorry! The correct subject for this message is "[PATCH v2 0/4] checkpatch.pl: port misc linux commits". > Changes since PATCH v1: > > * fix linux kernel git repo hash sums in "checkpatch.pl: check > for common

[PATCH v2 4/4] checkpatch.pl: check for #if 0/#if 1

2018-12-05 Thread Antony Pavlov
The #if 0 or #if 1 is used to toggle features. Warn if #if 0 or #if 1 is present and suggest that they can be removed. Based on 60f890105547f7a4 ("checkpatch: check for #if 0/#if 1") Linux kernel commit. Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 11 --- 1 file changed, 8

[PATCH v2 3/4] checkpatch.pl: use SPDX tag

2018-12-05 Thread Antony Pavlov
Also add Joe's copyright. Based on Linux kernel commit 882ea1d64eb3956 ("scripts: use SPDX tag in get_maintainer and checkpatch"). Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl

[PATCH v2 1/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
Based on commit 000d1cc1829f938c ("checkpatch.pl: add ability to ignore various messages") from Linux kernel. This simplifies current linux kernel checkpatch.pl commit adoption for barebox due to conversion of 1-argument ERROR($1), WARN($1) and CHK($1) subs into 2-argument ERROR($1, $2), WARN($1,

[PATCH v2 0/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
Changes since PATCH v1: * fix linux kernel git repo hash sums in "checkpatch.pl: check for common memset parameter issues against statements" commit message. Antony Pavlov (4): checkpatch.pl: add ability to ignore various messages checkpatch.pl: check for common memset parameter issues

[PATCH v2 2/4] checkpatch.pl: check for common memset parameter issues against statements

2018-12-05 Thread Antony Pavlov
Based on these Linux kernel commits > 309c00c73f053a90 checkpatch: warn about memset with swapped arguments > 554e165cf32610ec checkpatch: check for common memset parameter issues against > statments Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 22 ++ 1 file

[PATCH 4/4] checkpatch.pl: check for #if 0/#if 1

2018-12-05 Thread Antony Pavlov
The #if 0 or #if 1 is used to toggle features. Warn if #if 0 or #if 1 is present and suggest that they can be removed. Based on 60f890105547f7a4 ("checkpatch: check for #if 0/#if 1") Linux kernel commit. Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 11 --- 1 file changed, 8

[PATCH 1/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
Based on commit 000d1cc1829f938c ("checkpatch.pl: add ability to ignore various messages") from Linux kernel. This simplifies current linux kernel checkpatch.pl commit adoption for barebox due to conversion of 1-argument ERROR($1), WARN($1) and CHK($1) subs into 2-argument ERROR($1, $2), WARN($1,

[PATCH 0/4] checkpatch.pl: port misc linux commits

2018-12-05 Thread Antony Pavlov
Antony Pavlov (4): checkpatch.pl: add ability to ignore various messages checkpatch.pl: check for common memset parameter issues against statements checkpatch.pl: use SPDX tag checkpatch.pl: check for #if 0/#if 1 scripts/checkpatch.pl | 508 ++

[PATCH 3/4] checkpatch.pl: use SPDX tag

2018-12-05 Thread Antony Pavlov
Also add Joe's copyright. Based on Linux kernel commit 882ea1d64eb3956 ("scripts: use SPDX tag in get_maintainer and checkpatch"). Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl

[PATCH 2/4] checkpatch.pl: check for common memset parameter issues against statements

2018-12-05 Thread Antony Pavlov
Based on these Linux kernel commits > 09c00c73f053a905 checkpatch: warn about memset with swapped arguments > 54e165cf32610ec9 checkpatch: check for common memset parameter issues against > statments Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 22 ++ 1 file

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

2018-12-05 Thread Roland Hieber
On Tue, Dec 04, 2018 at 10:50:01PM +0100, Oleksij Rempel wrote: > 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 +- >

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

2018-12-05 Thread Roland Hieber
On Tue, Dec 04, 2018 at 10:36:18PM +0100, Oleksij Rempel wrote: > Signed-off-by: Oleksij Rempel Looks good to me. Reviewed-by: Roland Hieber > --- > drivers/net/ag71xx.c | 5 + > drivers/net/altera_tse.c | 15 +-- > drivers/net/altera_tse.h | 5

Re: [PATCH 04/15] scripts/Kbuild.include: replace KBUILD_CPPFLAGS with CPPFLAGS

2018-12-05 Thread Masahiro Yamada
On Wed, Dec 5, 2018 at 9:22 PM Masahiro Yamada wrote: > > On Thu, Nov 29, 2018 at 8:31 PM Steffen Trumtrar > wrote: > > > > The barebox Makefiles do not use KBUILD_CPPFLAGS but CPPFLAGS as variable > > name. > > > > Signed-off-by: Steffen Trumtrar > > --- > > > This might be a step backward. >

Re: [PATCH 04/15] scripts/Kbuild.include: replace KBUILD_CPPFLAGS with CPPFLAGS

2018-12-05 Thread Masahiro Yamada
On Thu, Nov 29, 2018 at 8:31 PM Steffen Trumtrar wrote: > > The barebox Makefiles do not use KBUILD_CPPFLAGS but CPPFLAGS as variable > name. > > Signed-off-by: Steffen Trumtrar > --- This might be a step backward. In old days, Linux also used well-known CPPFLAGS. Then Linux renamed

[PATCH] documentation: document eMMC boot{0,1}-partitions binding

2018-12-05 Thread Ahmad Fatoum
The described binding was implemented in commit 6e9a87b39 ("mci: Allow to partition eMMC boot partitions"). Signed-off-by: Ahmad Fatoum --- .../devicetree/bindings/mtd/partition.txt | 18 ++ 1 file changed, 18 insertions(+) diff --git

Re: [PATCH v3 08/10] MIPS: port all mach* to multiimage

2018-12-05 Thread Antony Pavlov
On Tue, 27 Nov 2018 10:19:33 +0100 Oleksij Rempel wrote: ... > diff --git a/arch/mips/boards/8devices-lima/include/board/board_pbl_start.h > b/arch/mips/boards/8devices-lima/lowlevel.S > similarity index 78% > rename from arch/mips/boards/8devices-lima/include/board/board_pbl_start.h > rename