[U-Boot] Pull request: u-boot-rockchip-20191026

2019-10-26 Thread Kever Yang
The following changes since commit 15147dc6a96697880cf355ed9df127bd8c896f2c: Merge branch '2019-10-24-ti-imports' (2019-10-25 17:33:28 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20191026 for yo

Re: [U-Boot] [PATCH 0/9] phy: atheros: cleanup and device tree bindings

2019-10-26 Thread Michael Walle
Hi Adam, Am 2019-10-26 05:28, schrieb Adam Ford: On Fri, Oct 25, 2019 at 10:20 PM Adam Ford wrote: On Fri, Oct 25, 2019 at 7:27 PM Michael Walle wrote: > > This series cleans up the Atheros PHY AR803x PHY driver and adds a > device tree binding for the most commonly used PHY settings like

Re: [U-Boot] [PATCH v6 0/3] End of the MTD makefile cleanup

2019-10-26 Thread Jagan Teki
On Fri, Oct 25, 2019 at 11:09 PM Miquel Raynal wrote: > > As rightfully pointed by Jagan, I should have dropped the dependency > of cmd/sf.c and cmd/nand.c on mtd_uboot.c in patch 24/26 of the "MTD > defconfigs/Kconfigs/Makefiles heavy cleanup" v5 series. > > Instead of sending the 40 patches agai

Re: [U-Boot] RK3399 NanoPI-M4 boot issues

2019-10-26 Thread Jagan Teki
On Fri, Oct 25, 2019 at 5:02 PM robert wrote: > > I'm trying to build a linux from source on a RK3399 nanopi-m4. I did the > below steps: > > *### Download and compile ARM-TF ### > *$ git clone https://github.com/ARM-software/arm-trusted-firmware.git > $ make CROSS_COMPILE=aarch64-linux-gnu- PLAT

[U-Boot] [PATCH 00/29] Add the SPI DM support for PPC

2019-10-26 Thread Xiaowei Bao
Add the SPI DM support for PPC. depends on: http://patchwork.ozlabs.org/project/uboot/list/?series=127282 Xiaowei Bao (29): dts: P1020: Add ESPI DT nodes dts: P1020RDB: Add ESPI slave device node configs: P1020RDB: Enable ESPI driver dts: P2020: Add ESPI DT nodes dts: P2020RDB: Add ESPI

[U-Boot] [PATCH 02/29] dts: P1020RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for P1020RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p1020rdb-pc.dts | 15 +++ arch/powerpc/dts/p1020rdb-pc_36b.dts | 15 +++ arch/powerpc/dts/p1020rdb-pd.dts | 15 +++ 3 files changed, 45 insertions(+) diff --git a/arch/p

[U-Boot] [PATCH 20/29] dts: T1024RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for T1024RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t1024rdb.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/dts/t1024rdb.dts b/arch/powerpc/dts/t1024rdb.dts index 19a6652..5a45b1b 100644 --- a/arch/powerpc/dts/t1024rdb.dts +++

[U-Boot] [PATCH 03/29] configs: P1020RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in P1020RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/P1020RDB-PC_36BIT_NAND_defconfig | 2 ++ configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 2 ++ configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 2 ++ configs/P1020RDB-PC_36BIT_defconfig | 2 ++ conf

[U-Boot] [PATCH 01/29] dts: P1020: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for P1020. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p1020-post.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p1020-post.dtsi b/arch/powerpc/dts/p1020-post.dtsi index 1e5e678..efb104f 100644 --- a/arch/powerpc/dts/p1020-post.

[U-Boot] [PATCH 11/29] dts: P3041DS: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for P3041DS. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p3041ds.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/dts/p3041ds.dts b/arch/powerpc/dts/p3041ds.dts index c30bf7a..5d1bac2 100644 --- a/arch/powerpc/dts/p3041ds.dts +++ b/arch

[U-Boot] [PATCH 15/29] configs: P4080DS: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in P4080DS defconfig. Signed-off-by: Xiaowei Bao --- configs/P4080DS_SDCARD_defconfig | 2 ++ configs/P4080DS_SPIFLASH_defconfig | 2 ++ configs/P4080DS_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/P4080DS_SDCARD_defconfig b/config

[U-Boot] [PATCH 13/29] dts: P4080: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for P4080. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p4080.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p4080.dtsi b/arch/powerpc/dts/p4080.dtsi index ab76680..2c27897 100644 --- a/arch/powerpc/dts/p4080.dtsi +++ b/arch/powe

[U-Boot] [PATCH 08/29] dts: P2041RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for P2041RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p2041rdb.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/dts/p2041rdb.dts b/arch/powerpc/dts/p2041rdb.dts index 6e9d9c0..505c74d 100644 --- a/arch/powerpc/dts/p2041rdb.dts +++ b

[U-Boot] [PATCH 16/29] dts: P5040: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for P5040. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p5040.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi index 8ab123d..1facd9b 100644 --- a/arch/powerpc/dts/p5040.dtsi +++ b/arch/powe

[U-Boot] [PATCH 18/29] configs: P5040DS: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in P5040DS defconfig. Signed-off-by: Xiaowei Bao --- configs/P5040DS_NAND_defconfig | 2 ++ configs/P5040DS_SDCARD_defconfig | 2 ++ configs/P5040DS_SPIFLASH_defconfig | 2 ++ configs/P5040DS_defconfig | 2 ++ 4 files changed, 8 insertions(+) diff --git

[U-Boot] [PATCH 12/29] configs: P3041DS: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in P3041DS defconfig. Signed-off-by: Xiaowei Bao --- configs/P3041DS_NAND_defconfig | 2 ++ configs/P3041DS_SDCARD_defconfig | 2 ++ configs/P3041DS_SPIFLASH_defconfig | 2 ++ configs/P3041DS_defconfig | 2 ++ 4 files changed, 8 insertions(+) diff --git

[U-Boot] [PATCH 07/29] dts: P2041: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for P2041. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p2041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p2041.dtsi index 55f7adc..0de3c79 100644 --- a/arch/powerpc/dts/p2041.dtsi +++ b/arch/powe

[U-Boot] [PATCH 17/29] dts: P5040DS: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for P5040DS. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p5040ds.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/dts/p5040ds.dts b/arch/powerpc/dts/p5040ds.dts index 723d31d..0e1308a 100644 --- a/arch/powerpc/dts/p5040ds.dts +++ b/arch

[U-Boot] [PATCH 28/29] dts: T4240RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for T4240RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t4240rdb.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/dts/t4240rdb.dts b/arch/powerpc/dts/t4240rdb.dts index f67d7ce..635065a 100644 --- a/arch/powerpc/dts/t4240rdb.dts +++

[U-Boot] [PATCH 14/29] dts: P4080DS: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for P4080DS. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p4080ds.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/dts/p4080ds.dts b/arch/powerpc/dts/p4080ds.dts index 15a0f66..62a0f98 100644 --- a/arch/powerpc/dts/p4080ds.dts +++ b/arch

[U-Boot] [PATCH 19/29] dts: T102x: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for T102x. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t102x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102x.dtsi index c49fd21..8f339f6 100644 --- a/arch/powerpc/dts/t102x.dtsi +++ b/arch/powe

[U-Boot] [PATCH 22/29] dts: T104x: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for T104x. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t104x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104x.dtsi index 5998967..4fd3601 100644 --- a/arch/powerpc/dts/t104x.dtsi +++ b/arch/powe

[U-Boot] [PATCH 06/29] configs: P2020RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in P2020RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/P2020RDB-PC_36BIT_NAND_defconfig | 2 ++ configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 2 ++ configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 2 ++ configs/P2020RDB-PC_36BIT_defconfig | 2 ++ conf

[U-Boot] [PATCH 23/29] dts: T1042D4RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for T1042D4RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t1042d4rdb.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/dts/t1042d4rdb.dts b/arch/powerpc/dts/t1042d4rdb.dts index 16a8ed4..3584c06 100644 --- a/arch/powerpc/dts/t1042d4rd

[U-Boot] [PATCH 10/29] dts: P3041: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for P3041. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p3041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p3041.dtsi index 197896d..352d7d4 100644 --- a/arch/powerpc/dts/p3041.dtsi +++ b/arch/powe

[U-Boot] [PATCH 04/29] dts: P2020: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for P2020. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p2020-post.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi index f696f35..a169340 100644 --- a/arch/powerpc/dts/p2020-post.

[U-Boot] [PATCH 21/29] configs: T1024RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in T1024RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/T1024RDB_NAND_defconfig | 2 ++ configs/T1024RDB_SDCARD_defconfig | 2 ++ configs/T1024RDB_SPIFLASH_defconfig | 2 ++ configs/T1024RDB_defconfig | 2 ++ 4 files changed, 8 insertions(+) diff -

[U-Boot] [PATCH 09/29] configs: P2041RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in P2041RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/P2041RDB_NAND_defconfig | 2 ++ configs/P2041RDB_SDCARD_defconfig | 2 ++ configs/P2041RDB_SPIFLASH_defconfig | 2 ++ configs/P2041RDB_defconfig | 2 ++ 4 files changed, 8 insertions(+) diff -

[U-Boot] [PATCH 24/29] configs: T1042D4RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in T1042D4RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/T1042D4RDB_NAND_defconfig | 2 ++ configs/T1042D4RDB_SDCARD_defconfig | 2 ++ configs/T1042D4RDB_SPIFLASH_defconfig | 2 ++ configs/T1042D4RDB_defconfig | 2 ++ 4 files changed, 8 insertions(

[U-Boot] [PATCH 27/29] dts: T4240: Add ESPI DT nodes

2019-10-26 Thread Xiaowei Bao
Add ESPI controller DT node for T4240. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t4240.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t4240.dtsi index fc34974..1158a92 100644 --- a/arch/powerpc/dts/t4240.dtsi +++ b/arch/powe

[U-Boot] [PATCH 26/29] configs: T2080RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in T2080RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/T2080RDB_NAND_defconfig | 2 ++ configs/T2080RDB_SDCARD_defconfig | 2 ++ configs/T2080RDB_SPIFLASH_defconfig | 2 ++ configs/T2080RDB_defconfig | 2 ++ 4 files changed, 8 insertions(+) diff -

[U-Boot] [PATCH 25/29] dts: T2080RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for T2080RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t2080rdb.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts index 49c1765..34ec6a7 100644 --- a/arch/powerpc/dts/t2080rdb.dts +++

[U-Boot] [PATCH 29/29] configs: T4240RDB: Enable ESPI driver

2019-10-26 Thread Xiaowei Bao
Enable the DM ESPI driver in T4240RDB defconfig. Signed-off-by: Xiaowei Bao --- configs/T4240RDB_SDCARD_defconfig | 2 ++ configs/T4240RDB_defconfig| 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/T4240RDB_SDCARD_defconfig b/configs/T4240RDB_SDCARD_defconfig index df308d4.

[U-Boot] [PATCH 05/29] dts: P2020RDB: Add ESPI slave device node

2019-10-26 Thread Xiaowei Bao
Add ESPI slave node for P2020RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/p2020rdb-pc.dts | 15 +++ arch/powerpc/dts/p2020rdb-pc_36b.dts | 15 +++ 2 files changed, 30 insertions(+) diff --git a/arch/powerpc/dts/p2020rdb-pc.dts b/arch/powerpc/dts/p2020rdb-pc.d

Re: [U-Boot] [PULL] u-boot-mips

2019-10-26 Thread Tom Rini
On Sat, Oct 26, 2019 at 12:30:31AM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull MIPS updates for 2020.01. > > Gitlab: https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/1101 > Travis CI: https://travis-ci.org/danielschwierzeck/u-boot/builds/602882075 > > > The followi

Re: [U-Boot] [PATCH v2 8/8] Add Micirosoft Azure pipelines configuration

2019-10-26 Thread Bin Meng
Hi Tom, On Fri, Oct 25, 2019 at 1:52 PM Bin Meng wrote: > > Hi Tom, > > On Thu, Oct 24, 2019 at 11:38 PM Tom Rini wrote: > > > > On Thu, Oct 24, 2019 at 11:31:30PM +0800, Bin Meng wrote: > > > On Thu, Oct 24, 2019 at 11:10 PM Bin Meng wrote: > > > > > > > > Hi Tom, > > > > > > > > On Thu, Oct 2

Re: [U-Boot] [PATCH v2 8/8] Add Micirosoft Azure pipelines configuration

2019-10-26 Thread Tom Rini
On Sat, Oct 26, 2019 at 08:12:22PM +0800, Bin Meng wrote: > Hi Tom, > > On Fri, Oct 25, 2019 at 1:52 PM Bin Meng wrote: > > > > Hi Tom, > > > > On Thu, Oct 24, 2019 at 11:38 PM Tom Rini wrote: > > > > > > On Thu, Oct 24, 2019 at 11:31:30PM +0800, Bin Meng wrote: > > > > On Thu, Oct 24, 2019 at 1

Re: [U-Boot] Pull request: u-boot-rockchip-20191026

2019-10-26 Thread Tom Rini
00) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20191026 > > for you to fetch changes up to a8a09d078d5e17873754b33dc5d15858d2cb2605: > > rockchip: firefly-rk3288: Enable T

[U-Boot] [PATCH v2 1/2] mach-imx: Adding new argument for SIP call interface

2019-10-26 Thread Anatolij Gustschin
From: Ye Li Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, so update the interface to add new argument. Signed-off-by: Ye Li [agust: fixed imx8m-power-domain build] Signed-off-by: Anatolij Gustschin Reviewed-by: Patrick Wildt --- Changes in v2: - fix build breakage in imx8m-powe

[U-Boot] [PATCH v2 2/2] imx8: output SECO-FW and ATF commit IDs

2019-10-26 Thread Anatolij Gustschin
Borrow ID reading code from Ye Li (NXP U-Boot, commit ID 5b443e3e2617) but drop imx-mkimage commit ID reading since we now use in tree mkimage. Signed-off-by: Anatolij Gustschin --- Changes in v2: - reword subject and commit description - use in tree sc_seco_build_info() instead of adding sc

[U-Boot] [PATCH] travis: Fix the clang-7 test

2019-10-26 Thread Tom Rini
When using the OVERRIDE variable we need to pass -O to buildman as well to use the "override" option to buildman. Fixed: e9500f49ea35 ("travis: Use buildman for building with clang") Signed-off-by: Tom Rini --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.trav

[U-Boot] Pull request: u-boot-sunxi/master

2019-10-26 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - H6 dts(i) sync (Clément) - H6 PIO (Icenowy) - Fix pll1 clock calculation (Stefan) - H6 dram, half DQ (Jernej) - A64 OLinuXino eMMC (Sunil) Travis-CI: https://travis-ci.org/openedev/u-boot-amarula/builds/602715052 Thanks, Jagan. The following changes sinc

[U-Boot] [BUG] tbs2910_defconfig does not compile with gcc 9.2.1

2019-10-26 Thread Heinrich Schuchardt
Hello Marek, tbs2910_defconfig does not compile with gcc 9.2.1: In file included from drivers/usb/gadget/g_dnl.c:24: drivers/usb/gadget/composite.c: In function ‘get_string’: drivers/usb/gadget/composite.c:545:23: error: taking address of packed member of ‘struct usb_string_descriptor’ may resul

Re: [U-Boot] [BUG] tbs2910_defconfig does not compile with gcc 9.2.1

2019-10-26 Thread Marek Vasut
On 10/26/19 8:01 PM, Heinrich Schuchardt wrote: > Hello Marek, Hi, > tbs2910_defconfig does not compile with gcc 9.2.1: > > In file included from drivers/usb/gadget/g_dnl.c:24: > drivers/usb/gadget/composite.c: In function ‘get_string’: > drivers/usb/gadget/composite.c:545:23: error: taking addr

Re: [U-Boot] [PATCH 0/9] phy: atheros: cleanup and device tree bindings

2019-10-26 Thread Adam Ford
On Sat, Oct 26, 2019 at 3:57 AM Michael Walle wrote: > > Hi Adam, > > Am 2019-10-26 05:28, schrieb Adam Ford: > > On Fri, Oct 25, 2019 at 10:20 PM Adam Ford wrote: > >> > >> On Fri, Oct 25, 2019 at 7:27 PM Michael Walle > >> wrote: > >> > > >> > This series cleans up the Atheros PHY AR803x PHY d

[U-Boot] [PATCH 1/1] sandbox: use correct type reading /proc/self/maps

2019-10-26 Thread Heinrich Schuchardt
Compiling arch/sandbox/cpu/os.c results in an error ../arch/sandbox/cpu/os.c: In function ‘os_find_text_base’: ../arch/sandbox/cpu/os.c:823:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 823 | base = (void *)addr; |^ cc1: all warning

[U-Boot] [PATCH 1/1] sandbox: use correct type reading /proc/self/maps

2019-10-26 Thread Heinrich Schuchardt
Compiling arch/sandbox/cpu/os.c results in an error ../arch/sandbox/cpu/os.c: In function ‘os_find_text_base’: ../arch/sandbox/cpu/os.c:823:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 823 | base = (void *)addr; |^ cc1: all warning

[U-Boot] [PATCH 1/1] hush: re-sequence includes

2019-10-26 Thread Heinrich Schuchardt
'make tests' on a 32bit ARM system leads to In file included from ../common/cli_hush.c:79: ../include/malloc.h:364:7: error: conflicting types for ‘memset’ void* memset(void*, int, size_t); ^~ In file included from ../include/compiler.h:126, from ../include/env.h:12,

Re: [U-Boot] [PATCH v6 0/3] End of the MTD makefile cleanup

2019-10-26 Thread Miquel Raynal
Hi Jagan, Jagan Teki wrote on Sat, 26 Oct 2019 15:50:06 +0530: > On Fri, Oct 25, 2019 at 11:09 PM Miquel Raynal > wrote: > > > > As rightfully pointed by Jagan, I should have dropped the dependency > > of cmd/sf.c and cmd/nand.c on mtd_uboot.c in patch 24/26 of the "MTD > > defconfigs/Kconfigs/

[U-Boot] [PATCH 1/1] efi_loader: correct includes in efi_variable.c

2019-10-26 Thread Heinrich Schuchardt
'make tests' on an 32bit ARM system leads to In file included from ../lib/efi_loader/efi_variable.c:9: ../include/malloc.h:364:7: error: conflicting types for ‘memset’ void* memset(void*, int, size_t); ^~ In file included from ../include/compiler.h:126, from ../include

Re: [U-Boot] Cavium/Marvell Octeon Support

2019-10-26 Thread Tom Rini
On Fri, Oct 25, 2019 at 05:13:57PM +0200, Daniel Schwierzeck wrote: > Hi Aaron, > > Am 23.10.19 um 05:50 schrieb Aaron Williams: > > Hi all, > > > > I have been tasked with porting our Octeon U-Boot to the latest U-Boot > > and merging it upstream. This will involve a very significant amount of >

[U-Boot] [PATCH v4 0/5] Extend mv88e61xx driver to support 88E6071

2019-10-26 Thread Anatolij Gustschin
This series adds support for 88E6071 and compatible switches in the mv88e61xx driver. Changes in v4: patch 1 - rework to drop Kconfig option for MV88E6020 family selection: detect switch ID in mv88e61xx_priv_reg_offs_pre_init() and initialize the required port and global register offsets

[U-Boot] [PATCH v4 3/5] net: phy: mv88E61xx: fix ENERGY_DET init for mv88E6071

2019-10-26 Thread Anatolij Gustschin
On mv88E6071 the 'EDet' field offset, width and sense control bits are different, adjust the driver to init the PHY control register as needed. This fixes not working link detection and tftp transfers. Signed-off-by: Anatolij Gustschin Reviewed-by: Chris Packham Tested-by: Chris Packham Acked-b

[U-Boot] [PATCH v4 2/5] net: phy: mv88e61xx: add CPU port parameter init for 88E6071

2019-10-26 Thread Anatolij Gustschin
On 88E6071 chip the port status register bit field offsets for duplex and link bits differ. Extend the driver to use 88E6071 specific offset values. The width of bit fields for speed status differ, too. Adapt for proper port speed detection on 88E6071. Signed-off-by: Anatolij Gustschin Reviewed-b

[U-Boot] [PATCH v4 5/5] net: phy: fix switch vendor name

2019-10-26 Thread Anatolij Gustschin
Fix vendor name in MV88E61xx option description. Signed-off-by: Anatolij Gustschin Reviewed-by: Chris Packham Tested-by: Chris Packham Acked-by: Joe Hershberger --- drivers/net/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/Kconfig b/drivers/ne

[U-Boot] [PATCH v4 4/5] net: phy: mv88e61xx: register phy_driver struct for 88E6071

2019-10-26 Thread Anatolij Gustschin
Support probing and init for 88E6071 switch. Signed-off-by: Anatolij Gustschin Reviewed-by: Chris Packham Tested-by: Chris Packham Acked-by: Joe Hershberger --- drivers/net/phy/mv88e61xx.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/

[U-Boot] [PATCH v4 1/5] net: phy: mv88e61xx: rework to enable detection of 88E6071 devices

2019-10-26 Thread Anatolij Gustschin
Extend the driver to init switch register offsets from variables instead of compile time macros and enable detection of 88E6071 and compatible devices. Ethernet transfer (e.g. tftp) does not work yet, so enable the registration of the 'indirect mii' bus for easier PHY register access by 'mii' comma

Re: [U-Boot] [PATCH v2 4/6] net: phy: mv88E61xx: add config option for mv88E6071 support

2019-10-26 Thread Anatolij Gustschin
Hi Joe, On Tue, 3 Sep 2019 22:00:08 + Joe Hershberger joe.hershber...@ni.com wrote: > On Mon, Jul 29, 2019 at 6:17 PM Joe Hershberger > wrote: > > > > On Thu, Jul 25, 2019 at 4:42 PM Anatolij Gustschin wrote: > > > > > > On Tue, 23 Jul 2019 04:26:17 + > > > Joe Hershberger joe.hershb

Re: [U-Boot] [PATCH v3 1/6] net: phy: mv88e61xx: rework to enable detection of 88E6071 devices

2019-10-26 Thread Anatolij Gustschin
Hi Joe, On Mon, 29 Jul 2019 18:35:47 -0500 Joe Hershberger joe.hershber...@gmail.com wrote: ... > > +* initialised yet. Do this initialisation here before indirect > > initialised -> initialized > initialisation -> initialization Fixed in v4 series. Thanks! -- Anatolij ___

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-10-26 Thread Aaron Williams
Hi Daniel, On Friday, October 25, 2019 8:13:57 AM PDT Daniel Schwierzeck wrote: > External Email > > -- > Hi Aaron, > > Am 23.10.19 um 05:50 schrieb Aaron Williams: > > Hi all, > > > > I have been tasked with porting our Octeon

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-10-26 Thread Aaron Williams
On Saturday, October 26, 2019 3:15:36 PM PDT Tom Rini wrote: > External Email > > -- > > On Fri, Oct 25, 2019 at 05:13:57PM +0200, Daniel Schwierzeck wrote: > > Hi Aaron, > > > > Am 23.10.19 um 05:50 schrieb Aaron Williams: > >