[U-Boot] [PATCH v2 1/2] watchdog: orion_wdt: support SPL usage

2019-02-15 Thread Chris Packham
When run from the SPL the mvebu targets are using the hardware default offset for the SoC peripherals. devfdt_get_addr_size_index() understands how to deal with this via dm_get_translation_offset() so use this instead of fdtdec_get_addr_size_auto_noparent(). Signed-off-by: Chris Packham Reviewed

[U-Boot] [PATCH v2 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-15 Thread Chris Packham
Enable the hardware watchdog to guard against system lock ups when running in the SPL or U-Boot. Stop the watchdog just before booting so that the OS can re-enable it if needed. Signed-off-by: Chris Packham --- Changes in v2: - update commit message arch/arm/dts/armada-385-atl-x530-u

[U-Boot] [PATCH v2 0/2] x530: Enable watchdog

2019-02-15 Thread Chris Packham
s but even a reboot loop is better than a complete lockup. Changes in v2: - update commit message Chris Packham (2): watchdog: orion_wdt: support SPL usage arm: mvebu: x530: Enable watchdog in SPL and U-Boot arch/arm/dts/armada-385-atl-x530-u-boot.dtsi | 4 ++ board/alliedtelesis/x530/x

Re: [U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-15 Thread Chris Packham
On Sat, Feb 16, 2019 at 12:23 AM Chris Packham wrote: > > > > On Fri, 15 Feb 2019 21:46 Stefan Roese > >> Hi Chris, >> >> On 15.02.19 03:12, Chris Packham wrote: >> > Enable the hardware watchdog to guard against system lock ups when >> > r

Re: [U-Boot] [PATCH 4/4] arm: mvebu: Add DB-XC3-24G4XG board

2019-02-15 Thread Chris Packham
On Fri, 15 Feb 2019, 11:17 PM Stefan Roese Hi Chris, > > please find a few comments / questions below. > > On 15.02.19 10:41, Chris Packham wrote: > > From: Chris Packham > > > > The DB-XC3-24G4XG is a switch development board from Marvell. It can > > either u

[U-Boot] [PATCH 4/4] arm: mvebu: Add DB-XC3-24G4XG board

2019-02-15 Thread Chris Packham
From: Chris Packham The DB-XC3-24G4XG is a switch development board from Marvell. It can either use and external CPU card such as the db-88f6820-amc or the internal CPU that is integrated into the switch. Add support for running U-Boot on the internal CPU and enable the USB, SPI and NAND

[U-Boot] [PATCH 0/4] Marvell DB-XC3-24G4XG board support

2019-02-15 Thread Chris Packham
that as well at some point. It's harder to work with because it has no USB, but other than that it's similar to the DB-XC3. Chris Packham (4): arm: sync armada-xp dts files from Linux 5.0 arm: mvebu: Add Marvell's integrated CPUs arm: mvebu: NAND clock support for MSYS devices

Re: [U-Boot] [PATCH 2/4] arm: mvebu: Add Marvell's integrated CPUs

2019-02-15 Thread Chris Packham
On Fri, 15 Feb 2019, 11:06 PM Stefan Roese Hi Chris, > > On 15.02.19 10:41, Chris Packham wrote: > > Marvell's switch chips with integrated CPUs (collectively referred to as > > MSYS) share common ancestry with the Armada SoCs. Some of the IP blocks > > (e.g.

Re: [U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-15 Thread Chris Packham
On Fri, 15 Feb 2019, 9:46 PM Stefan Roese Hi Chris, > > On 15.02.19 03:12, Chris Packham wrote: > > Enable the hardware watchdog to guard against system lock ups when > > running in the SPL or U-Boot. Stop the watchdog just before booting so > > that the OS. > > &g

Re: [U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-15 Thread Chris Packham
On Fri, 15 Feb 2019 21:46 Stefan Roese Hi Chris, > > On 15.02.19 03:12, Chris Packham wrote: > > Enable the hardware watchdog to guard against system lock ups when > > running in the SPL or U-Boot. Stop the watchdog just before booting so > > that the OS. > > &g

[U-Boot] [PATCH 3/4] arm: mvebu: NAND clock support for MSYS devices

2019-02-15 Thread Chris Packham
One difference with the integrated CPUs is that they use a different clock control block to the Armada devices. Update mvebu_get_nand_clock() accordingly. Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/cpu.c | 2 ++ arch/arm/mach-mvebu/include/mach/soc.h | 11 +++ 2

[U-Boot] [PATCH 2/4] arm: mvebu: Add Marvell's integrated CPUs

2019-02-15 Thread Chris Packham
re complex registers). Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/Kconfig | 18 - arch/arm/mach-mvebu/Makefile | 1 + arch/arm/mach-mvebu/cpu.c | 32 +-- arch/arm/mach-mvebu/include/mach/config.h | 2 +- arc

[U-Boot] [PATCH 1/4] arm: sync armada-xp dts files from Linux 5.0

2019-02-15 Thread Chris Packham
Bring in the Armada 370/XP dts/dtsi files from Linux. As U-Boot hasn't got the new NAND driver the updating binding has not been included. Signed-off-by: Chris Packham --- arch/arm/dts/armada-370-xp.dtsi | 133 ++ arch/arm/dts/armada-xp-gp.dts

Re: [U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-14 Thread Chris Packham
On Fri, Feb 15, 2019 at 3:12 PM Chris Packham wrote: > > Enable the hardware watchdog to guard against system lock ups when > running in the SPL or U-Boot. Stop the watchdog just before booting so > that the OS. D'oh managed to cut off the sentence. so that the OS can re-en

[U-Boot] [PATCH 0/2] x530: Enable watchdog

2019-02-14 Thread Chris Packham
l let the DDR training have another go. Sometimes this recovers but even a reboot loop is better than a complete lockup. Chris Packham (2): watchdog: orion_wdt: support SPL usage arm: mvebu: x530: Enable watchdog in SPL and U-Boot arch/arm/dts/armada-385-atl-x530-u-boot.dtsi | 4 ++

[U-Boot] [PATCH 1/2] watchdog: orion_wdt: support SPL usage

2019-02-14 Thread Chris Packham
When run from the SPL the mvebu targets are using the hardware default offset for the SoC peripherals. devfdt_get_addr_size_index() understands how to deal with this via dm_get_translation_offset() so use this instead of fdtdec_get_addr_size_auto_noparent(). Signed-off-by: Chris Packham

[U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-14 Thread Chris Packham
Enable the hardware watchdog to guard against system lock ups when running in the SPL or U-Boot. Stop the watchdog just before booting so that the OS. Signed-off-by: Chris Packham --- arch/arm/dts/armada-385-atl-x530-u-boot.dtsi | 4 ++ board/alliedtelesis/x530/x530.c | 48

Re: [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET

2019-02-10 Thread Chris Packham
On Mon, Feb 11, 2019 at 7:06 PM Stefan Roese wrote: > > Hi Chris, > > On 11.02.19 02:11, Chris Packham wrote: > > Hi Jagan, > > > > I've just tried this out on x530 and db-88f6820-amc (both ARCH_MVEBU). > > > > On Fri, Jan 18, 2019 at 8:

[U-Boot] [PATCH] Kconfig: mvebu: use SPL instead of SPL_BUILD

2019-02-10 Thread Chris Packham
l.kwb. Fixes: commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") Cc: Jagan Teki Signed-off-by: Chris Packham --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 2a48f5325663..512c7beb89f9 100644 --- a/Kconfig +++ b/Kconfig @@

[U-Boot] [PATCH] ARM: mvebu: x530: use MV_DDR_FREQ_SAR

2019-02-10 Thread Chris Packham
s and temperature ranges. Signed-off-by: Chris Packham --- board/alliedtelesis/x530/x530.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c index b34ae5134547..d7d1942fe686 100644 --- a/board/alliedtelesis/x530/x530.c

Re: [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET

2019-02-10 Thread Chris Packham
Hi Jagan, I've just tried this out on x530 and db-88f6820-amc (both ARCH_MVEBU). On Fri, Jan 18, 2019 at 8:23 PM Jagan Teki wrote: > > Migrate CONFIG_BUILD_TARGET into Kconfig. > > Signed-off-by: Jagan Teki > --- > diff --git a/Kconfig b/Kconfig > index aff7b2e00a..15b79259a8 100644 > --- a/K

Re: [U-Boot] [PATCH] net: mv88e61xx: fix autonegotiation on ports

2019-02-10 Thread Chris Packham
Hi Tim, On 5/02/19 9:57 AM, Tim Harvey wrote: > phy_reset should be called before autoneg is setup > > The only boards using MV88E61XX_SWITCH are: > - alliedtelesis/SBx81LIFKW > - alliedtelesis/SBx81LIFXCAT > - gateworks/gw_ventana > > Cc: Chris Packham >

Re: [U-Boot] [PATCH v3] moveconfig: add a second pass for empty #if/#endif blocks

2019-01-31 Thread Chris Packham
On Thu, 31 Jan 2019 19:26 Masahiro Yamada On Wed, Jan 30, 2019 at 5:55 PM Masahiro Yamada > wrote: > > > > On Wed, Jan 30, 2019 at 4:23 PM Chris Packham > wrote: > > > > > > Moveconfig already attempts to remove empty #if/#endif blocks when > there > &g

[U-Boot] [PATCH v3] moveconfig: add a second pass for empty #if/#endif blocks

2019-01-29 Thread Chris Packham
Moveconfig already attempts to remove empty #if/#endif blocks when there is a matching CONFIG_ being moved. Add a second pass which covers files without a match. Signed-off-by: Chris Packham --- This was previously submitted as http://patchwork.ozlabs.org/patch/924901/ there still seems to be

[U-Boot] [PATCH] omap3_cairo: remove empty #ifdef/#endif block

2019-01-29 Thread Chris Packham
The content between these guards was removed in commit 9baa2bce2890 ("Removed unused references to CONFIG_SERIALx"). Remove the now empty #ifdef/#endif block and the accompanying comment. Signed-off-by: Chris Packham --- include/configs/omap3_cairo.h | 10 -- 1 file c

Re: [U-Boot] [PATCH 1/3 v2] pci: pci_mvebu: Add DM_PCI support and move CONFIG_PCI_MVEBU to defconfig

2019-01-21 Thread Chris Packham
, this patch also moves CONFIG_PCI_MVEBU > from config headers to the defconfig files. > > Signed-off-by: Stefan Roese > Cc: Dirk Eibach > Cc: Mario Six > Cc: Chris Packham > Cc: Phil Sutter > Cc: Marek Behún > Cc: VlaoMao A couple of minor comments below. With them

Re: [U-Boot] [PATCH v2] ARM: mvebu: sync Armada-38x dts with Linux 4.20

2019-01-18 Thread Chris Packham
On Fri, 18 Jan 2019, 10:44 PM Stefan Roese On 18.01.19 09:28, Chris Packham wrote: > > On Mon, Dec 10, 2018 at 8:08 PM Chris Packham > wrote: > >> > >> Sync the Armada-38x device tree files with Linux 4.20-rc5. The changes > >> not taken are new compatible

Re: [U-Boot] [PATCH 1/2] pci: pci_mvebu: Add DM_PCI support and move CONFIG_PCI_MVEBU to defconfig

2019-01-18 Thread Chris Packham
, this patch also moves CONFIG_PCI_MVEBU > from config headers to the defconfig files. > > Signed-off-by: Stefan Roese > Cc: Dirk Eibach > Cc: Mario Six > Cc: Chris Packham > Cc: Phil Sutter > Cc: Marek Behún > Cc: VlaoMao Reviewed-by: Chris Packham The db-88f682

Re: [U-Boot] [PATCH v2] ARM: mvebu: sync Armada-38x dts with Linux 4.20

2019-01-18 Thread Chris Packham
On Mon, Dec 10, 2018 at 8:08 PM Chris Packham wrote: > > Sync the Armada-38x device tree files with Linux 4.20-rc5. The changes > not taken are new compatible strings for the uart and nand flash > controller. The nand binding is best updated if/when the mtd/nand > infrastruc

[U-Boot] [PATCH] Kconfig: set default BUILD_TARGET for kirkwood

2019-01-17 Thread Chris Packham
Now that BUILD_TARGET is in Kconfig we can define a default for boards using the Kirkwood SoC. Signed-off-by: Chris Packham Cc: Jagan Teki --- This is based on http://patchwork.ozlabs.org/patch/1026858/ Kconfig| 1 + configs/SBx81LIFKW_defconfig | 1 - configs

[U-Boot] [PATCH] buildman: fix typo

2019-01-17 Thread Chris Packham
Fix a typo in the error message from CheckOutputDir(). Signed-off-by: Chris Packham --- tools/buildman/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 27916d3c355d..fcf531c5f143 100644 --- a/tools

Re: [U-Boot] [PATCH 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET

2019-01-17 Thread Chris Packham
On Fri, 18 Jan 2019, 8:03 PM Jagan Teki On Fri, Jan 18, 2019 at 12:18 PM Chris Packham > wrote: > > > > > > > > On Fri, 18 Jan 2019, 6:57 AM Jagan Teki wrote: > >> > >> Migrate CONFIG_BUILD_TARGET into Kconfig. > >>

Re: [U-Boot] [PATCH 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET

2019-01-17 Thread Chris Packham
On Fri, 18 Jan 2019, 6:57 AM Jagan Teki Migrate CONFIG_BUILD_TARGET into Kconfig. > > Signed-off-by: Jagan Teki > --- > Kconfig | 13 + > README| 7 --- > arch/arm/mach-mvebu/include/mach/config.h | 5 - >

Re: [U-Boot] [PATCH 2/2] arm: mvebu: armada-xp/37x/38x: Enable PCIe DT node

2019-01-17 Thread Chris Packham
On Fri, 18 Jan 2019, 7:15 PM Stefan Roese Hi Chris, > > On 17.01.19 20:57, Chris Packham wrote: > > Hi Stefan, > > > > On Fri, Jan 18, 2019 at 2:35 AM Stefan Roese wrote: > >> > >> This patch enables the DT PCIe nodes for the Armada XP/37x/38x boar

Re: [U-Boot] [PATCH 2/2] arm: mvebu: armada-xp/37x/38x: Enable PCIe DT node

2019-01-17 Thread Chris Packham
Hi Stefan, On Fri, Jan 18, 2019 at 2:35 AM Stefan Roese wrote: > > This patch enables the DT PCIe nodes for the Armada XP/37x/38x boards. > This is needed for the new DM_PCI support in the MVEBU PCIe driver. > > Signed-off-by: Stefan Roese > Cc: Dirk Eibach > Cc: Mario Six

Re: [U-Boot] [PATCH 09/10] video: Kconfig: spelling fixes

2019-01-14 Thread Chris Packham
On Mon, Jan 14, 2019 at 11:00 PM Philipp Tomsich wrote: > > > > > On 13.01.2019, at 10:13, Chris Packham wrote: > > > > Signed-off-by: Chris Packham > > Reviewed-by: Philipp Tomsich > > Strictly speaking the “commit message” (i.e. anything beyond the summ

[U-Boot] [PATCH 00/10] Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
These were found automatically with codespell. Codespell is fairly conservative about false positives so there are likely more errors but these are the low hanging fruit. These patches should all be self-contained so subsystem/board maintainers can pick them up at will. Chris Packham (10

[U-Boot] [PATCH 04/10] x86: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- arch/x86/cpu/qemu/Kconfig | 2 +- arch/x86/cpu/quark/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/cpu/qemu/Kconfig b/arch/x86/cpu/qemu/Kconfig index fdf558d66077..f8f2f6473088 100644 --- a/arch/x86/cpu/qemu/Kconfig

[U-Boot] [PATCH 10/10] lib: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- lib/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index 0333ab172fa6..366d164cd760 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -147,7 +147,7 @@ config SPL_TINY_MEMSET The faster memset() is

[U-Boot] [PATCH 08/10] pinctrl: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- drivers/pinctrl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 30a6aa6ee8eb..fb441b3bf1bc 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -146,7 +146,7

[U-Boot] [PATCH 07/10] i2c: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- drivers/i2c/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 1ef22e6bcde2..838500707071 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -157,9 +157,9 @@ config

[U-Boot] [PATCH 06/10] drivers: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- drivers/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 046b87a33375..ddf2fb3fb828 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -232,7 +232,7 @@ config

[U-Boot] [PATCH 09/10] video: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- drivers/video/rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig index b1d7c62fcade..10182d0b66c6 100644 --- a/drivers/video/rockchip/Kconfig +++ b/drivers/video

[U-Boot] [PATCH 03/10] arm: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- arch/arm/mach-bcm283x/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig index 821caedbf7a7..3eb5a9a897b1 100644 --- a/arch/arm/mach-bcm283x/Kconfig +++ b/arch/arm

[U-Boot] [PATCH 05/10] work_92105: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- board/work-microwave/work_92105/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/work-microwave/work_92105/Kconfig b/board/work-microwave/work_92105/Kconfig index 32632f5ab529..380e2dfc2419 100644 --- a/board/work-microwave

[U-Boot] [PATCH 02/10] common: spl: Kconfig: spelling fixes

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 35472f4a921c..4fbd7fbd8a3a 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -608,7 +608,7 @@ config SPL_PAYLOAD

[U-Boot] [PATCH 01/10] Kconfig: fix spelling

2019-01-13 Thread Chris Packham
Signed-off-by: Chris Packham --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index aff7b2e00a05..a078f7b1b667 100644 --- a/Kconfig +++ b/Kconfig @@ -213,7 +213,7 @@ config PHYS_64BIT help Say Y here to support 64bit physical

Re: [U-Boot] [PATCH] arm64: mvebu: Add basic support for uDPU board

2019-01-11 Thread Chris Packham
Hi Vladimir, A few comments below. On Sat, 12 Jan 2019, 6:18 AM Vladimir Vid This adds initial support for micro-DPU (uDPU) board which is based on > Armada-3720 SoC. > micro-DPU is the single-port FTTdp "distribution point unit" made by > Methode Electronics > which offers complete modularity w

[U-Boot] [PATCH] common: Kconfig: miscellaneous spelling fixes

2019-01-10 Thread Chris Packham
Signed-off-by: Chris Packham --- common/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 57bd16d9623c..2c017df4087c 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -308,7 +308,7 @@ config SILENT_CONSOLE help

Re: [U-Boot] [PATCH v2] ARM: mvebu: add support for Allied Telesis x530

2019-01-10 Thread Chris Packham
(adding Stefan who I managed to drop from the Cc list) On Thu, Jan 10, 2019 at 9:01 PM Chris Packham wrote: > > From: Chris Packham > > This is a range of stackable network switches. The SoC is Armada-385 and > there are a number of variants with differing network port > conf

[U-Boot] [PATCH v2] ARM: mvebu: add support for Allied Telesis x530

2019-01-10 Thread Chris Packham
From: Chris Packham This is a range of stackable network switches. The SoC is Armada-385 and there are a number of variants with differing network port configurations. The DP variants are intended for a harsher operating environment so they use a different i2c mux and fit industrial-temp parts

[U-Boot] [RFC PATCH] ARM: mvebu: add support for Allied Telesis x530

2018-12-19 Thread Chris Packham
From: Chris Packham This is a range of stackable network switches. The SoC is Armada-385 and there are a number of variants with differing network port configurations. The DP variants are intended for a harsher operating environment so they use a different i2c mux and fit industrial-temp parts

[U-Boot] [RFC PATCH v1 6/7] ARM: kirkwood: remove kw_config_adr_windows

2018-12-17 Thread Chris Packham
Now that kirkwood is using the mvebu mbus this function is no longer needed. Signed-off-by: Chris Packham --- arch/arm/mach-kirkwood/cpu.c | 64 --- arch/arm/mach-kirkwood/include/mach/cpu.h | 1 - 2 files changed, 65 deletions(-) diff --git a/arch/arm/mach

[U-Boot] [RFC PATCH v1 3/7] ARM: kirkwood: rename KW_CPU_WIN_BASE to MVEBU_CPU_WIN_BASE

2018-12-17 Thread Chris Packham
This will allow the kirkwood platforms to use more common code with the other mvebu SoCs. Signed-off-by: Chris Packham --- arch/arm/mach-kirkwood/cpu.c | 2 +- arch/arm/mach-kirkwood/include/mach/soc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

[U-Boot] [RFC PATCH v1 7/7] ARM: kirkwood: enable CONFIG_DM_USB on db-88f6281-bp

2018-12-17 Thread Chris Packham
Switch to the driver model for USB on the db-88f6281-bp board. CONFIG_BLK can't be enabled yet because mvebu_mmc.c needs converting. Signed-off-by: Chris Packham --- configs/db-88f6281-bp-spi_defconfig | 1 + configs/db-88f6281-bp_defconfig | 1 + 2 files changed, 2 insertions(+)

[U-Boot] [RFC PATCH v1 4/7] ARM: kirkwood: remove KW_DEFADR_PCI_IO_REMAP

2018-12-17 Thread Chris Packham
KW_DEFADR_PCI_IO_REMAP has the same value as KW_DEFADR_PCI_IO and is only used to set up a 1:1 mapping. Remove it and update the mapping to use KW_DEFADR_PCI_IO. Signed-off-by: Chris Packham --- arch/arm/mach-kirkwood/cpu.c | 2 +- arch/arm/mach-kirkwood/include/mach/cpu.h | 1

[U-Boot] [RFC PATCH v1 5/7] ARM: kirkwood: switch to using mvebu mbus

2018-12-17 Thread Chris Packham
The mvebu mbus code already had most of the support required for kirkwood. The only difference is that unlike the other mvebu targets kirkwood doesn't have a bridge control block so the code related to managing that needs to be compiled out. Signed-off-by: Chris Packham --- arch/arm

[U-Boot] [RFC PATCH v1 2/7] ARM: kirkwood: add db-88f6281-bp board

2018-12-17 Thread Chris Packham
igned-off-by: Chris Packham --- arch/arm/dts/kirkwood-db-88f6281-spi.dts| 48 + arch/arm/dts/kirkwood-db-88f6281.dts| 26 + arch/arm/dts/kirkwood-db.dtsi | 94 + arch/arm/mach-kirkwood/Kconfig | 4 + board/Marvell/db-88f62

[U-Boot] [RFC PATCH v1 1/7] net: mvgbe: fallback phy-mode to GMII

2018-12-17 Thread Chris Packham
Some existing device trees don't specify a phy-mode so fallback to GMII when a phy-mode is not provided. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese --- This is similar to what the Linux mv643xx_eth.c network driver does to handle the same case. drivers/net/mvgbe.c | 6 ++--

[U-Boot] [RFC PATCH v1 0/7] ARM: kirkwood: migration to DM_USB

2018-12-17 Thread Chris Packham
ally appreciate some testing on other kirkwood platforms. Chris Packham (7): net: mvgbe: fallback phy-mode to GMII ARM: kirkwood: add db-88f6281-bp board ARM: kirkwood: rename KW_CPU_WIN_BASE to MVEBU_CPU_WIN_BASE ARM: kirkwood: remove KW_DEFADR_PCI_IO_REMAP ARM: kirkwood: switch to using m

[U-Boot] [PATCH] Makefile: output migration warnings to stderr

2018-12-14 Thread Chris Packham
Output the device model migration warnings to stderr. This allows tools like buildman to pick them up rather than suppressing them along with the normal build output on stdout. Signed-off-by: Chris Packham --- One odd behaviour is that when a board has multiple warnings the header/trailer lines

Re: [U-Boot] buildman and "echo" output?

2018-12-13 Thread Chris Packham
Hi Tom, Simon, On Fri, Dec 14, 2018 at 5:01 AM Tom Rini wrote: > > Hey Simon, > > How hard would it be to have buildman notice and print out the echo'd > warnings we have in the toplevel Makefile? By which I mean if you use > buildman to build omap3_beagle you see just the DT warnings but if you

[U-Boot] [PATCH] ARM: mvebu: remove out of date comment

2018-12-13 Thread Chris Packham
The Marvell DDR3 training code is now part of the U-Boot SPL so the comment saying it needs porting is no longer correct. Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/cpu.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm

[U-Boot] [PATCH v2] ARM: mvebu: sync Armada-38x dts with Linux 4.20

2018-12-09 Thread Chris Packham
Sync the Armada-38x device tree files with Linux 4.20-rc5. The changes not taken are new compatible strings for the uart and nand flash controller. The nand binding is best updated if/when the mtd/nand infrastructure is updated. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese --- I&#x

Re: [U-Boot] Please pull u-boot-marvell/master

2018-12-09 Thread Chris Packham
mvebu GPIO >arm: mvebu: helios4: Reduce U-Boot image size >arm: mvebu: helios4: Enable SPI flash support >arm: mvebu: helios4: Reset uSOM onboard phy during board init > > Chris Packham (1): >ARM: mvebu: a38x: sync ddr training code with mv_ddr-arma

[U-Boot] [PATCH] ARM: mvebu: restore license information in mv_ddr_plat.{c, h}

2018-12-09 Thread Chris Packham
This was unintentionally removed when syncing with upstream. Signed-off-by: Chris Packham --- drivers/ddr/marvell/a38x/mv_ddr_plat.c | 4 drivers/ddr/marvell/a38x/mv_ddr_plat.h | 5 + 2 files changed, 9 insertions(+) diff --git a/drivers/ddr/marvell/a38x/mv_ddr_plat.c b/drivers/ddr

[U-Boot] [PATCH] ARM: mvebu: sync Armada-38x dts with Linux 4.20

2018-12-06 Thread Chris Packham
Sync the Armada-38x device tree files with Linux 4.20-rc5. The changes not taken are new compatible strings for the uart and nand flash controller. The nand binding is best updated if/when the mtd/nand infrastructure is updated. Signed-off-by: Chris Packham --- I've updated the clearfo

[U-Boot] [PATCH] ARM: mvebu: define CONFIG_BLK for db-88f6820-amc

2018-12-06 Thread Chris Packham
db-88f6820-amc uses CONFIG_DM_USB and CONFIG_USB_STORAGE already so define CONFIG_BLK to prepare it for full conversion to DM. Signed-off-by: Chris Packham --- configs/db-88f6820-amc_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/db-88f6820-amc_defconfig b/configs/db

Re: [U-Boot] [U-Boot, PATCHv3, 2/4] dm: MIGRATION: Add migration plan for DM_USB

2018-12-06 Thread Chris Packham
On Thu, Dec 6, 2018 at 1:23 AM Tom Rini wrote: > > On Wed, Dec 05, 2018 at 08:14:14AM +0100, Stefan Roese wrote: > > Hi Tom, > > > > On 04.12.18 05:49, Tom Rini wrote: > > >On Thu, Nov 29, 2018 at 06:21:12PM -0500, Tom Rini wrote: > > > > > >>As much of the USB system has been migrated to DM now,

[U-Boot] [PATCH] net: mvgbe: fallback phy-mode to GMII

2018-12-03 Thread Chris Packham
Some existing device trees don't specify a phy-mode so fallback to GMII when a phy-mode is not provided. Signed-off-by: Chris Packham --- This is similar to what the Linux mv643xx_eth.c network driver does to handle the same case. drivers/net/mvgbe.c | 6 ++ 1 file changed, 2 inser

[U-Boot] [PATCH v2 0/1] ARM: mvebu: Armada-38x DDR training update

2018-12-02 Thread Chris Packham
s code movement and tidy up. There's very little behavioural change for A38X. This may however be useful if/when someone starts looking at the newer Armada-3700/3900 SoCs. Changes in v2: - record sha1 of the commit we're syncing to. - Highlight some of the fixes that affect a38x Chris

Re: [U-Boot] [PATCH 0/1] ARM: mvebu: Armada-38x DDR training update

2018-12-02 Thread Chris Packham
Hi Stefan, Gmail seems to have started marking some u-boot email as spam so I didn't see this earlier. On Thu, Nov 29, 2018 at 11:35 PM Stefan Roese wrote: > > Hi Chris, > > On 29.11.18 04:16, Chris Packham wrote: > > I had a faulty board to debug at $dayjob. Part of t

[U-Boot] [PATCH 0/1] ARM: mvebu: Armada-38x DDR training update

2018-11-28 Thread Chris Packham
s code movement and tidy up. There's very little behavioural change for A38X. This may however be useful if/when someone starts looking at the newer Armada-3700/3900 SoCs. Chris Packham (1): ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09 board/CZ.NIC/turris_omnia/turri

[U-Boot] [PATCH] ARM: mvebu: add revision id for Armada-385 B0

2018-11-27 Thread Chris Packham
Marvell have release a B0 revision of the Armada-385 SoC. This fixes a hardware errata enabling RGMII to work when the Ethernet voltage is configured to 3.3V. Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/cpu.c | 3 +++ arch/arm/mach-mvebu/include/mach/soc.h

Re: [U-Boot] [RFC for-v2019.01 3/4] dm: MIGRATION: Add migration plan for CONFIG_SATA

2018-11-26 Thread Chris Packham
On Tue, Nov 27, 2018 at 1:25 AM Tom Rini wrote: > > On Mon, Nov 26, 2018 at 07:32:38PM +1300, Chris Packham wrote: > > Hi Tom, > > > > On Mon, Nov 26, 2018 at 7:20 AM Tom Rini wrote: > > > > > > As the core of the subsystem has been converted along w

Re: [U-Boot] [PATCH 1/2] net: move ether_crc to tsec driver

2018-11-26 Thread Chris Packham
On Mon, Nov 26, 2018 at 9:12 PM Simon Goldschmidt wrote: > > On Mon, Nov 26, 2018 at 9:00 AM Chris Packham wrote: > > > > ether_crc was added to the core net code in commit 53a5c424bf86 > > ("multicast tftp: RFC2090") so that other drivers could use it. However

Re: [U-Boot] [PATCH 2/2] net: remove CONFIG_MCAST_TFTP

2018-11-26 Thread Chris Packham
On Mon, Nov 26, 2018 at 9:15 PM Simon Goldschmidt wrote: > > On Mon, Nov 26, 2018 at 9:00 AM Chris Packham wrote: > > > > No mainline board enables CONFIG_MCAST_TFTP and there have been > > compilation issues with the code for some time. Additionally, it has a > > p

[U-Boot] [PATCH 2/2] net: remove CONFIG_MCAST_TFTP

2018-11-26 Thread Chris Packham
IPv6. Cc: Simon Goldschmidt Signed-off-by: Chris Packham --- As suggested by Joe[1] I've make the mcast API unconditional. So there is a small increase in binary size with this patch. Currently there are only two drivers that implement the API but eventually that'll need to grow wh

[U-Boot] [PATCH 1/2] net: move ether_crc to tsec driver

2018-11-26 Thread Chris Packham
ether_crc was added to the core net code in commit 53a5c424bf86 ("multicast tftp: RFC2090") so that other drivers could use it. However the only current user of it is tsec.c so move it there. Signed-off-by: Chris Packham --- drivers/net/tsec.c | 25 + inc

Re: [U-Boot] [RFC for-v2019.01 3/4] dm: MIGRATION: Add migration plan for CONFIG_SATA

2018-11-25 Thread Chris Packham
Hi Tom, On Mon, Nov 26, 2018 at 7:20 AM Tom Rini wrote: > > As the core of the subsystem has been converted along with some of the > drivers, formalize a deadline for migration. > > Cc: Tuomas Tynkkynen > Cc: Simon Glass > Cc: Bin Meng > Cc: Nikita Kiryanov > Cc: York Sun > Cc: Fabio Estevam

Re: [U-Boot] [PATCH 03/34] spi: davinci: Full dm conversion

2018-11-21 Thread Chris Packham
Hi Jagan, On Wed, Nov 21, 2018 at 2:01 AM Jagan Teki wrote: > > +ifeq ($(CONFIG_DM_SPI),) > +ifeq ($(CONFIG_DAVINCI_SPI),y) > + @echo "= WARNING ==" > + @echo "This board uses SPI driver from drivers/spi/ without" > + @echo "enabling CONFI

[U-Boot] [PATCH 3/3] configs: kirkwood: dreamplug: Convert to DM_SPI

2018-11-21 Thread Chris Packham
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig. Signed-off-by: Chris Packham --- configs/dreamplug_defconfig | 2 ++ include/configs/dreamplug.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/dreamplug_defconfig b/configs/dreamplug_defconfig

[U-Boot] [PATCH 2/3] configs: kirkwood: ds109: Convert to DM_SPI

2018-11-21 Thread Chris Packham
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig. Signed-off-by: Chris Packham --- configs/ds109_defconfig | 2 ++ include/configs/ds109.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/ds109_defconfig b/configs/ds109_defconfig index 23f1886a249a

[U-Boot] [PATCH 1/3] configs: kirkwood: Convert Allied Telesis boards to DM_SPI

2018-11-21 Thread Chris Packham
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig. Signed-off-by: Chris Packham --- configs/SBx81LIFKW_defconfig | 2 ++ configs/SBx81LIFXCAT_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/SBx81LIFKW_defconfig b/configs/SBx81LIFKW_defconfig index

Re: [U-Boot] [PATCH 04/34] spi: kirkwood: Full dm conversion

2018-11-21 Thread Chris Packham
On Wed, Nov 21, 2018 at 9:39 PM Jagan Teki wrote: > > On Wed, Nov 21, 2018 at 1:22 PM Chris Packham wrote: > > > > Hi Jagan, > > On Wed, Nov 21, 2018 at 2:00 AM Jagan Teki > > wrote: > > > > > > kirkwood now support dt along with platform data

Re: [U-Boot] [PATCH 04/34] spi: kirkwood: Full dm conversion

2018-11-20 Thread Chris Packham
Hi Jagan, On Wed, Nov 21, 2018 at 2:00 AM Jagan Teki wrote: > > kirkwood now support dt along with platform data, > respective boards need to switch into dm for the same. > > Signed-off-by: Jagan Teki > --- > Makefile| 2 +- > drivers/spi/Makefile

[U-Boot] [PATCH] configs: Remove CONFIG_MARVELL

2018-11-20 Thread Chris Packham
This option is defined by a few boards but doesn't guard any code. Remove it from the boards and config_whitelist.txt. Signed-off-by: Chris Packham --- include/configs/edminiv2.h | 1 - include/configs/km/km_arm.h | 1 - include/configs/mv-common.h | 1 - scripts/config_whitelist.tx

Re: [U-Boot] [PATCH v3 1/3] configs: kirkwood: ds109: switch to DM_I2C

2018-11-20 Thread Chris Packham
On Tue, Nov 20, 2018 at 8:56 PM Stefan Roese wrote: > > On 20.11.18 08:52, Chris Packham wrote: > > Hi Stefan, > > > > On Tue, Nov 20, 2018 at 8:00 PM Stefan Roese wrote: > >> > >> Hi Chris, > >> > >> On 19.09.18 14:11, Stefan

Re: [U-Boot] [PATCH v3 1/3] configs: kirkwood: ds109: switch to DM_I2C

2018-11-19 Thread Chris Packham
Hi Stefan, On Tue, Nov 20, 2018 at 8:00 PM Stefan Roese wrote: > > Hi Chris, > > On 19.09.18 14:11, Stefan Roese wrote: > > On 07.08.2018 09:41, Chris Packham wrote: > >> Enable DM_I2C and I2C_MVTSWI for the ds109 board. > >> > >> Signed-off-by: Ch

[U-Boot] [PATCH] ARM: mvebu: db-88f6820: remove redundant comment

2018-11-18 Thread Chris Packham
After migration to Kconfig the comment about TEXT_BASE has become redundant. Signed-off-by: Chris Packham --- include/configs/db-88f6820-amc.h | 5 - include/configs/db-88f6820-gp.h | 5 - 2 files changed, 10 deletions(-) diff --git a/include/configs/db-88f6820-amc.h b/include

Re: [U-Boot] [PATCH v3 7/8] net: remove CONFIG_MCAST_TFTP

2018-11-17 Thread Chris Packham
On Sun, 18 Nov 2018, 5:49 AM Simon Goldschmidt < simon.k.r.goldschm...@gmail.com wrote: > On 17.11.2018 17:05, Joe Hershberger wrote: > > Hi Simon, > > > > Thanks for tackling this. > > > > On Sat, Nov 17, 2018 at 6:31 AM Simon Goldschmidt > > wrote: > >> This option seems unused as no mainline b

Re: [U-Boot] error in the make: bad value in the asm-offsets.c file

2018-11-08 Thread Chris Packham
On Fri, Nov 9, 2018 at 1:16 PM Chris Packham wrote: > > > > On Fri, 9 Nov 2018, 2:08 AM Sarah Wicker > >> Hi Chris, Ian, >> >> i tested with downloading and installing the package through the terminal, >> changing the CROSS_COMPILE value and redoing the

Re: [U-Boot] error in the make: bad value in the asm-offsets.c file

2018-11-08 Thread Chris Packham
Also just as a test to check your compiler run ${CROSS_COMPILE}cc --version > Sarah > > > > > > *Von:* Chris Packham [mailto:judge.pack...@gmail.com] > *Gesendet:* Mittwoch, 7. November 2018 23:00 > *An:* Ian Kane > *Cc:* Sarah Wicker ; u-boot > *Betreff:* Re: [U-Boot] err

Re: [U-Boot] error in the make: bad value in the asm-offsets.c file

2018-11-07 Thread Chris Packham
Hi Ian, Sarah, On Thu, 8 Nov 2018, 6:09 AM Ian Kane Sarah, > > It looks to me from the attached image that the error is related to an > expected, but missing value for the -march flag. > To me, I'd expect to see "-march=ARMv5 switch" instead of "-march= > switch". Make note of the empty space in

Re: [U-Boot] Ping failure

2018-11-06 Thread Chris Packham
On Tue, 6 Nov 2018, 6:09 AM Paul Nader Hi, > > I'm trying to get an olinuxino-a64 board to boot using bootp but it failed > to send any DHCP packets so I reduced the problem to trying to get it to > ping another host but that fails as well. > > I tried it both with 2018.09 and then the head of mas

Re: [U-Boot] "Kbuild:43: recipe for target 'lib/asm-offsets.s' failed"

2018-10-27 Thread Chris Packham
On Sun, 28 Oct 2018, 2:29 PM R White, wrote: > *People,* > > > *Can anyone tell me what I am doing wrong? Am I missing something?* > > > *I have even reloaded the machine, everything. * > *Rick* > > == > > ricky

Re: [U-Boot] latest kwboot

2018-10-23 Thread Chris Packham
older version with git checkout v2013.02 (or any other tag you wish to have a look at) Have a look at git-scm.com for more info on using git. That all being said you haven't actually said what is stopping the current version of kwboot.c from working for you. > On Tue, Oct 2

Re: [U-Boot] latest kwboot

2018-10-22 Thread Chris Packham
On Tue, 23 Oct 2018, 10:33 AM Balanga Bar, wrote: > I'm trying to build kwboot on FreeBSD but the latest source I found is not > posix compliant, containing various Linuxisms... I did find an old version > here > https://github.com/LeMaker/u-boot/raw/master/tools/kwboot.c > > that I was able to

Re: [U-Boot] [PATCH] ARM: mvebu: dts: add Clearfog GT-8K

2018-10-22 Thread Chris Packham
On Fri, 19 Oct 2018, 12:55 AM Baruch Siach, wrote: > From: Rabeeh Khoury > > The SolidRun Clearfog GT-8K is based on Armada 8040. > > https://wiki.solid-run.com/doku.php?id=products:a8040:clearfoggt8k > > Signed-off-by: Rabeeh Khoury > Signed-off-by: Baruch Siach > --- > arch/arm/dts/Makefile

Re: [U-Boot] [PATCH] fsl/usb: Workaround for USB erratum-A005275

2018-10-04 Thread Chris Packham
On Thu, Oct 4, 2018 at 8:04 PM Marek Vasut wrote: > > On 10/04/2018 08:38 AM, Chris Packham wrote: > > On Thu, Oct 4, 2018 at 11:17 AM Marek Vasut wrote: > >> > >> On 10/03/2018 10:21 PM, Chris Packham wrote: > >>> Workaround makes FS as default mode on

<    1   2   3   4   5   6   7   8   9   10   >