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

2018-11-19 Thread Stefan Roese
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 Roese wrote: On 07.08.2018 09:41, Chris Packham wrote: Enable DM_I2C and I2C_MVTSWI for the ds109 board. Signed-off-by: Chris Packham --- Changes in

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: Chris Packham > >> --- > >> > >> Changes in v3: No

Re: [U-Boot] [PATCH 12/19] fix: nand: pxa3xx: Add SoC-specific enable function

2018-11-19 Thread Stefan Roese
Hi Kosta, On 19.09.18 14:34, Stefan Roese wrote: On 29.08.2018 10:56, kos...@marvell.com wrote: From: Igal Liberman Add SoC-dependent function to the NAND driver for selecting NAND interface in DEVBUS MUX register. This selection is done in the BootROM if the boot device is NAND, but may be m

Re: [U-Boot] [PATCH v3 2/5] usb: am335x_evm: Disable CONFIG_SPL_DM_USB

2018-11-19 Thread Sven Schwermer
>> This configuration doesn't use USB in the SPL, so we need to disable >> driver model for USB in the SPL. >> >> Signed-off-by: Sven Schwermer > > Is this also needed on other boards ? As per the cover letter, I have successfully run the Travis CI build for this patch series. Furthermore, I h

Re: [U-Boot] [PATCH v3 1/5] usb: Introduce CONFIG_SPL_DM_USB

2018-11-19 Thread Sven Schwermer
Hi Marek, >> This allows building the SPL without driver model for USB. Since >> CONFIG_SPL_DM_USB is enabled if and only if CONFIG_DM_USB was enabled >> before, this patch does not change the build behaviour. >> >> Signed-off-by: Sven Schwermer > > I asked before, but shouldn't this be 5/5 ?

Re: [U-Boot] [PATCH 11/19] a70x0: a80x0: add soc type and revision printing in boot log

2018-11-19 Thread Stefan Roese
Hi Kosta, On 29.08.18 10:56, kos...@marvell.com wrote: From: zachary zhang This patch adds SoC type and revision and each module's type and revision printing for a7k and a8k boards. Signed-off-by: zachary zhang Reviewed-by: Igal Liberman Cc: Stefan Roese Cc: Simon Glass --- arch/arm/mac

Re: [U-Boot] [PATCH u-boot-marvell v2 06/12] board: turris_mox: Cosmetic restructurization

2018-11-19 Thread Stefan Roese
Hi Marek, On 19.09.18 14:22, Stefan Roese wrote: On 17.08.2018 12:58, Marek Behún wrote: Restructure the board initialization source. Remove the module_topology environment variable since it won't be needed. Signed-off-by: Marek Behun --- board/CZ.NIC/turris_mox/turris_mox.c | 153 +++

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

2018-11-19 Thread Stefan Roese
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: Chris Packham --- Changes in v3: None Changes in v2: - new configs/ds109_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff -

Re: [U-Boot] [PATCH v5 05/18] arm: MediaTek: add basic support for MT7623 boards

2018-11-19 Thread Weijie Gao
Hi Simon, On Mon, 2018-11-19 at 10:14 -0700, Simon Glass wrote: > Hi Weijie, > > On Mon, 19 Nov 2018 at 00:16, Weijie Gao wrote: > > > > On Fri, 2018-11-16 at 11:26 -0700, Simon Glass wrote: > > > Hi Weijie, > > > > > > On 15 November 2018 at 23:08, Weijie Gao > > > wrote: > > > > On Thu, 2018-

[U-Boot] [PATCH] Revert "arm: config: fix default console only to specify the device"

2018-11-19 Thread Seung-Woo Kim
This reverts commit 232ed3ca534708527a9515c7c41bc3542949525c. In exynos boards, ${console} is used to set bootargs but it sets without "console=", so CONFIG_DEFAULT_CONSOLE for these boards is designated with "console=" but it is removed. So revert the commit. References for using ${console} in

Re: [U-Boot] [PATCH][v2] armv8: lx2160ardb : Add support for LX2160ARDB platform

2018-11-19 Thread Priyanka Jain
>-Original Message- >From: York Sun >Sent: Tuesday, November 20, 2018 2:17 AM >To: Priyanka Jain ; u-boot@lists.denx.de >Cc: Wasim Khan ; Yogesh Narayan Gaur >; Meenakshi Aggarwal >; Vabhav Sharma >; Sriram Dash ; Rajesh >Bhagat ; Pankit Garg >Subject: Re: [PATCH][v2] armv8: lx2160ardb :

Re: [U-Boot] [PATCH v3 6/6] spi: kirkwood: Full dm conversion

2018-11-19 Thread Jagan Teki
On Thu, Nov 15, 2018 at 1:19 PM Michael Walle wrote: > > Am 2018-11-05 10:58, schrieb Jagan Teki: > > On Mon, May 7, 2018 at 2:40 PM Jagan Teki > > wrote: > >> > >> kirkwood now support dt along with platform data, > >> respective boards need to switch into dm for the same. > >> > >> Signed-off-b

[U-Boot] [PATCH v2 3/3] ARM: DTS: Provide pinfunc definitions for vybrid vf610 from Linux kernel

