Re: [U-Boot] [PATCH] test/py: Fix pytest4 deprecation warnings

2019-03-15 Thread Tom Rini
On Fri, Mar 15, 2019 at 06:39:23PM +0100, Marek Vasut wrote: > On 3/14/19 2:01 AM, Tom Rini wrote: > > On Thu, Mar 14, 2019 at 01:20:09AM +0100, Marek Vasut wrote: > >> On 3/13/19 8:42 PM, Tom Rini wrote: > >>> On Wed, Mar 13, 2019 at 07:23:15PM +0100, Marek Vasut wrote: > On 3/13/19 5:01 PM,

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-15 Thread Marek Vasut
On 3/15/19 8:50 PM, Ismael Luceno Cortes wrote: > On 15/Mar/2019 18:34, Marek Vasut wrote: >> On 3/14/19 5:19 PM, Ismael Luceno Cortes wrote: >>> On 14/Mar/2019 16:09, Marek Vasut wrote: On 3/14/19 1:57 PM, Ismael Luceno Cortes wrote: > On 14/Mar/2019 12:55, Marek Vasut wrote: >> On

Re: [U-Boot] [PATCH] arm: socfpga: make SPL_TEXT_BASE overridable

2019-03-15 Thread Marek Vasut
On 3/15/19 8:44 PM, Simon Goldschmidt wrote: > To boot from fpga on socfpga gen5, we need to set CONFIG_SPL_TEXT_BASE to > 0xC000 (hps2fpgaslaves base address). > > Since converting CONFIG_SPL_TEXT_BASE to Kconfig hasn't been successful so > far, let's make this value overridable in

Re: [U-Boot] [PATCH] test/py: Fix pytest4 deprecation warnings

2019-03-15 Thread Marek Vasut
On 3/14/19 2:01 AM, Tom Rini wrote: > On Thu, Mar 14, 2019 at 01:20:09AM +0100, Marek Vasut wrote: >> On 3/13/19 8:42 PM, Tom Rini wrote: >>> On Wed, Mar 13, 2019 at 07:23:15PM +0100, Marek Vasut wrote: On 3/13/19 5:01 PM, Tom Rini wrote: > On Wed, Mar 13, 2019 at 12:30:59PM +0100, Marek

[U-Boot] [U-Boot, V5, PATCH 3/3] ag7xxx: add initial support for s17

2019-03-15 Thread rosysong
From: Rosy Song S17 ethernet support is for QCA8337N, which used on AP152 (QCA9563) board. It is a 7 ports GbE switch. Signed-off-by: Rosy Song Changes for v2-v3: - add more commit message for s17 Changes for v4-v5: - coding style cleanup --- drivers/net/ag7xxx.c | 139

[U-Boot] [U-Boot, V5, PATCH 2/3] mips: add initial support for qca956x referenced board

2019-03-15 Thread rosysong
From: Rosy Song QCA9563 is CPU used on AP152 board : Clock speed : 750 MHz , Arch : Mips 74Kc, Eth : SGMII interface, MIMO config : 3 * 3 450M, 2 * USB 2.0, Signed-off-by: Rosy Song Changes for v2: - coding style cleanup - remove ununsed flash chip in defconfig

[U-Boot] [U-Boot, V5, PATCH 1/3] mips: fix erros on registers macros of pll-ddr-config1-nfrac for QCA956X

2019-03-15 Thread rosysong
From: Rosy Song See details in chapter 8.6.2 and 8.6.4 (page 140-141) of qca9563 datasheet, NFRAC[17:0] So the mask of [17:5] is 0x1fff not 0x3fff. Signed-off-by: Rosy Song Changes for v2-v3: - add more information for this commit Changes for v4-v5: - coding style cleanup ---

Re: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-03-15 Thread Tim Harvey
Tim Harvey - Principal Software EngineerGateworks Corporation - http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA 93401805-781-2000 On Mon, Mar 4, 2019 at 12:07 PM Tim Harvey wrote: > > On Mon, Mar 4, 2019 at 11:05 AM Chandrakala Chavva > wrote: > > > > We will be submitting

[U-Boot] UCLASS_MISC bug