2018-11-19 Thread Lukasz Majewski
This file is in sync with v4.20-next tree: e4dda4f5a4df "x86/kaslr, ACPI/NUMA: avoid including asm/kaslr.h on arm64" Signed-off-by: Lukasz Majewski --- Changes in v2: None arch/arm/dts/vf610-pinfunc.h | 810 +++ 1 file changed, 810 insertions(+) create

[U-Boot] [PATCH v2 1/3] ARM: vybrid: Provide pinctrl driver for Vybrid (vf610)

2018-11-19 Thread Lukasz Majewski
This implementation comply with other iMX devices pinctrl drivers already available in U-boot. Signed-off-by: Lukasz Majewski --- Changes in v2: - Remove mux_mask from the imx_pinctrl_soc_info specific for vf610 drivers/pinctrl/nxp/Kconfig | 14 + drivers/pinctrl/nxp/Makef

[U-Boot] [PATCH v2 2/3] ARM: DTS: Add iomux node to vf.dtsi for Vybrid devices

2018-11-19 Thread Lukasz Majewski
This node is in sync with v4.20-next tree: e4dda4f5a4df "x86/kaslr, ACPI/NUMA: avoid including asm/kaslr.h on arm64" Signed-off-by: Lukasz Majewski --- Changes in v2: - Define vf610 mux_mask in the DTS (as it is read from there) arch/arm/dts/vf.dtsi | 6 ++ 1 file changed, 6 insertions(+)

[U-Boot] [PATCH v2 0/3] ARM: pinctrl: Provide pinctrl driver for Vybrid (vf610)

2018-11-19 Thread Lukasz Majewski
This series enables pinctrl driver for the vybrid NXP SoC. Changes in v2: - Remove mux_mask from the imx_pinctrl_soc_info specific for vf610 - Define vf610 mux_mask in the DTS (as it is read from there) Lukasz Majewski (3): ARM: vybrid: Provide pinctrl driver for Vybrid (vf610) ARM: DTS: Ad