2019-03-15 Thread Sergey Kubushyn
I would like to point that this was not a very good idea: === Cut === --- uboot-imx-next/drivers/misc/misc-uclass.c 2018-12-20 20:35:22.505180339 -0800 +++ u-boot-imx/drivers/misc/misc-uclass.c 2019-03-13 11:50:19.408982814 -0700 @@ -68,4 +68,7 @@ int misc_set_enabled(struct udevice

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: imply/default common config options

2019-03-15 Thread Simon Goldschmidt
Am 05.03.2019 um 21:58 schrieb Marek Vasut: On 3/5/19 9:28 PM, Simon Goldschmidt wrote: Am 04.03.2019 um 22:34 schrieb Marek Vasut: On 3/4/19 10:23 PM, Simon Goldschmidt wrote: Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 4. März 2019, 22:19: On 3/4/19 9:53 PM, Simon

[U-Boot] [PATCH v2 5/6] spl: support using full malloc with SYS_MALLOC_F_LEN

2019-03-15 Thread Simon Goldschmidt
Some platforms (like socfpga A10) need a big hep before SDRAM is available (e.g. because FAT is used). For such platforms, simple_malloc is often not a good option as it does not support freeing memory. These platforms often use the non-Kconfig defines CONFIG_SYS_SPL_MALLOC_START (and its SIZE).

[U-Boot] [PATCH v2 6/6] arm: socfpga: a10: move SPL stack size to Kconfig

2019-03-15 Thread Simon Goldschmidt
Instead of fixing the SPL stack to 64 KiB in the board config header via CONFIG_SYS_SPL_MALLOC_SIZE, let's just use CONFIG_SPL_SYS_MALLOC_F_LEN in the defconfig. This also has the advandage that it removes sub-mach specific ifdefs in socfpga_common.h. Signed-off-by: Simon Goldschmidt ---

[U-Boot] [PATCH v2 4/6] dlmalloc: be compatible to tiny printf

2019-03-15 Thread Simon Goldschmidt
Convert debug output from '%#lx' to '0x%lx' to be compatible with tiny printf used in SPL. Signed-off-by: Simon Goldschmidt --- Changes in v2: None common/dlmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/dlmalloc.c b/common/dlmalloc.c index

[U-Boot] [PATCH v2 2/6] spl: arm: implement SPL_CLEAR_BSS_F

2019-03-15 Thread Simon Goldschmidt
This implements the new option to clear BSS early in SPL for standard arm and arm64 crt0. BSS is cleared before calling board_init_f() and thus not cleared before calling board_init_r() as it is not relocated in SPL. Signed-off-by: Simon Goldschmidt --- Changes in v2: - add

[U-Boot] [PATCH v2 3/6] dlmalloc: fix malloc range at end of ram

2019-03-15 Thread Simon Goldschmidt
If the malloc range passed to mem_malloc_init() is at the end of address range and 'start + size' overflows to 0, following allocations fail as mem_malloc_end is zero (which looks like uninitialized). Fix this by subtracting 1 of 'start + size' overflows to zero. Signed-off-by: Simon Goldschmidt

[U-Boot] [PATCH v2 1/6] spl: add Kconfig option to clear bss early

2019-03-15 Thread Simon Goldschmidt
This introduces a new Kconfig option SPL_CLEAR_BSS_F. If enabled, it clears the bss before calling board_init_f() instead of clearing it before calling board_init_r(). This also ensures that variables placed in BSS can be shared between board_init_f() and board_init_r() in SPL. Make the new

[U-Boot] [PATCH v2 0/6] spl: full-featured heap cleanups

2019-03-15 Thread Simon Goldschmidt
Some platforms cannot use simple malloc even in very early stages, e.g. when using FAT before DRAM is available. Such platforms currently often use non-Kconfig defines to initialize full malloc and rely on simple heap before that. This series makes some adjustments to ensure SPL behaves the same

[U-Boot] [ANN] No montly community call this month

2019-03-15 Thread Tom Rini
Hey all, While I had scheduled this coming Monday for another community call, I'm canceling the March one. While I had hoped to have made more progress on being able to message everyone and then in turn try and find a time that perhaps works best to allow more people to participate, that's a

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-15 Thread Ismael Luceno Cortes
On 15/Mar/2019 18:34, Marek Vasut wrote: > On 3/14/19 5:19 PM, Ismael Luceno Cortes wrote: > > On 14/Mar/2019 16:09, Marek Vasut wrote: > >> On 3/14/19 1:57 PM, Ismael Luceno Cortes wrote: > >>> On 14/Mar/2019 12:55, Marek Vasut wrote: > On 3/14/19 12:44 PM, Ismael Luceno Cortes wrote: >

[U-Boot] [PATCH] arm: socfpga: make SPL_TEXT_BASE overridable

2019-03-15 Thread Simon Goldschmidt
To boot from fpga on socfpga gen5, we need to set CONFIG_SPL_TEXT_BASE to 0xC000 (hps2fpgaslaves base address). Since converting CONFIG_SPL_TEXT_BASE to Kconfig hasn't been successful so far, let's make this value overridable in socfpga_common.h, so that we can have different board configs

[U-Boot] [PATCH] ARM: da850evm: Remove legacy MMC code

2019-03-15 Thread Adam Ford
With the migration to DM in SPL and the DT support, the old legacy code is no longer neaded, so this patch removes it Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index e8ec553f99..1bc26828bf 100644 ---

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-15 Thread Simon Goldschmidt
Tom, (adding Lukasz as he authored the DM fix 0c07a9b4078d) Am 14.03.2019 um 21:57 schrieb Simon Goldschmidt: This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. The 'eeprom' command has been converted to work with DM_I2C in a patch submitted around the same time as this commit:

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-15 Thread Marek Vasut
On 3/14/19 5:19 PM, Ismael Luceno Cortes wrote: > On 14/Mar/2019 16:09, Marek Vasut wrote: >> On 3/14/19 1:57 PM, Ismael Luceno Cortes wrote: >>> On 14/Mar/2019 12:55, Marek Vasut wrote: On 3/14/19 12:44 PM, Ismael Luceno Cortes wrote: > On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote:

[U-Boot] [PATCH 2/2] arm: exynos: arndale: Remove unused CONFIG_POWER and CONFIG_POWER_I2C

2019-03-15 Thread Krzysztof Kozlowski
The CONFIG_POWER and CONFIG_POWER_I2C were introduced in include/configs/exynos5-common.h in commit 19bd3aaa5991 ("exynos5: fix build break by adding CONFIG_POWER") and then it propagated up to include/configs/arndale.h. However before that commit, there was no build break at all on Arndale and

[U-Boot] [PATCH 1/2] arm: exynos: arndale: Remove unused CONFIG_DM_I2C_COMPAT

2019-03-15 Thread Krzysztof Kozlowski
The CONFIG_DM_I2C_COMPAT was introduced in include/configs/exynos5-common.h in commit 189d80166b31 ("exynos5: enable dm i2c") and then it propagated up to configs/arndale_defconfig. However since beginning the Arndale board (Exynos5250) was not using I2C. In fact, the Arndale board is not

Re: [U-Boot] [PATCH v3 0/2] Load splash from FIT image (internal, external, offset)

2019-03-15 Thread Jonas Mark (BT-FIR/ENG1)
Hi, > We store a splash screen in SPI-NOR. We chose to use a FIT image as a > container because we want to > - store more than just the splash screen in SPI-NOR, > - do not create a bunch of MTD partitions, > - do not waste storage space, and > - avoid the overhead of a real file system.

Re: [U-Boot] passing info from SPL to U-Boot

2019-03-15 Thread Tom Rini
On Fri, Mar 15, 2019 at 05:41:36AM +0100, Heiko Schocher wrote: > Hello Tom, > > Am 13.03.2019 um 19:19 schrieb Tom Rini: > >On Wed, Mar 13, 2019 at 10:18:06AM +0100, Heiko Schocher wrote: > >>Hello Stefano, > >> > >>Am 13.03.2019 um 09:51 schrieb Stefano Babic: > >>>Hi Heiko, > >>> > >>>On

Re: [U-Boot] [PATCH v2] arm: fix hvc call

2019-03-15 Thread Tom Rini
On Fri, Mar 15, 2019 at 12:13:11PM +, Ibai Erkiaga Elorza wrote: > Hi Alex, > > > -Original Message- > > From: Alexander Graf > > Sent: 25 February 2019 13:09 > > To: Ibai Erkiaga Elorza > > Cc: u-boot@lists.denx.de; Sumit Garg ; Heinrich > > Schuchardt ; Tom Rini ; Albert > >

Re: [U-Boot] mpc85xx, mpc86xx: device tree model

2019-03-15 Thread Tom Rini
On Fri, Mar 15, 2019 at 05:05:06AM +, Prabhakar Kushwaha wrote: > Hi Tom, > > I am seeing following type of build warnings for MMC. > > += WARNING == > +This board does not use CONFIG_DM_MMC. Please update > +the board to use CONFIG_DM_MMC before the

Re: [U-Boot] [v2] please pull u-boot-samsung master

2019-03-15 Thread Tom Rini
On Thu, Mar 14, 2019 at 01:12:41PM +0900, Minkyu Kang wrote: > Hi Tom, > > The following changes since commit e8e3f2d2d48f97b2c79b698eccedce8f4f880993: > > Merge branch '2019-03-08-master-imports' (2019-03-08 18:04:13 -0500) > > are available in the git repository at: > > >

Re: [U-Boot] [PATCH] MAINTAINERS: Remove unsupported statuses - Odd Fixes and Obsolete

2019-03-15 Thread Tom Rini
On Thu, Mar 14, 2019 at 10:53:10AM +0100, Krzysztof Kozlowski wrote: > The MAINTAINERS file was copied from Linux Kernel along with all its > statuses of maintainership. However tools/genboardscfg.py accepts only > Maintained, Supported and Orphan. Remove then the Odd Fixes and > Obsolete from

[U-Boot] [PATCH 2/2] pci: Scale MAX_PCI_REGIONS based on CONFIG_NR_DRAM_BANKS

2019-03-15 Thread Thierry Reding
From: Thierry Reding If a platform defines CONFIG_NR_DRAM_BANKS, each DRAM bank will be added as a PCI region. The number of MAX_PCI_REGIONS therefore needs to scale with the number of DRAM banks, otherwise we will end up with too little space in the hose->regions array to store all system

[U-Boot] [PATCH 1/2] pci: Add boundary check for hose->regions

2019-03-15 Thread Thierry Reding
From: Thierry Reding Make sure that we don't overflow the hose->regions array, otherwise we would end up overwriting the hose->region_count field and cause mayhem to ensue. Also print an error message when we'd be overflowing because it indicates that there aren't enough regions available and

[U-Boot] [PATCH v4 5/5] ARM: board: meson: add p201 board

2019-03-15 Thread Mohammad Rasim
This adds the p201 reference board Signed-off-by: Mohammad Rasim Acked-by: Neil Armstrong --- board/amlogic/p201/MAINTAINERS | 5 ++ board/amlogic/p201/Makefile| 5 ++ board/amlogic/p201/README.p201 | 103 + board/amlogic/p201/p201.c | 43

[U-Boot] [PATCH v4 4/5] ARM: board: meson: add p200 board

2019-03-15 Thread Mohammad Rasim
This adds the p200 defconfig Signed-off-by: Mohammad Rasim --- configs/p200_defconfig | 41 + 1 file changed, 41 insertions(+) create mode 100644 configs/p200_defconfig diff --git a/configs/p200_defconfig b/configs/p200_defconfig new file mode 100644

[U-Boot] [PATCH v4 2/5] ARM: dts: meson: add p200 and p201 boards

2019-03-15 Thread Mohammad Rasim
This adds the device trees for p200 and p201 boards. Synced from kernel 5.0.0 Commit a667cb7a94d4 ("Merge branch 'akpm' (patches from Andrew)") Signed-off-by: Mohammad Rasim Acked-by: Neil Armstrong --- arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-p200.dts | 99

[U-Boot] [PATCH v4 3/5] Arm: dts: meson: add u-boot.dtsi for p200 and p201

2019-03-15 Thread Mohammad Rasim
This adds *-u-boot.dtsi files for p200 and p201 boards These are just copies of arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi Signed-off-by: Mohammad Rasim --- arch/arm/dts/meson-gxbb-p200-u-boot.dtsi | 7 +++ arch/arm/dts/meson-gxbb-p201-u-boot.dtsi | 7 +++ 2 files changed, 14

[U-Boot] [PATCH v4 1/5] ARM: board: meson: rename odroid-c2 to p200

2019-03-15 Thread Mohammad Rasim
This renames the odroid-c2 to p200 and set it as the default GXBB board Other boards (odroid-c2 and nanopi-k2) will inherit from p200 Signed-off-by: Mohammad Rasim --- arch/arm/mach-meson/Kconfig | 2 +- board/amlogic/{odroid-c2 => p200}/MAINTAINERS | 6 +-

[U-Boot] [PATCH v4 0/5] Arm: meson: add support for p200 and p201 boards

2019-03-15 Thread Mohammad Rasim
This adds support for p200 and p201 reference boards from amlogic Mohammad Rasim (5): ARM: board: meson: rename odroid-c2 to p200 ARM: dts: meson: add p200 and p201 boards Arm: dts: meson: add u-boot.dtsi for p200 and p201 ARM: board: meson: add p200 board ARM: board: meson: add p201

[U-Boot] [PATCH 02/18] mtd: nand: import nand_hw_control_init()

2019-03-15 Thread Philippe Reynes
From: Marc Gonzalez Linux commit d45bc58dd3b ("mtd: nand: import nand_hw_control_init()") The code to initialize a struct nand_hw_control is duplicated across several drivers. Factorize it using an inline function. Signed-off-by: Marc Gonzalez Signed-off-by: Boris Brezillon [Philippe Reynes:

[U-Boot] [PATCH 03/18] mtd: nand: provide several helpers to do common NAND operations

2019-03-15 Thread Philippe Reynes
From: Boris Brezillon Linux commit 97d90da8a88 ("mtd: nand: provide several helpers to do common NAND operations") This is part of the process of removing direct calls to ->cmdfunc() outside of the core in order to introduce a better interface to execute NAND operations. Here we provide

[U-Boot] [PATCH 15/18] bcm968580xref: add nand support

2019-03-15 Thread Philippe Reynes
Enable the nand support (driver and command) in the configuration of the board bcm968580xref. Signed-off-by: Philippe Reynes --- configs/bcm968580xref_ram_defconfig | 7 +++ include/configs/broadcom_bcm968580xref.h | 7 +++ 2 files changed, 14 insertions(+) diff --git

[U-Boot] [PATCH 16/18] dt: bcm63158: add nand controller

2019-03-15 Thread Philippe Reynes
Add the nand controller in the bcm63158 device tree. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm63158.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi index 6a3fbc9..12ade2a 100644 ---

[U-Boot] [PATCH 18/18] bcm963158: add nand support

2019-03-15 Thread Philippe Reynes
Enable the nand support (driver and command) in the configuration of the board bcm963158. Signed-off-by: Philippe Reynes --- configs/bcm963158_ram_defconfig | 6 ++ include/configs/broadcom_bcm963158.h | 7 +++ 2 files changed, 13 insertions(+) diff --git

[U-Boot] [PATCH 17/18] dt: bcm963158: enable nand controller

2019-03-15 Thread Philippe Reynes
Enable the nand controller in the device tree of the board bcm963158. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm963158.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts index dc5afb5..abb44a6 100644 ---

[U-Boot] [PATCH 14/18] dt: bcm968580xref: enable nand controller

2019-03-15 Thread Philippe Reynes
Enable the nand controller in the device tree of the board bcm968580xref. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm968580xref.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts index 0c59f94..2085c18

[U-Boot] [PATCH 09/18] drivers: nand: brcmnand: add an option to read the write-protect from device tree

2019-03-15 Thread Philippe Reynes
The option write-protect may only change on the kernel command line, we add a property in the device tree to be more flexible. Signed-off-by: Philippe Reynes --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 13/18] dt: bcm6858: add nand controller

2019-03-15 Thread Philippe Reynes
Add the nand controller in the bcm6858 device tree. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm6858.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi index 23b80c6..f48f93b 100644 --- a/arch/arm/dts/bcm6858.dtsi

[U-Boot] [PATCH 11/18] dt: bcm968380gerg: enable nand controller

2019-03-15 Thread Philippe Reynes
Enable the nand controller in the device tree of the board bcm96838gerg. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm968380gerg.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/mips/dts/brcm,bcm968380gerg.dts b/arch/mips/dts/brcm,bcm968380gerg.dts index

[U-Boot] [PATCH 12/18] bcm968380gerg: add nand support

2019-03-15 Thread Philippe Reynes
Enable the nand support (driver and command) in the configuration of the board bcm96838gerg. Signed-off-by: Philippe Reynes --- configs/bcm968380gerg_ram_defconfig | 7 +++ include/configs/broadcom_bcm968380gerg.h | 7 +++ 2 files changed, 14 insertions(+) diff --git

[U-Boot] [PATCH 07/18] drivers: nand: brcmnand: add initial support

2019-03-15 Thread Philippe Reynes
The driver brcmnand come from linux kernel 4.18. Only SoC bcm6838 and bcm6858 are supported. Signed-off-by: Philippe Reynes --- drivers/mtd/nand/raw/Kconfig| 25 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/brcmnand/Makefile |

[U-Boot] [PATCH 10/18] dt: bcm6838: add nand controller

2019-03-15 Thread Philippe Reynes
Add the nand controller in the bcm6838 device tree. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi index b6f9559..2b7baf9 100644 ---

[U-Boot] [PATCH 04/18] arm: asm: io.h: define readX_relaxed and writeX_relaxed

2019-03-15 Thread Philippe Reynes
This patch port the function readX_relaxed and writeX_relaxed from kernel 4.18. Signed-off-by: Philippe Reynes --- arch/arm/include/asm/io.h | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 12bc7fb..e6d27b6

[U-Boot] [PATCH 05/18] include: linux: io: define devm_ioremap on board with ioremap

2019-03-15 Thread Philippe Reynes
The macro devm_ioremap is only defined for configuration that doesn't have ioremap. But this macro may also be defined on configuration with ioremap. This patch remove the condition for the macro devm_ioremap, so it's always defined. Signed-off-by: Philippe Reynes --- include/linux/io.h | 2 +-

[U-Boot] [PATCH 08/18] drivers: nand: brcmnand: add parameter parameter-page-big-endian

2019-03-15 Thread Philippe Reynes
The parameter page isn't always in big endian, so we add an option to choose the endiannes of the parameter page. Signed-off-by: Philippe Reynes --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 06/18] compat linux: import completion from linux 4.18

2019-03-15 Thread Philippe Reynes
This patch port the file include/linux/completion.h from linux 4.18 to u-boot. It define the structure but all the function are stubbed. Signed-off-by: Philippe Reynes --- include/linux/completion.h | 173 + 1 file changed, 173 insertions(+) create

[U-Boot] [PATCH 00/18] Initial support of driver brcmnand (from kernel 4.18)

2019-03-15 Thread Philippe Reynes
This serie is a port the support of driver brcmnand from kernel 4.18 to u-boot. I've tried to stay as close as possible to the kernel. In this first port, I haven't ported the support of DMA, it's not mandatory in the first step and it could be added later. This code has been tested on bcm6838

[U-Boot] [PATCH 01/18] mtd: add get/set of_node/flash_node helpers

2019-03-15 Thread Philippe Reynes
From: Brian Norris Linux commit 28b8b26b308 ("mtd: add get/set of_node/flash_node helpers") We are going to begin using the mtd->dev.of_node field for MTD device nodes, so let's add helpers for it. Also, we'll be making some conversions on spi_nor (and nand_chip eventually) too, so get that

Re: [U-Boot] [PATCH] arndale: fix unknown status

2019-03-15 Thread Tom Rini
On Fri, Mar 15, 2019 at 02:52:12PM +0100, Krzysztof Kozlowski wrote: > On Thu, 14 Mar 2019 at 20:24, Tom Rini wrote: > > I'm taking your patch to the MAINTAINERS file now. That said, generally > > "odd fixes" are what's required of board maintainers, once the port is > > in. However, as we push

Re: [U-Boot] [PATCH] arndale: fix unknown status

2019-03-15 Thread Krzysztof Kozlowski
On Thu, 14 Mar 2019 at 20:24, Tom Rini wrote: > I'm taking your patch to the MAINTAINERS file now. That said, generally > "odd fixes" are what's required of board maintainers, once the port is > in. However, as we push forward on moving to various frameworks that > should make life easier

Re: [U-Boot] [PATCH] armv7: ls102xa: Add workaround for DDR erratum A-008850

2019-03-15 Thread Prabhakar Kushwaha
> -Original Message- > From: Alison Wang > Sent: Wednesday, March 6, 2019 12:19 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: Alison Wang ; Shengzhou Liu > > Subject: [PATCH] armv7: ls102xa: Add workaround for DDR erratum A-008850 > > Barrier transactions from CCI400 need

Re: [U-Boot] [PATCH] board: fsl: lx2160aqds: modify the phy fixup code

2019-03-15 Thread Prabhakar Kushwaha
> -Original Message- > From: Joe Hershberger > Sent: Tuesday, March 5, 2019 3:58 AM > To: Pankaj Bansal > Cc: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH] board: fsl: lx2160aqds: modify the phy fixup > code > > On Thu, Feb 28, 2019 at 2:13 AM Pankaj