Re: [U-Boot] [PATCH] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-11-19 Thread Lukasz Majewski
Hi Martyn, > On Thu, 2018-11-15 at 01:25 +0100, Lukasz Majewski wrote: > > Hi Martyn, > > > > > Port for the PHYTEC phyBOARD-i.MX6UL-Segin single board computer. > > > Based on the PHYTEC phyCORE-i.MX6UL SOM (PCL063). This port > > > provides > > > both SPL and DCD based boot options (hence the

Re: [U-Boot] [PATCH v3 1/5] usb: Introduce CONFIG_SPL_DM_USB

2018-11-19 Thread Marek Vasut
On 11/17/2018 12:37 PM, Sven Schwermer wrote: > This allows building the SPL without driver model for USB. Since > CONFIG_SPL_DM_USB is enabled if and only if CONFIG_DM_USB was enabled > before, this patch does not change the build behaviour. > > Signed-off-by: Sven Schwermer I asked before, but

Re: [U-Boot] [PATCH v3 2/5] usb: am335x_evm: Disable CONFIG_SPL_DM_USB

2018-11-19 Thread Marek Vasut
On 11/16/2018 12:04 PM, Sven Schwermer wrote: > This configuration doesn't use USB in the SPL, so we need to disable > driver model for USB in the SPL. > > Signed-off-by: Sven Schwermer Is this also needed on other boards ? -- Best regards, Marek Vasut _

Re: [U-Boot] [PATCH 89/93] arm: Remove socfpga_vining_fpga board

2018-11-19 Thread Marek Vasut
On 11/19/2018 04:54 PM, Simon Glass wrote: > This board has not been converted to CONFIG_DM_BLK by the deadline. > Remove it. > > Signed-off-by: Simon Glass NAK, this board is actively used. I was never informed about any deadline, so no, sorry. -- Best regards, Marek Vasut -- Best regards,

Re: [U-Boot] [PATCH 83/93] arm: Remove socfpga_sockit board

2018-11-19 Thread Marek Vasut
On 11/19/2018 04:54 PM, Simon Glass wrote: > This board has not been converted to CONFIG_DM_BLK by the deadline. > Remove it. > > Signed-off-by: Simon Glass NAK, this board is actively used. I was never informed about any deadline, so no, sorry. -- Best regards, Marek Vasut ___

[U-Boot] [PATCH v3 04/11] mtd: sf: Make sure we don't register the same device twice

2018-11-19 Thread Boris Brezillon
spi_flash_mtd_register() can be called several times and each time it will register the same mtd_info instance like if it was a new one. The MTD ID allocation gets crazy when that happens, so let's track the status of the sf_mtd_info object to avoid that. Fixes: 9fe6d8716e09 ("mtd, spi: Add MTD la

[U-Boot] [PATCH v3 11/11] mtd: sf: Make sf_mtd.c more robust

2018-11-19 Thread Boris Brezillon
SPI flash based MTD devs can be registered/unregistered at any time through the sf probe command or the spi_flash_free() function. This commit does not try to fix the root cause as it would probably require rewriting most of the code and have an mtd_info object instance per spi_flash object (not t

[U-Boot] [PATCH v3 10/11] mtd: sf: Unregister the MTD device prior to removing the spi_flash obj

2018-11-19 Thread Boris Brezillon
The DM implementation of spi_flash_free() does not unregister the MTD device before removing the spi dev object. This leads to a use-after-free bug when the MTD device is later accessed by a MTD user (observed when attaching the device to UBI after env_sf_load() has called spi_flash_free()). Imple

Re: [U-Boot] [PATCH v3 00/11] mtd/sf: Various fixes

2018-11-19 Thread Boris Brezillon
On Mon, 19 Nov 2018 21:59:44 +0100 Boris Brezillon wrote: > Hello, > > This is the 3rd version of the mtd / sf fixes patchset. This v3 > contains 2 new patches fixing bugs in the spi-flash layer. > > With this version I hope to have addressed all the weird interactions > between the spi-flash a

[U-Boot] [PATCH v3 08/11] mtd: Make sure we don't parse MTD partitions belonging to another dev

2018-11-19 Thread Boris Brezillon
The mtdparts variable might contain partition definitions for several MTD devices. Each partition layout is separated by a ';', so let's make sure we don't pick a wrong name when mtdparts is malformed. Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") Signed-off-by: Boris Brezillon --- Changes

[U-Boot] [PATCH v3 03/11] mtd: Delete partitions attached to the device when a device is deleted

2018-11-19 Thread Boris Brezillon
If we don't do that, partitions might still be exposed while the underlying device is gone. Fixes: 2a74930da57f ("mtd: mtdpart: implement proper partition handling") Signed-off-by: Boris Brezillon --- Changes in v3: - None Changes in v2: - Fix build failures when CONFIG_MTD_PARTITIONS is not ena

[U-Boot] [PATCH v3 09/11] mtd: Don't stop MTD partition creation when it fails on one device

2018-11-19 Thread Boris Brezillon
MTD partition creation code is a bit tricky. It tries to figure out when things have changed (either MTD dev list or mtdparts/mtdids vars) and when that happens it first deletes all the partitions that had been previously created and then creates the new ones based on the new mtdparts/mtdids values

[U-Boot] [PATCH v3 07/11] mtd: Make sure the name passed in mtdparts fits in mtd_name[]

2018-11-19 Thread Boris Brezillon
The local mtd_name[] variable is limited in size. Return an error if the name passed in mtdparts does not fit in this local var. Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") Signed-off-by: Boris Brezillon --- Changes in v3: - None Changes in v2: - New patch --- drivers/mtd/mtd_uboot.c |

[U-Boot] [PATCH v3 06/11] mtd: Be more strict on the "mtdparts=" prefix check

2018-11-19 Thread Boris Brezillon
strstr() does not guarantee that the string we're searching for is placed at the beginning. Use strncmp() instead. Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") Signed-off-by: Boris Brezillon --- Changes in v3: - None Changes in v2: - New patch --- drivers/mtd/mtd_uboot.c | 2 +- 1 file c

[U-Boot] [PATCH v3 02/11] mtd: Parse mtdparts/mtdids again when the MTD list has been updated

2018-11-19 Thread Boris Brezillon
Updates to the MTD device list should trigger a new parsing of the mtdids/mtdparts vars even if those vars haven't changed. Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") Signed-off-by: Boris Brezillon --- Changes in v3: - None Changes in v2: - None --- drivers/mtd/mtd_uboot.c | 18 +++

[U-Boot] [PATCH v3 05/11] mtd: Use get_mtdids() instead of env_get("mtdids") in mtd_search_alternate_name()

2018-11-19 Thread Boris Brezillon
The environment is not guaranteed to contain a valid mtdids variable when called from mtd_search_alternate_name(). Call get_mtdids() instead of env_get("mtdids"). Fixes: ff4afa8a981e ("mtd: uboot: search for an equivalent MTD name with the mtdids") Signed-off-by: Boris Brezillon Reviewed-by: Miq

[U-Boot] [PATCH v3 01/11] mtd: Add a function to report when the MTD dev list has been updated

2018-11-19 Thread Boris Brezillon
We need to parse mtdparts/mtids again everytime a device has been added/removed from the MTD list, but there's currently no way to know when such an update has been done. Add an ->updated field to the idr struct that we set to true every time a device is added/removed and expose a function returni

[U-Boot] [PATCH v3 00/11] mtd/sf: Various fixes

2018-11-19 Thread Boris Brezillon
Hello, This is the 3rd version of the mtd / sf fixes patchset. This v3 contains 2 new patches fixing bugs in the spi-flash layer. With this version I hope to have addressed all the weird interactions between the spi-flash and MTD layer (tested on a platform with a spi-nor and a spi-nand) Heiko,

[U-Boot] [PATCH] ARM: armv7: Add early stack for erratum workarounds

2018-11-19 Thread Andrew F. Davis
Some erratum workarounds call into C code before the stack is setup, this can lead to values pushed onto the stack being lost, firewall exceptions, and other undefined behavior. Setup a temporary stack to allow these functions to work correctly. Signed-off-by: Andrew F. Davis --- arch/arm/cpu/a

Re: [U-Boot] [PATCH][v2] armv8: lx2160ardb : Add support for LX2160ARDB platform

2018-11-19 Thread York Sun
On 10/29/18 2:30 AM, Priyanka Jain wrote: > LX2160ARDB is an evaluation board that supports LX2160A > family SoCs. This patch add base support for this board. > > Signed-off-by: Wasim Khan > Signed-off-by: Yogesh Gaur > Signed-off-by: Meenakshi Aggarwal > Signed-off-by: Vabhav Sharma > Signed-

[U-Boot] [PATCH v3 5/5] usb: storage: s/CONFIG_BLK/CONFIG_IS_ENABLED(BLK)/

2018-11-19 Thread Sven Schwermer
This fixes link issues when building the SPL without USB driver model but with USB storage support. CONFIG_BLK can be enabled and disabled independently for SPL and non-SPL builds. We leverage that existing functionality here. Signed-off-by: Sven Schwermer --- common/usb_storage.c | 28 +

Re: [U-Boot] [PATCH v3] fsl-lsch3: soc: Enable AHB read support for Flexspi controller

2018-11-19 Thread York Sun
On 11/12/18 11:26 PM, Ashish Kumar wrote: > Enable AHB support for Flexspi controller interface meaning > memory can be accessed via md command using absolute addresses > > Signed-off-by: Yogesh Gaur > Signed-off-by: Rajat Srivastava > Signed-off-by: Ashish Kumar > --- > v3: > Depends upon http

[U-Boot] [PATCH v3 3/5] usb: Remove CMD_USB dependency for common code

2018-11-19 Thread Sven Schwermer
Common USB code is built whenever USB is enabled (in non-SPL builds). The USB uclass is built whenever (SPL_)DM_USB is enabled. Both need to be independent from CMD_USB. Signed-off-by: Sven Schwermer --- common/Makefile | 2 +- drivers/usb/host/Makefile | 2 +- 2 files changed, 2 inser

[U-Boot] [PATCH v3 0/5] usb: Introduce CONFIG_SPL_DM_USB

2018-11-19 Thread Sven Schwermer
This solves the dependency problem I described in [1]. [1]: http://u-boot.10912.n7.nabble.com/-td347224.html Version 3: * Reordered patches. * Split out CMD_USB dependency patch. * Verified that no patch breaks the Travis CI build. * Added missing commit comments. * Verified that all AM33xx board

[U-Boot] [PATCH v3 4/5] usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/

2018-11-19 Thread Sven Schwermer
This allows to disable the USB driver model in SPL because it checks the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for regular non-SPL builds. Signed-off-by: Sven Schwermer --- common/usb.c | 14 +++--- common/usb_hub.c | 16

[U-Boot] [PATCH v3 2/5] usb: am335x_evm: Disable CONFIG_SPL_DM_USB

2018-11-19 Thread Sven Schwermer
This configuration doesn't use USB in the SPL, so we need to disable driver model for USB in the SPL. Signed-off-by: Sven Schwermer --- configs/am335x_evm_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig i

[U-Boot] [PATCH v3 1/5] usb: Introduce CONFIG_SPL_DM_USB

2018-11-19 Thread Sven Schwermer
This allows building the SPL without driver model for USB. Since CONFIG_SPL_DM_USB is enabled if and only if CONFIG_DM_USB was enabled before, this patch does not change the build behaviour. Signed-off-by: Sven Schwermer --- drivers/usb/Kconfig | 5 + drivers/usb/common/Makefile | 2

Re: [U-Boot] [PATCH v6 00/27] TF-A Boot support for NXP Chassis 2 platforms

2018-11-19 Thread York Sun
On 11/5/18 10:01 AM, Rajesh Bhagat wrote: > Includes changes in u-boot framework to support TF-A for NXP Chassis 2 > platforms. A new defconfig is added namely ls*_tfa_defconfig which will > be used for all boot sources when TF-A is used. > >

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-19 Thread Adam Ford
On Mon, Nov 19, 2018 at 12:36 PM Tom Rini wrote: > > On Mon, Nov 19, 2018 at 10:54 AM Simon Glass wrote: > > > > All boards should now be migrated to use CONFIG_BLK. This series removes > > those with build problems using this option. > > > > If maintainers want to keep these boards in they shoul

Re: [U-Boot] [PATCH v14 0/4] efi_loader: Code refactoring and improvement

2018-11-19 Thread Heinrich Schuchardt
On 11/19/18 2:49 AM, Simon Glass wrote: > Hi Heinrich, > > On Sun, 18 Nov 2018 at 08:20, Simon Glass wrote: >> >> Hi Alex, >> >> On Wed, 14 Nov 2018 at 16:11, Simon Glass wrote: >>> >>> This collects the patches previously sent to break up the very large >>> functions in efi_loader into smaller

Re: [U-Boot] [PATCH v14 4/4] efi: Rename bootefi_test_finish() to bootefi_run_finish()

2018-11-19 Thread Heinrich Schuchardt
On 11/15/18 12:11 AM, Simon Glass wrote: > This function can be used from do_bootefi_exec() so that we use mostly the > same code for a normal EFI application and an EFI test. > > Rename the function and use it in both places. > > Signed-off-by: Simon Glass > --- > > Changes in v14: > - Go back

Re: [U-Boot] [PATCH v14 3/4] efi: Create a function to set up for running EFI code

2018-11-19 Thread Heinrich Schuchardt
On 11/15/18 12:11 AM, Simon Glass wrote: > There is still duplicated code in efi_loader for tests and normal > operation. > > Add a new bootefi_run_prepare() function which holds common code used to > set up U-Boot to run EFI code. Make use of this from the existing > bootefi_test_prepare() functi

Re: [U-Boot] [PATCH v14 2/4] efi: Split out test init/uninit into functions

2018-11-19 Thread Heinrich Schuchardt
On 11/15/18 12:11 AM, Simon Glass wrote: > The functions in bootefi are very long because they mix high-level code > and control with the low-level implementation. To help with this, create > functions which handle preparing for running the test and cleaning up > afterwards. > > Also shorten the a

Re: [U-Boot] [PATCH v2 1/2] spl_spi: Read default speed and mode values from DT

2018-11-19 Thread Simon Goldschmidt
On 19.11.2018 18:33, Patrick Delaunay wrote: In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. Signed-off-by: Christophe Kerello Signed-off-by: Patrick Delaunay I was commenting about code duplication, which is better now, so: Reviewed-b

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-19 Thread Tom Rini
On Mon, Nov 19, 2018 at 10:54 AM Simon Glass wrote: > > All boards should now be migrated to use CONFIG_BLK. This series removes > those with build problems using this option. > > If maintainers want to keep these boards in they should send a patch in > the next week or two. Otherwise the board wi

Re: [U-Boot] [PATCH 01/93] Add a simple script to remove boards

2018-11-19 Thread Adam Ford
On Mon, Nov 19, 2018 at 9:54 AM Simon Glass wrote: > > This script attempts to create a git commit which removes a single board. > It is quite fallible and everything it does needs checking. But it can > help speed up the process. > This patch looks like it goes through the configs, finds boards

Re: [U-Boot] [PATCH 48/93] arm: Remove imx6q_logic board

2018-11-19 Thread Adam Ford
On Mon, Nov 19, 2018 at 9:55 AM Simon Glass wrote: > > This board has not been converted to CONFIG_DM_BLK by the deadline. > Remove it. > NAK. I disagree with your assessment. make imx6q_logic_defconfig cat .config | grep BLK CONFIG_BLK=y CONFIG_SPL_BLK=y Like the other board, I think you're l

Re: [U-Boot] [PATCH 51/93] arm: Remove omap3_logic_somlv board

2018-11-19 Thread Adam Ford
On Mon, Nov 19, 2018 at 9:55 AM Simon Glass wrote: > > This board has not been converted to CONFIG_DM_BLK by the deadline. > Remove it. NAK! This board does support BLK. I think your algorithm is looking for CONFIG_DM_BLK when it should be looking for CONFIG_BLK which depends on DM. make omap3

Re: [U-Boot] [PATCH] cmd: add clear screen 'cls' command

2018-11-19 Thread Patrick DELAUNAY
Hi Anatolij > From: Anatolij Gustschin > Sent: samedi 17 novembre 2018 15:30 > > Add common clear screen command for configurations CONFIG_DM_VIDEO, > CONFIG_LCD and CONFIG_CFB_CONSOLE. > > Remove the existing cls command implementation from lcd.c code and activate > the command for all boards e

Re: [U-Boot] [PATCH 25/93] arm: Remove warp7 board

2018-11-19 Thread Fabio Estevam
Hi Simon, On Mon, Nov 19, 2018 at 2:29 PM Simon Glass wrote: > > This board has not been converted to CONFIG_DM_BLK by the deadline. CONFIG_DM_BLK does not exist. Which deadline? Shouldn't we have a warning to let people know that the board should be converted? _

Re: [U-Boot] Re : Re: Re : Re: [PATCH] exynos5: allow bigger BL2 (u-boot.bin)

2018-11-19 Thread Tom Rini
On Mon, Nov 19, 2018 at 06:03:45PM +0100, Guillaume GARDET wrote: > - Tom Rini a écrit : > > On Mon, Nov 19, 2018 at 05:56:37PM +0100, Guillaume GARDET wrote: > > > > > > - Tom Rini a écrit : > > > > On Mon, Nov 19, 2018 at 05:45:03PM +0100, Guillaume GARDET wrote: > > > > > > > > > T

[U-Boot] [PATCH v2 0/2] Read default speed and mode values from DT

2018-11-19 Thread Patrick Delaunay
This serie generalize the commit 96907c0fe50a ("dm: spi: Read default speed and mode values from DT") In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at differe

[U-Boot] [PATCH v2 2/2] splash: sf: Read default speed and mode values from DT

2018-11-19 Thread Patrick Delaunay
In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. Signed-off-by: Patrick Delaunay --- Changes in v2: - use variables to avoid duplicated code common/splash_source.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff -

Re: [U-Boot] [PATCH v2] mmc: fsl_esdhc: Avoid infinite loop in esdhc_send_cmd_common()

2018-11-19 Thread Ricardo Salveti
On Mon, Nov 19, 2018 at 12:42 PM Fabio Estevam wrote: > > Hi Ricardo, > > On Mon, Nov 19, 2018 at 12:25 PM Ricardo Salveti > wrote: > > > Looking a bit further, this ends up adding a significant boot delay > > because the mmc driver still tries to send another two additional > > commands, so it

[U-Boot] [PATCH v2 1/2] spl_spi: Read default speed and mode values from DT

2018-11-19 Thread Patrick Delaunay
In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. Signed-off-by: Christophe Kerello Signed-off-by: Patrick Delaunay --- Changes in v2: - use variables to avoid duplicated code common/spl/spl_spi.c | 10 -- 1 file changed, 8 inserti

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-19 Thread Otavio Salvador
Hello Simon, On Mon, Nov 19, 2018 at 1:52 PM Simon Glass wrote: > All boards should now be migrated to use CONFIG_BLK. This series removes > those with build problems using this option. I understand and support the goal here but it seems a little abrupt to send it on a short notice. It'd be nice

[U-Boot] [PATCH] exynos5: allow bigger BL2 (u-boot.bin)

2018-11-19 Thread Guillaume GARDET
This patch allows SPL to load a bigger BL2 (u-boot.bin). This is needed for and has been tested on Arndale board, as u-boot.bin is now bigger than 512K with GCC8. Signed-off-by: Guillaume GARDET Cc: Minkyu Kang Cc: Tom Rini --- include/configs/exynos5-common.h | 2 +- 1 file changed, 1 inser

Re: [U-Boot] [PATCH 68/93] arm: Remove am65x_evm_a53 board

2018-11-19 Thread Lokesh Vutla
Hi Simon, On 11/19/2018 9:23 PM, Simon Glass wrote: > This board has not been converted to CONFIG_DM_BLK by the deadline. > Remove it. > > Signed-off-by: Simon Glass Not sure if this is by mistake, but I see CONFIG_BLK is enabled in both the configs. Am I missing something? ➜ u-boot git:(mast

Re: [U-Boot] [PATCH] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-11-19 Thread Martyn Welch
On Thu, 2018-11-15 at 01:25 +0100, Lukasz Majewski wrote: > Hi Martyn, > > > Port for the PHYTEC phyBOARD-i.MX6UL-Segin single board computer. > > Based on the PHYTEC phyCORE-i.MX6UL SOM (PCL063). This port > > provides > > both SPL and DCD based boot options (hence the two defconfigs). > > > > C

Re: [U-Boot] [PATCH] video: add command cls

2018-11-19 Thread Patrick DELAUNAY
Hi Anatolij, > From: Anatolij Gustschin > Sent: samedi 17 novembre 2018 15:37 > Hi Patrick, > > On Sat, 17 Nov 2018 14:50:26 +0100 > Anatolij Gustschin ag...@denx.de wrote: > ... >> Thanks for the patch! But I think we should remove this existing lcd >> specific cls and add a common command u

Re: [U-Boot] [PATCH v4 3/4] arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table

2018-11-19 Thread Ang, Chee Hong
On Mon, 2018-11-19 at 14:12 +0100, Marek Vasut wrote: > On 11/19/2018 10:57 AM, Simon Goldschmidt wrote: > > > > On Mon, Nov 19, 2018 at 10:46 AM wrote: > > > > > > > > > From: "Ang, Chee Hong" > > > > > > Enable 'fpga' command in u-boot. User will be able to use the > > > FPGA > > > command

[U-Boot] Re : Re: [PATCH] exynos5: allow bigger BL2 (u-boot.bin)

2018-11-19 Thread Guillaume GARDET
- Tom Rini a écrit : > On Mon, Nov 19, 2018 at 05:45:03PM +0100, Guillaume GARDET wrote: > > > This patch allows SPL to load a bigger BL2 (u-boot.bin). > > This is needed for and has been tested on Arndale board, as u-boot.bin is > > now bigger than 512K with GCC8. > > > > Signed-off-by: G

Re: [U-Boot] [PATCH v7 00/11] [RESEND] Add support for DM_USB and DM_USB_DEV for TI's DRA7 EVMs and AM57 EVMs platforms.

2018-11-19 Thread Jean-Jacques Hiblot
Hi Lukasz, On 19/11/2018 09:11, Lukasz Majewski wrote: Hi Jean-Jacques, Resending this series after rebasing on top of latest u-boot. This series applies on top of the series "[PATCH v3 0/7] Improvements for the dwc3_generic driver" Moving to DM_USB and DM_USB_DEV brings some benefits: - it i

Re: [U-Boot] [PATCH 50/93] arm: Remove imx6dl_mamoj board

2018-11-19 Thread Jagan Teki
On Mon, Nov 19, 2018 at 9:25 PM Simon Glass wrote: > > This board has not been converted to CONFIG_DM_BLK by the deadline. > Remove it. It is CONFIG_BLK right? which is driver model block layer and it's already enabled. Did I missed anything? ₹ ls drivers/block/*.o drivers/block/blkcache.o driv

[U-Boot] Re : Re: Re : Re: [PATCH] exynos5: allow bigger BL2 (u-boot.bin)

2018-11-19 Thread Guillaume GARDET
- Tom Rini a écrit : > On Mon, Nov 19, 2018 at 05:56:37PM +0100, Guillaume GARDET wrote: > > > > - Tom Rini a écrit : > > > On Mon, Nov 19, 2018 at 05:45:03PM +0100, Guillaume GARDET wrote: > > > > > > > This patch allows SPL to load a bigger BL2 (u-boot.bin). > > > > This is needed fo

Re: [U-Boot] [PATCH v7 00/11] [RESEND] Add support for DM_USB and DM_USB_DEV for TI's DRA7 EVMs and AM57 EVMs platforms.

2018-11-19 Thread Lukasz Majewski
Hi Jean-Jacques, > Hi Lukasz, > > On 19/11/2018 09:11, Lukasz Majewski wrote: > > Hi Jean-Jacques, > > > >> Resending this series after rebasing on top of latest u-boot. > >> This series applies on top of the series "[PATCH v3 0/7] > >> Improvements for the dwc3_generic driver" > >> > >> Moving

Re: [U-Boot] Re : Re: [PATCH] exynos5: allow bigger BL2 (u-boot.bin)

2018-11-19 Thread Tom Rini
On Mon, Nov 19, 2018 at 05:56:37PM +0100, Guillaume GARDET wrote: > > - Tom Rini a écrit : > > On Mon, Nov 19, 2018 at 05:45:03PM +0100, Guillaume GARDET wrote: > > > > > This patch allows SPL to load a bigger BL2 (u-boot.bin). > > > This is needed for and has been tested on Arndale board, a

Re: [U-Boot] [PATCH v5 05/18] arm: MediaTek: add basic support for MT7623 boards

2018-11-19 Thread Simon Glass
Hi Weijie, On Mon, 19 Nov 2018 at 00:16, Weijie Gao wrote: > > On Fri, 2018-11-16 at 11:26 -0700, Simon Glass wrote: > > Hi Weijie, > > > > On 15 November 2018 at 23:08, Weijie Gao > > wrote: > > > On Thu, 2018-11-15 at 11:21 -0800, Simon Glass wrote: > > >> Hi, > > >> > > >> On 14 November 2018

Re: [U-Boot] [PATCH 0/2] dm: Complete CONFIG_BLK migration

2018-11-19 Thread Dennis Gilmore
El mié, 27-06-2018 a las 17:40 -0400, Tom Rini escribió: > On Sat, Jun 23, 2018 at 07:59:30AM -0600, Simon Glass wrote: > > The time has come to migrate all boards to use CONFIG_BLK. This > > series > > is just a test to see what boards would have to be removed if we > > required > > CONFIG_BLK, as

Re: [U-Boot] [PATCH] exynos5: allow bigger BL2 (u-boot.bin)

2018-11-19 Thread Tom Rini
On Mon, Nov 19, 2018 at 05:45:03PM +0100, Guillaume GARDET wrote: > This patch allows SPL to load a bigger BL2 (u-boot.bin). > This is needed for and has been tested on Arndale board, as u-boot.bin is > now bigger than 512K with GCC8. > > Signed-off-by: Guillaume GARDET > > Cc: Minkyu Kang >

[U-Boot] [PATCH 70/93] arm: Remove ap121 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/mips/mach-ath79/Kconfig | 1 - board/qca/ap121/Kconfig | 27 board/qca/ap121/MAINTAINERS | 6 board/qca/ap121/Makefile | 3 -- board/qca/ap121/ap

[U-Boot] [PATCH 91/93] dm: Enable CONFIG_BLK

2018-11-19 Thread Simon Glass
As per the migration plan in MIGRATION.txt all boards should now be migrated to use CONFIG_BLK. Enable the CONFIG_BLK option for all boards that use CONFIG_DM. Allow sandbox_noblk to continue to build until migration is complete. Signed-off-by: Simon Glass --- drivers/block/Kconfig | 2 +- dri

[U-Boot] [PATCH 93/93] RFC: dm: Force CONFIG_BLK for all boards with DM

2018-11-19 Thread Simon Glass
This forces CONFIG_BLK to be used for all boards. At present it causes significant fallout. (This is not intended to be applied, just for testing) Signed-off-by: Simon Glass --- drivers/core/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig

[U-Boot] [PATCH 92/93] dm: Update driver-model migration schedule for CONFIG_BLK

2018-11-19 Thread Simon Glass
The deadline has passed, so add a note to indicate that board removal is in progress. Signed-off-by: Simon Glass --- doc/driver-model/MIGRATION.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index 5

[U-Boot] [PATCH 89/93] arm: Remove socfpga_vining_fpga board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- configs/socfpga_vining_fpga_defconfig | 94 -- include/configs/socfpga_vining_fpga.h | 180 -- 2 files changed, 274 deletions(-) delete mode 100644

[U-Boot] [PATCH 84/93] arm: Remove dns325 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/arm/mach-kirkwood/Kconfig | 1 - board/d-link/dns325/Kconfig | 12 -- board/d-link/dns325/MAINTAINERS | 6 - board/d-link/dns325/Makefile | 11 -- board/d-link/dn

[U-Boot] [PATCH 86/93] arm: Remove brppt1_mmc board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/arm/mach-omap2/Kconfig | 1 - board/BuR/brppt1/Kconfig | 15 -- board/BuR/brppt1/MAINTAINERS | 8 -- board/BuR/brppt1/Makefile | 12 -- board/BuR/brppt1/board.c

[U-Boot] [PATCH 87/93] arm: Remove db-mv784mp-gp board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/Marvell/db-mv784mp-gp/MAINTAINERS | 6 - board/Marvell/db-mv784mp-gp/Makefile| 5 - board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c | 117 configs

[U-Boot] [PATCH 85/93] arm: Remove socfpga_is1 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/is1/MAINTAINERS | 6 - board/is1/Makefile| 5 - board/is1/qts/iocsr_config.h | 659 -- board/is1/qts/pinmux_config.h | 218

[U-Boot] [PATCH 88/93] arm: Remove socfpga_arria5 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/altera/arria5-socdk/MAINTAINERS | 7 - board/altera/arria5-socdk/Makefile| 7 - board/altera/arria5-socdk/qts/iocsr_config.h | 695 -- boa

[U-Boot] [PATCH 83/93] arm: Remove socfpga_sockit board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- configs/socfpga_sockit_defconfig | 78 include/configs/socfpga_sockit.h | 22 - 2 files changed, 100 deletions(-) delete mode 100644 configs/so

[U-Boot] [PATCH 82/93] arm: Remove socfpga_de1_soc board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- configs/socfpga_de1_soc_defconfig | 60 --- include/configs/socfpga_de1_soc.h | 22 2 files changed, 82 deletions(-) delete mode 100644 configs

[U-Boot] [PATCH 81/93] arm: Remove socfpga_dbm_soc1 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- configs/socfpga_dbm_soc1_defconfig | 70 -- include/configs/socfpga_dbm_soc1.h | 95 -- 2 files changed, 165 deletions(-) delete mode 10

[U-Boot] [PATCH 80/93] arm: Remove socfpga_de10_nano board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- configs/socfpga_de10_nano_defconfig | 68 - include/configs/socfpga_de10_nano.h | 22 -- 2 files changed, 90 deletions(-) delete mode 100644 configs

[U-Boot] [PATCH 79/93] arm: Remove ls1021aiot_sdcard board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/arm/Kconfig | 1 - board/freescale/ls1021aiot/Kconfig| 17 -- board/freescale/ls1021aiot/MAINTAINERS| 7 - board/freescale/ls1

[U-Boot] [PATCH 78/93] arm: Remove socfpga_sr1500 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/sr1500/MAINTAINERS | 6 - board/sr1500/Makefile| 5 - board/sr1500/qts/iocsr_config.h | 659 --- board/sr1500/qts/pinmux_confi

[U-Boot] [PATCH 77/93] arm: Remove socfpga_socrates board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/altera/cyclone5-socdk/MAINTAINERS | 12 - board/altera/cyclone5-socdk/Makefile | 7 - .../altera/cyclone5-socdk/qts/iocsr_config.h | 659 -- ...

[U-Boot] [PATCH 75/93] arm: Remove omap3_beagle board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/arm/mach-omap2/omap3/Kconfig | 1 - board/ti/beagle/Kconfig | 12 - board/ti/beagle/MAINTAINERS | 6 - board/ti/beagle/Makefile | 7 - board/ti/beag

[U-Boot] [PATCH 76/93] arm: Remove helios4 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/kobol/helios4/MAINTAINERS | 6 -- board/kobol/helios4/Makefile| 5 - board/kobol/helios4/README | 46 - board/kobol/helios4/helios4.c | 163 ---

[U-Boot] [PATCH 73/93] arm: Remove clearfog board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/solidrun/clearfog/MAINTAINERS | 6 -- board/solidrun/clearfog/Makefile| 5 - board/solidrun/clearfog/README | 51 - board/solidrun/clearfog/clearfog.c | 141

[U-Boot] [PATCH 74/93] arm: Remove socfpga_arria10 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- board/altera/arria10-socdk/Kconfig | 18 - board/altera/arria10-socdk/MAINTAINERS | 7 board/altera/arria10-socdk/Makefile | 5 --- board/altera/arria10-socdk/s

[U-Boot] [PATCH 72/93] arm: Remove socfpga_de0_nano_soc board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- configs/socfpga_de0_nano_soc_defconfig | 72 -- include/configs/socfpga_de0_nano_soc.h | 22 2 files changed, 94 deletions(-) delete mode 100644 config

[U-Boot] [PATCH 71/93] arm: Remove imgtec_xilfpga board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/mips/Kconfig| 1 - board/imgtec/xilfpga/Kconfig | 15 - board/imgtec/xilfpga/MAINTAINERS | 6 board/imgtec/xilfpga/Makefile| 7 board/i

[U-Boot] [PATCH 69/93] arm: Remove ap143 board

2018-11-19 Thread Simon Glass
This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it. Signed-off-by: Simon Glass --- arch/mips/mach-ath79/Kconfig | 1 - board/qca/ap143/Kconfig | 27 board/qca/ap143/MAINTAINERS | 6 board/qca/ap143/Makefile | 3 -- board/qca/ap143/ap

  1   2   3   >