Re: [U-Boot] [PATCH] drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset

2019-03-15 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Joe Hershberger > Sent: Tuesday, March 5, 2019 12:51 AM > To: Pramod Kumar > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [U-Boot] [PATCH] drivers: net: ls1088ardb: Fix EC1 and EC2 RCW > offset > > On Thu, Feb 28, 2019 at 3:06 AM

Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M

2019-03-15 Thread Prabhakar Kushwaha
> -Original Message- > From: Joe Hershberger > Sent: Saturday, March 2, 2019 2:56 AM > To: Meenakshi Aggarwal > Cc: u-boot ; Prabhakar Kushwaha > > Subject: Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M > > On Tue, Feb 26, 2019 at 9:26 PM Meenakshi Aggarwal > wrote: > >

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Fix DPC MAC address fixup

2019-03-15 Thread Prabhakar Kushwaha
> -Original Message- > From: Joe Hershberger > Sent: Tuesday, March 5, 2019 12:48 AM > To: Ioana Ciocoi Radulescu > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha > > Subject: Re: [U-Boot] [PATCH] driver: net: fsl-mc: Fix DPC MAC address fixup > > On Tue, Feb 26, 2019 at 9:51 AM Ioana

Re: [U-Boot] [PATCH] drivers: net: ldpaa_eth: check if the dpmac is enabled

2019-03-15 Thread Prabhakar Kushwaha
> -Original Message- > From: Joe Hershberger > Sent: Saturday, March 2, 2019 3:00 AM > To: Pankaj Bansal > Cc: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH] drivers: net: ldpaa_eth: check if the dpmac is > enabled > > On Fri, Feb 8, 2019 at 2:59 AM Pankaj

[U-Boot] Please pull u-boot-fsl-qoriq master

2019-03-15 Thread Prabhakar Kushwaha
Hi Tom, The following changes since commit 9ba5e5bc261a16f51662490da0cf620dc7f29013: Revert "env: add spi_flash_read_env function" (2019-03-13 20:32:09 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git HEAD for you to fetch changes up to

Re: [U-Boot] [PATCH] Add dfu command entry to MAINTAINERS

2019-03-15 Thread Andy Shevchenko
On Fri, Mar 15, 2019 at 11:47 AM Anatolij Gustschin wrote: > > get_maintainer.pl doesn't report the maintainer for dfu command > code since its entry is not in the database file. Add it. > Thanks! Reviewed-by: Andy Shevchenko > Signed-off-by: Anatolij Gustschin > Cc: Lukasz Majewski > --- >

Re: [U-Boot] [PATCH] Add dfu command entry to MAINTAINERS

2019-03-15 Thread Lukasz Majewski
On Fri, 15 Mar 2019 10:47:20 +0100 Anatolij Gustschin wrote: > get_maintainer.pl doesn't report the maintainer for dfu command > code since its entry is not in the database file. Add it. > > Signed-off-by: Anatolij Gustschin > Cc: Lukasz Majewski > --- > MAINTAINERS | 1 + > 1 file changed,

[U-Boot] [PATCH v2] arm: arm64 32bit address relocation

2019-03-15 Thread Ibai Erkiaga
Current relocation code is limited to 21bit PC-relative addressing which might not be enough for bigger code sizes. The following patch increases the addressing to 32bit PC-relative. This feature is specially interesting if U-Boot is build without optimiation (-O0) as the text section is increased

Re: [U-Boot] [PATCH v2] arm: fix hvc call

2019-03-15 Thread Ibai Erkiaga Elorza
Hi Alex, > -Original Message- > From: Alexander Graf > Sent: 25 February 2019 13:09 > To: Ibai Erkiaga Elorza > Cc: u-boot@lists.denx.de; Sumit Garg ; Heinrich > Schuchardt ; Tom Rini ; Albert > Aribaud > Subject: Re: [U-Boot][PATCH v2] arm: fix hvc call > > > > > Am 25.02.2019 um

[U-Boot] [PATCH] env: Update env addr for mmc environment driver

2019-03-15 Thread Pankit Garg
Signed-off-by: Pankit Garg --- env/mmc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/env/mmc.c b/env/mmc.c index c3cf35d..f5d16cf 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -313,6 +313,7 @@ static int env_mmc_load(void) int ret; int dev = mmc_get_env_dev();

Re: [U-Boot] [PATCH 2/4] board: mscc: jr2: Update MSCC Jaguar2 boards

2019-03-15 Thread Daniel Schwierzeck
Hi Horatio, Am 06.03.19 um 23:11 schrieb Horatiu Vultur: > Hi Daniel, > > The 03/06/2019 14:19, Daniel Schwierzeck wrote: >> >> >> Am 05.03.19 um 12:57 schrieb Horatiu Vultur: >>> In Jaguar2 SoC family there are 3 different pcb. Each of this needs >>> to configure the SerDes and the phys in

Re: [U-Boot] [U-Boot, V4, PATCH 1/1] mips: add initial support for qca956x referenced board

2019-03-15 Thread Daniel Schwierzeck
Am 08.03.19 um 02:24 schrieb rosys...@rosinson.com: > From: Rosy Song > > QCA9563 is CPU used on AP152 board : > > Clock speed : 750 MHz , > Arch : Mips 74Kc, > Eth : SGMII interface, > MIMO config : 3 * 3 450M, > 2 * USB 2.0, > > Signed-off-by: Rosy Song > > Changes

Re: [U-Boot] [PATCH] bootm: mips: Remove boot_reloc_ramdisk

2019-03-15 Thread Daniel Schwierzeck
Am 07.03.19 um 16:49 schrieb Horatiu Vultur: > Remove the function boot_reloc_ramdisk in the file arch/mips/lib/bootm > because it is relocating again the ramdisk. The function do_bootm_states() > already relocates the ramdisk even if it is a legacy uImage or a FIT image. > > The relocation in

[U-Boot] Short Mailing List statistics

2019-03-15 Thread Wolfgang Denk
Hi, for those interested in statistical data here some numbers about the U-Boot mailing list. This is a quick and dirty result basing on my local archive, so there may be a few (minimal) differences like single-digit differences in the number ot messages per year or so. YearTotal number

Re: [U-Boot] [PATCH] mips: mt76xx: gardena-smart-gateway: Correct spelling of GARDENA

2019-03-15 Thread Daniel Schwierzeck
Am 15.03.19 um 09:09 schrieb Stefan Roese: > This patch changes Gardena to the correct GARDENA spelling. Also the > platform name is "GARDENA smart Gateway". This patch changes the > incorrect occurrances. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > --- >

Re: [U-Boot] [U-Boot, V4, PATCH 1/1] mips: add initial support for qca956x referenced board

2019-03-15 Thread Daniel Schwierzeck
Am 08.03.19 um 02:24 schrieb rosys...@rosinson.com: > From: Rosy Song > > QCA9563 is CPU used on AP152 board : > > Clock speed : 750 MHz , > Arch : Mips 74Kc, > Eth : SGMII interface, > MIMO config : 3 * 3 450M, > 2 * USB 2.0, > > Signed-off-by: Rosy Song > > Changes

Re: [U-Boot] [PATCH] bootm: mips: Remove boot_reloc_ramdisk

2019-03-15 Thread Daniel Schwierzeck
Am 08.03.19 um 13:30 schrieb Horatiu Vultur: > Hi Daniel, > > The 03/07/2019 18:33, Daniel Schwierzeck wrote: >> Am Do., 7. März 2019 um 16:49 Uhr schrieb Horatiu Vultur >> : >>> >>> Remove the function boot_reloc_ramdisk in the file arch/mips/lib/bootm >>> because it is relocating again the

Re: [U-Boot] [PATCH] net: mscc: ocelot: Fix reset of the phys

2019-03-15 Thread Daniel Schwierzeck
Am 12.03.19 um 10:23 schrieb Horatiu Vultur: > The function mscc_miim_reset resets all the phys, but it is called for > each phy separetely. One consequence of this is that the boot time > is increased by 2 seconds. > > The fix consists for calling the mscc_miim_reset function only once for >

Re: [U-Boot] [PATCH 3/4] mips: add missing dtb-y to arch/mips/dts/Makefile

2019-03-15 Thread Daniel Schwierzeck
Am 14.03.19 um 06:58 schrieb Masahiro Yamada: > Since commit 27cb7300ffda ("Ensure device tree DTS is compiled"), > build succeeds irrespective of the correctness of Makefile. > > In fact, you can compile any defconfig without adding any entry in > arch/*/dts/Makefile. > > I am going to revert

Re: [U-Boot] [U-Boot, v2] Enable expression support for CONFIG_BOARD_SIZE_LIMIT

2019-03-15 Thread Ismael Luceno Cortes
On 08/Mar/2019 18:28, Martin Husemann wrote: > On Fri, Mar 08, 2019 at 12:17:09PM -0500, Tom Rini wrote: > > OK, so a few thoughts here. > > - What's the portable way to do hex-based math? If we really need it? > > Use printf(3) to convert to/from hex, and standard shell arithmetic > with $((

Re: [U-Boot] [PATCH v3 0/3] ARM: meson: add p200 and p201 boards

2019-03-15 Thread Neil Armstrong
Hi, Thanks for the reactivity ! On 14/03/2019 22:09, Mohammad Rasim wrote: > This adds support for p200 and p201 reference boards from amlogic > > Mohammad Rasim (3): > ARM: dts: meson: add p200 and p201 boards > ARM: board: meson: add p201 board > ARM: board: meson: add p200 board > >

[U-Boot] [U-BOOT][PATCH V3] sunxi: Use clrsetbits_le32 instead of multiple instruction

2019-03-15 Thread Shyam Saini
From: Michael Trimarchi This will improve code readabilty Signed-off-by: Michael Trimarchi --- Changelogs: V1->V2: None V2->V3: Fix use of clrsetbits_le32 and setbits_le32 functions --- arch/arm/mach-sunxi/dram_sun8i_a33.c | 7 ++- 1 file changed, 2 insertions(+), 5

Re: [U-Boot] [PATCH v1] dfu: Avoid declaring unused variables and absent parameters

2019-03-15 Thread Anatolij Gustschin
On Fri, 15 Mar 2019 11:23:38 +0200 Andy Shevchenko andy.shevche...@gmail.com wrote: ... > > I can only recommend using patman, which shall link the dfu: in topic > > with my e-mail address, > > It's pity that different projects based on Kbuild infra are using > different type of accessing to

[U-Boot] [PATCH] Add dfu command entry to MAINTAINERS

2019-03-15 Thread Anatolij Gustschin
get_maintainer.pl doesn't report the maintainer for dfu command code since its entry is not in the database file. Add it. Signed-off-by: Anatolij Gustschin Cc: Lukasz Majewski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [U-Boot] passing info from SPL to U-Boot

2019-03-15 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > I think it is a reasonable idea to allow the gd region to pass from > TPL -> SPL -> U-Boot. But we'll need to remove use of > CONFIG_IS_ENABLED(), or put shared things at the beginning of the > structure. Indeed. And/or split things up in "common" stuff

Re: [U-Boot] [PATCH v1] dfu: Avoid declaring unused variables and absent parameters

2019-03-15 Thread Andy Shevchenko
On Fri, Mar 15, 2019 at 12:28 AM Lukasz Majewski wrote: > > On Thu, Mar 14, 2019 at 10:19:58PM +0200, Andy Shevchenko wrote: > > > Any comments on this? > > > > > > I don't know who is the right person to push this forward, please, > > > feel free to Cc to the right one, or tell me to resend

[U-Boot] [PATCH] mips: mt76xx: gardena-smart-gateway: Correct spelling of GARDENA

2019-03-15 Thread Stefan Roese
This patch changes Gardena to the correct GARDENA spelling. Also the platform name is "GARDENA smart Gateway". This patch changes the incorrect occurrances. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-

Re: [U-Boot] [PATCH v2 1/2] x86: TunnelCreek: switch P state to the highest freq

2019-03-15 Thread Bin Meng
Hi Christian, On Wed, Mar 13, 2019 at 5:27 PM Christian Gmeiner wrote: > > Hi all, > > Am Mo., 11. März 2019 um 15:41 Uhr schrieb Bin Meng : > > > > Hi Andy, > > > > On Wed, Mar 6, 2019 at 7:09 PM Andy Shevchenko > > wrote: > > > > > > On Thu, Feb 28, 2019 at 11:29:50AM +0800, Bin Meng wrote: >

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-15 Thread Michal Simek
On 15. 03. 19 7:51, Simon Goldschmidt wrote: > On Fri, Mar 15, 2019 at 7:44 AM Michal Simek wrote: >> >> On 14. 03. 19 21:57, Simon Goldschmidt wrote: >>> This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. >> >> You should also put subject of that patch here. It is much easier to >>

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-15 Thread Simon Goldschmidt
On Fri, Mar 15, 2019 at 7:44 AM Michal Simek wrote: > > On 14. 03. 19 21:57, Simon Goldschmidt wrote: > > This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. > > You should also put subject of that patch here. It is much easier to > check what was that. The subject of the commit is in

[U-Boot] Pull request for UEFI system for v2019.04-rc4

2019-03-15 Thread Heinrich Schuchardt
The following changes since commit e8e3f2d2d48f97b2c79b698eccedce8f4f880993: Merge branch '2019-03-08-master-imports' (2019-03-08 18:04:13 -0500) are available in the Git repository at: https://github.com/xypron2/u-boot tag efi-2019-04-rc4-3 for you to fetch changes up to

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-15 Thread Michal Simek
On 14. 03. 19 21:57, Simon Goldschmidt wrote: > This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. You should also put subject of that patch here. It is much easier to check what was that. M ___ U-Boot mailing list U-Boot@lists.denx.de