Re: [U-Boot] [PATCH v3 31/40] env: Drop the ENTRY typedef

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:18AM -0600, Simon Glass wrote: > U-Boot is not supposed to use typedef for structs anymore. Also this name > is the same as the ENTRY() macro used in assembler files, and 'entry' > itself is widely used in U-Boot (>8k matches). > > Drop the typedef and rename the str

Re: [U-Boot] [PATCH v2 33/40] env: Rename the redundancy flags

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:08AM -0600, Simon Glass wrote: > Add an ENV prefix to these two flags so that it is clear what they relate > to. Also move them to env.h since they are part of the public API. Use an > enum rather than a #define to tie them together. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:13:00PM +0530, Sekhar Nori wrote: > Add needed device-tree nodes to support PCIe 0 > and SERDES on AM65x SoC. The nodes are kept > disabled by default. > > Signed-off-by: Sekhar Nori Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 23/40] env: Move env import/export functions to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:58AM -0600, Simon Glass wrote: > Move these functions to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH 1/3] pci: intel: Increase TLP polling counter

2019-08-13 Thread Tom Rini
On Fri, May 24, 2019 at 10:29:58AM +0800, Ley Foon Tan wrote: > Some PCIe devices require longer time to response. > Increase polling counter to 2 (~100ms). > > Signed-off-by: Ley Foon Tan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 2/7] dm: core: add support for getting register address and size

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:12:56PM +0530, Sekhar Nori wrote: > Current dev_read_*() API lacks support to get address and size > of a "reg" property by name or index. Add support for the same. > > Livetree support has been added but not tested on real hardware. > > The existing unit tests testing

Re: [U-Boot] [PATCH v3 7/7] configs: am65x_evm_a53: enable support for PCIe ethernet cards

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:13:01PM +0530, Sekhar Nori wrote: > Enable support for Intel E1000 based PCIe ethernet cards that > can be used to test PCIe RC functionality on AM65x EVM. > > Signed-off-by: Sekhar Nori Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [PATCH v3 3/7] pcie: ti: add driver for AM65x PCIe RC

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:12:57PM +0530, Sekhar Nori wrote: > Add driver supporting PCIe root-complex available > on TI's AM65x SoC. > > Signed-off-by: Sekhar Nori Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 04/40] common: Remove video_setmem()

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:39AM -0600, Simon Glass wrote: > This function is no-longer defined in U-Boot. Drop the declaration from > common.h > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[U-Boot] [U-BOOT PATCH 0/3] add support for spi-nor device on HiFive Unleashed board

2019-08-13 Thread Sagar Shrikant Kadam
This patch series adds support for 32MiB SPI-NOR flash (is25wp256 from ISSI). Many thanks to Bhargav Shah for porting the spi-nor patches from linux to U-boot in order to support this device. Ref: linux patches which are under review https://lkml.org/lkml/2019/7/2/859 Linux has an option of regi

Re: [U-Boot] [PATCH] power: domain: ti-sci-power-domain: Add device ID info to get/set_device failure

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:08:24PM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > Failure log for ti_sci_power_domain_on/off is as below: > "ti_sci_power_domain_on: get/set_device failed (-19)" > > The above information is useless for debug without information > on what specific device a

Re: [U-Boot] [PATCH v5] board/BuR/brsmarc1: initial commit

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:04:46AM +0200, Hannes Schmelzer wrote: > This commit adds support for the B&R brsmarc1 SoM. > > The SoM is based on TI's AM335x SoC. > Mainly vxWorks 6.9.4.x is running on the board, > doing some PLC stuff on various carrier boards. > > Signed-off-by: Hannes Schmelzer

Re: [U-Boot] [PATCH v3 5/7] configs: am65x_evm_a53: enable PCIe support

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:12:59PM +0530, Sekhar Nori wrote: > Enable support for PCIe and related configurations > on AM654 EVM platform. > > Signed-off-by: Sekhar Nori Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2 2/2] watchdog: omap_wdt: Disable DM watchdog support in SPL

2019-08-13 Thread Tom Rini
On Wed, Jul 31, 2019 at 09:54:07PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > This patch disables DM watchdog support for SPL builds and uses > the legacy omap watchdog driver on TI AM335x chipsets. > > The following build error is reported if DM watchdog support was > enabled

Re: [U-Boot] [PATCH] spl: implement stack usage check

2019-08-13 Thread Tom Rini
On Tue, Jul 16, 2019 at 10:30:36PM +0200, Simon Goldschmidt wrote: > This implements a stack usage check in SPL. > > Many boards start up SPL to run code + data from one common, rather small > SRAM. To implement a sophisticated SPL binary size limit on such boards, > the stack size (as well as ma

Re: [U-Boot] [PATCH v2 05/40] env: Create a new file for environment functions

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:40AM -0600, Simon Glass wrote: > At present we have environment.h but this file includes all the > environment-related header files as well as internals such as > default_environment. > > It seems desirable to have a new header to hold the commonly used > environment

Re: [U-Boot] [PATCH] ARM: da850-evm: Fix Lowlevel init

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 08:47:55AM -0500, Adam Ford wrote: > A previous patch for enabling the NAND config set a flag called > CONFIG_SKIP_LOWLEVEL_INIT when it should have been called > CONFIG_SKIP_LOWLEVEL_INIT_ONLY. The affect this had was creating > a delay on startup for the NOR version whic

Re: [U-Boot] [PATCH v2 11/40] env: Move env_set_hex() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:46AM -0600, Simon Glass wrote: > Move env_set_hex() over to the new header file along with env_set_addr() > which uses it. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signat

Re: [U-Boot] [PATCH 2/3] pci: intel: Fix error when enumerating multi-function PCIe device

2019-08-13 Thread Tom Rini
On Fri, May 24, 2019 at 10:29:59AM +0800, Ley Foon Tan wrote: > Hardware return completion status non-zero when read from non exist > function in multi-function PCIe device. Return error will cause PCIe > enumeration fail. > > Change it to return 0 and return value 0x when error. > > Sig

Re: [U-Boot] [PATCH v2 22/40] env: Move env_load/save functions to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:57AM -0600, Simon Glass wrote: > Move these function to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v2 20/40] env: Move env_fix_drivers() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:55AM -0600, Simon Glass wrote: > Move this function over to the new header file. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:12:55PM +0530, Sekhar Nori wrote: > Add support for clk_is_match() which is required to > know if two clock pointers point to the same exact > physical clock. > > Also add a unit test for the new API. > > Reviewed-by: Lokesh Vutla > Signed-off-by: Sekhar Nori Applie

Re: [U-Boot] [PATCH v2 15/40] env: Move env_get_hex() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:50AM -0600, Simon Glass wrote: > Move env_get_hex() over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v2 01/40] common: Move gzip functions into a new gzip header

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:36AM -0600, Simon Glass wrote: > As part of the effort to remove things from common.h, create a new header > for the gzip functions. Move the function declarations to it and add > missing documentation. > > Signed-off-by: Simon Glass > Reviewed-by: Simon Goldschmidt

Re: [U-Boot] [PATCH] ARM: omap3: overo: Fix MMC init for SPL

2019-08-13 Thread Tom Rini
On Wed, Jul 31, 2019 at 05:30:28PM +0200, anselm.bu...@outlook.com wrote: > From: Anselm Busse > > The SPL for the Overo board does not initialise the MMC. Hence, it cannot > load the main boot loader from the SD card susequently. This Patch moves the > initialisation code for the MMC so it ge

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

2019-08-13 Thread Tom Rini
On Mon, Aug 12, 2019 at 06:23:02PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - Fix sifive serial y-modem transfer. > - Access CSRs using CSR numbers. > - Update doc sifive-fu540 > - Support big endian hosts and target. > - Support SPL and OpenSBI (FW_DYN

Re: [U-Boot] [PATCH] ARM: da850-evm: Enable filesystem commands when booting from NOR

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 04:21:55PM -0500, Adam Ford wrote: > The configuration with NOR is mutually exclusive with MMC, and as > such, the filesystem commands were disabled. With the USB host > enabled, this patch enables the file system command which can > be executed on storage devices attached

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

2019-08-13 Thread Tom Rini
On Mon, Aug 12, 2019 at 02:08:18PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the first Marvell patches in this merge window with the > following changes: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH 1/2] board: siemens: adapt factoryset reading for DM_I2C enabled boards

2019-08-13 Thread Tom Rini
On Wed, Jul 10, 2019 at 07:44:15PM +0200, Anatolij Gustschin wrote: > For new boards we always enable DM_I2C. Extend factoryset functions > to support EEPROM reading on these boards. > > Signed-off-by: Anatolij Gustschin Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

Re: [U-Boot] [PATCH v2 1/2] watchdog: omap_wdt: Convert watchdog driver to use DT and DM

2019-08-13 Thread Tom Rini
On Wed, Jul 31, 2019 at 09:54:06PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > This patch adds device tree and driver model watchdog support, > converts the legacy omap watchdog driver to driver model for > TI AM335x chipsets. The following compile warning is removed: > > =

Re: [U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190812

2019-08-13 Thread Tom Rini
On Mon, Aug 12, 2019 at 02:01:06PM +0200, Neil Armstrong wrote: > Hi Tom, > > This PR adds support for the SEI Robotic SEI510 board and synced with Linux > 5.3-rc1. > > The CI jobs passed at > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/438 > > Thanks, > Neil > > The fo

Re: [U-Boot] [PATCH 2/2] board: siemens: extend factoryset reading for giedi and deneb boards

2019-08-13 Thread Tom Rini
On Wed, Jul 10, 2019 at 07:44:16PM +0200, Anatolij Gustschin wrote: > giedi and deneb are i.MX8X based and have additional data with > WLAN MAC in factoryset container. Enable building for these > boards and adapt factoryset functions to set WLAN MAC and dtb > name in environment. > > Signed-off-

[U-Boot] [PATCH V2 09/10] dt: bcm968580xref: add a spi-nor device

2019-08-13 Thread Philippe Reynes
This commit add a spi-nor device in the bcm96850xref device tree. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- arch/arm/dts/bcm968580xref.dts | 12 1 file changed, 12 insertions(+) Changelog: v2: - no change diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dt

[U-Boot] [PATCH V2 05/10] dt: bcm63158: Add hsspi controller

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This change adds the hsspi controller to the 63158 dtsi. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- arch/arm/dts/bcm63158.dtsi | 25 + 1 file changed, 25 insertions(+) Changelog: v2: - no change diff --git a/arch/arm/dts/bcm63158.dt

[U-Boot] [PATCH V2 08/10] dt: bcm6858: add hsspi controller

2019-08-13 Thread Philippe Reynes
This commit add a hsspi controller in the bcm6858 device tree. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- arch/arm/dts/bcm6858.dtsi | 25 + 1 file changed, 25 insertions(+) Changelog: v2: - no change diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dt

[U-Boot] [PATCH V2 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions which would default to big-endian on BE systems. Create the generic equivalents to use the native endianness. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- include/wait_bit.h | 4 1 file cha

[U-Boot] [PATCH V2 10/10] bcm968580xref: enable spi-nor support

2019-08-13 Thread Philippe Reynes
This commit enable the support of the spi-nor for the broadcom reference board bcm968580xref. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- configs/bcm968580xref_ram_defconfig | 9 + 1 file changed, 9 insertions(+) Changelog: v2: - no change diff --git a/configs/bcm96858

[U-Boot] [PATCH V2 04/10] spi: bcm63xx_hsspi: Continue init when using no reset and fixed-clock.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney The Broadcom ARM implementations do not yet have a clock framework so one can use a fixed clock as the root clock of the hsspi block. The fixed clock does not have an "enable" routine, since it's always enabled. So when we hit this issue, getting an ENOSYS return, do not bail bu

[U-Boot] [PATCH V2 07/10] configs: Add hsspi/spi support to bcm963158.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This commit enable the support of the spi-nor for the broadcom reference board bcm963158. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- configs/bcm963158_ram_defconfig | 7 +++ 1 file changed, 7 insertions(+) Changelog: v2: - no change diff --git a/config

[U-Boot] [PATCH V2 03/10] spi: bcm63xx_hsspi: switch to raw I/O functions.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney Make the driver compatible with both big and little endian SOCs. Replace big-endian calls with their raw equivalents, expect for writing the command to FIFO. That still has to be in big-endian format. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- drivers/spi/bc

[U-Boot] [PATCH V2 06/10] dt: bcm963158: add a spi-nor device

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This change adds a spi nor flash device to the bcm963158 board. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- arch/arm/dts/bcm963158.dts | 12 1 file changed, 12 insertions(+) Changelog: v2: - no change diff --git a/arch/arm/dts/bcm963158.dts b/a

[U-Boot] [PATCH V2 01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This IP exists in both MIPS and ARM cores, so we also allow to use this driver on bcm6858 and bcm63158. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changelog: v2: - add dependancy on b

[U-Boot] [PATCH] Convert CONFIG_FSL_USDHC to Kconfig

2019-08-13 Thread Adam Ford
This converts the following to Kconfig: CONFIG_FSL_USDHC Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index 578d928443..94df37ab71 100644 --- a/board/davinci/da8xxevm/omapl138_lcdk.c +++ b/board/davinci/da8xxevm/omapl13

[U-Boot] [PATCH v2 0/4] spi: Split CONFIG_DM_SPI* to CONFIG_{SPL_TPL}DM_SPI*

2019-08-13 Thread Lukasz Majewski
This patch series introduces new SPL and TPL specific Kconfig entries for DM_SPI* options. Such change allows using the spi driver in SPL/TPL or U-Boot proper. First two patches - related to ls10{42}* NXP soc fix some issues with defining the DM_SPI* defines in .h file instead of Kconfig. This se

[U-Boot] [PATCH] kconfig: Convert CONFIG_MXS_GPIO to Kconfig

2019-08-13 Thread Lukasz Majewski
This converts the following to Kconfig: CONFIG_MXS_GPIO Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/571260789 Signed-off-by: Lukasz Majewski --- configs/apx4devkit_defconfig| 1 + configs/bg0900_defconfig| 1 + configs/mx23_olinuxino_defconfig

Re: [U-Boot] [PATCH 01/10] spi: Remove MIPS dependency from Broadcom HSSPI driver.

2019-08-13 Thread Daniel Schwierzeck
On Tue, Aug 13, 2019 at 4:57 PM Philippe Reynes wrote: > > From: Kursad Oney > > This IP exists in both MIPS and ARM cores, so there is no need > to tie it up to MIPS only. Remove the dependency. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes > --- > drivers/spi/Kconfig | 1 - >

[U-Boot] [PATCH 04/10] spi: bcm63xx_hsspi: Continue init when using no reset and fixed-clock.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney The Broadcom ARM implementations do not yet have a clock framework so one can use a fixed clock as the root clock of the hsspi block. The fixed clock does not have an "enable" routine, since it's always enabled. So when we hit this issue, getting an ENOSYS return, do not bail bu

[U-Boot] [PATCH 10/10] bcm968580xref: enable spi-nor support

2019-08-13 Thread Philippe Reynes
This commit enable the support of the spi-nor for the broadcom reference board bcm968580xref. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- configs/bcm968580xref_ram_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/configs/bcm968580xref_ram_defconfig b/confi

[U-Boot] [PATCH 05/10] dt: bcm63158: Add hsspi controller

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This change adds the hsspi controller to the 63158 dtsi. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- arch/arm/dts/bcm63158.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.d

[U-Boot] [PATCH 08/10] dt: bcm6858: add hsspi controller

2019-08-13 Thread Philippe Reynes
This commit add a hsspi controller in the bcm6858 device tree. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- arch/arm/dts/bcm6858.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi index 91f7787

[U-Boot] [PATCH 09/10] dt: bcm968580xref: add a spi-nor device

2019-08-13 Thread Philippe Reynes
This commit add a spi-nor device in the bcm96850xref device tree. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- arch/arm/dts/bcm968580xref.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts index 86

[U-Boot] [PATCH 07/10] configs: Add hsspi/spi support to bcm963158.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This commit enable the support of the spi-nor for the broadcom reference board bcm963158. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- configs/bcm963158_ram_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/bcm963158_ram_defconfig b/

[U-Boot] [PATCH 03/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions which would default to big-endian on BE systems. Create the generic equivalents to use the native endianness. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- include/wait_bit.h | 4 1 file cha

[U-Boot] [PATCH 01/10] spi: Remove MIPS dependency from Broadcom HSSPI driver.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This IP exists in both MIPS and ARM cores, so there is no need to tie it up to MIPS only. Remove the dependency. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- drivers/spi/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/s

[U-Boot] [PATCH 06/10] dt: bcm963158: add a spi-nor device

2019-08-13 Thread Philippe Reynes
From: Kursad Oney This change adds a spi nor flash device to the bcm963158 board. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- arch/arm/dts/bcm963158.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts in

[U-Boot] [PATCH 02/10] spi: bcm63xx_hsspi: switch to raw I/O functions.

2019-08-13 Thread Philippe Reynes
From: Kursad Oney Make the driver compatible with both big and little endian SOCs. Replace big-endian calls with their raw equivalents, expect for writing the command to FIFO. That still has to be in big-endian format. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- drivers/spi/bc

Re: [U-Boot] [PATCH v9 8/9] board: intel: Add new slimbootloader board

2019-08-13 Thread Park, Aiden
Hi Bin, > On Aug 13, 2019, at 9:03 PM, Bin Meng wrote: > > Hi Aiden, > >> On Thu, Aug 8, 2019 at 10:42 PM Bin Meng wrote: >> >> Hi Aiden, >> >>> On Thu, Aug 8, 2019 at 10:35 PM Bin Meng wrote: >>> On Sat, Aug 3, 2019 at 4:31 PM Park, Aiden wrote: Add slimbootloader board t

Re: [U-Boot] [PATCH 1/2] i.MX6: nand: extend nandbcb command for imx6UL(L)

2019-08-13 Thread Parthiban Nallathambi
Hi Shyam, On 8/13/19 3:40 PM, Shyam Saini wrote: Hi Parthiban, Thanks a lot for working on this. Still enabling SECURE_BOOT fails to boot. Am yet to figure out this. Do you have secure boot working from NAND? Please see comments below. Firmware Configuration Block(FCB) for imx6ul(l) need

[U-Boot] [PATCH v2 4/4] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2019-08-13 Thread Lukasz Majewski
This change allows more fine tuning of driver model based SPI support in SPL and TPL. It is now possible to explicitly enable/disable the DM_SPI support in SPL and TPL via Kconfig option. Before this change it was necessary to use: /* SPI Flash Configs */ #if defined(CONFIG_SPL_BUILD)

[U-Boot] [PATCH v2 3/4] spi: Move DM_SPI_FLASH and SPI_FLASH_DATAFLASH to Kconfig (for ls1021aXXX)

2019-08-13 Thread Lukasz Majewski
This patch moves the CONFIG_DM_SPI_FLASH and CONFIG_SPI_FLASH_DATAFLASH to be defined in Kconfig, not in board specific header file (include/configs/.h). Before this change the CONFIG_DM_SPI_FLASH was not set in .config (so it was not possible to use CONFIG_IS_ENABLED(DM_SPI_FLASH) in SPI DM/DTS c

[U-Boot] [PATCH v2 2/4] spi: Move DM_SPI_FLASH to Kconfig (for NXP's ls1043a)

2019-08-13 Thread Lukasz Majewski
This patch fixes issue with defining the DM_SPI_FLASH in the configs/include/ instead of enabling this option in Kconfig. The problem is that CONFIG_IS_ENABLED(DM_SPI_FLASH) shows false as there is no DM_SPI_FLASH=y in .config (but the define is set in u-boot.cfg). As a result conversion of DM_SP

[U-Boot] [PATCH v2 1/4] kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL

2019-08-13 Thread Lukasz Majewski
This patch adds some commit info for CONFIG_IS_ENABLED(FOO) when used in TPL context. Signed-off-by: Lukasz Majewski --- Changes in v2: None include/linux/kconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/kconfig.h b/include/linux/kconfig.h index fbfc7188b8f6..3a2da

Re: [U-Boot] [PATCH 1/2] i.MX6: nand: extend nandbcb command for imx6UL(L)

2019-08-13 Thread Shyam Saini
Hi Parthiban, Thanks a lot for working on this. Please see comments below. > Firmware Configuration Block(FCB) for imx6ul(l) needs to be > BCH encoded. This patch depends on [1]. > > [1]: https://patchwork.ozlabs.org/project/uboot/list/?series=113810 > > Signed-off-by: Parthiban Nallathambi > -

[U-Boot] [PATCH] ARM: da850evm: Remove dead code

2019-08-13 Thread Adam Ford
Now that SPL supports DM_SERIAL and the direct NOR boot supports DM_SERIAL, the check to see if DM_SERIAL is defined can go away, because all da850evm variants now support DM_SERIAL. This patch simply removes some dead precompiler defines. Signed-off-by: Adam Ford diff --git a/include/configs/d

[U-Boot] [PATCH] ARM: da850evm: Remove dead SPI Code

2019-08-13 Thread Adam Ford
With SPL now supporting DM_SPI, the need for compiler directives and hard-coded addresses is obsolete. This patch removes some dead legacy code defining the SPI base address Signed-off-by: Adam Ford diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 96c3bba9e4..271c4df12

[U-Boot] [PATCH v2] rockchip: ram: rk3399: fix setting for some type of dram

2019-08-13 Thread Kever Yang
We need to store all the ram related cap/map info back to register after all the init has been done in case some of register was reset during the process. Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- Changes in v2: - fix compile error for non lpddr4 driver drivers/ram/rockchip/sdr

Re: [U-Boot] [RFC PATCH v1] common: fix building image.c

2019-08-13 Thread Igor Opaniuk
Hi all, On Tue, Aug 13, 2019 at 3:44 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Wrap image_decomp() and all dependent functions with > !ifdef(USE_HOSTCC) macro, as this function isn't used by > any tool from /tools. > > Without this it leads to compilation issues (because of > CONFIG_LZMA

Re: [U-Boot] [RFC PATCH v1] common: fix building image.c

2019-08-13 Thread Igor Opaniuk
Hi all, On Tue, Aug 13, 2019 at 3:44 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Wrap image_decomp() and all dependent functions with > !ifdef(USE_HOSTCC) macro, as this function isn't used by > any tool from /tools. > > Without this it leads to compilation issues (because of > CONFIG_LZMA

[U-Boot] [RFC PATCH v1] common: fix building image.c

2019-08-13 Thread Igor Opaniuk
From: Igor Opaniuk Wrap image_decomp() and all dependent functions with !ifdef(USE_HOSTCC) macro, as this function isn't used by any tool from /tools. Without this it leads to compilation issues (because of CONFIG_LZMA from newly added #include statement, which pulls all these definitions): In

Re: [U-Boot] [PATCH v9 8/9] board: intel: Add new slimbootloader board

2019-08-13 Thread Bin Meng
Hi Aiden, On Thu, Aug 8, 2019 at 10:42 PM Bin Meng wrote: > > Hi Aiden, > > On Thu, Aug 8, 2019 at 10:35 PM Bin Meng wrote: > > > > On Sat, Aug 3, 2019 at 4:31 PM Park, Aiden wrote: > > > > > > Add slimbootloader board to run U-boot as a Slim Bootloader payload > > > - Add new board/intel/slimb

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-13 Thread Tom Rini
On Tue, Aug 13, 2019 at 11:53:59AM +0200, Marek Vasut wrote: > On 8/13/19 11:34 AM, Simon Glass wrote: > > On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: > >> > >> The time lines set force in doc/driver-model/migration.rst for different > >> subsystems to move to the driver model have bee

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-13 Thread Heinrich Schuchardt
On 8/13/19 11:53 AM, Marek Vasut wrote: On 8/13/19 11:34 AM, Simon Glass wrote: On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: The time lines set force in doc/driver-model/migration.rst for different subsystems to move to the driver model have been passed. I ran a test on Travis CI

[U-Boot] How to set up SDRAM

2019-08-13 Thread Muhammad Atif
Hi, I have a ARM + FPGA System on Chip board with 1 GB of DDR3 SDRAM connected to ARM. I am doing a Project where I have to read and write to this SDRAM. I am searching over the Internet and I came to know that I have to do something with uboot to read or write to this Memory. It has been almost

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-08-13 Thread Keerthy
On 13/08/19 3:03 PM, Simon Glass wrote: Hi Keethy, On Tue, 9 Jul 2019 at 13:38, Eugeniu Rosca wrote: Hi All, On Wed, Apr 24, 2019 at 05:19:53PM +0530, Keerthy wrote: Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off-by: Keer

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-13 Thread Marek Vasut
On 8/13/19 11:34 AM, Simon Glass wrote: > On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: >> >> The time lines set force in doc/driver-model/migration.rst for different >> subsystems to move to the driver model have been passed. >> >> I ran a test on Travis CI >> https://travis-ci.org/xypr

Re: [U-Boot] [RFC PATCH] rockchip, Makefile: add u-boot-tpl-with-spl.img target

2019-08-13 Thread Chris Webb
Simon Glass wrote: Chris Webb wrote: My worry about using binman for cracking such a simple nut is the dependencies it pulls in that wouldn't otherwise be needed: the documentation suggests at least lzma-alone, liblz4, and pyelftools. I should probably update this. Unless you use compres

Re: [U-Boot] [PATCH V3 1/4] clk: imx: add Kconfig entry for i.MX8MM

2019-08-13 Thread Lukasz Majewski
On Tue, 13 Aug 2019 09:07:03 + Peng Fan wrote: > Hi Lukasz, > > > Subject: Re: [PATCH V3 1/4] clk: imx: add Kconfig entry for i.MX8MM > > > > Hi Peng, > > > > On Fri, Aug 9, 2019 at 5:02 AM Peng Fan wrote: > > > > > > Add Kconfig entry for i.MX8MM > > > > > > Signed-off-by: Peng Fan >

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-13 Thread Simon Glass
+Stephen Hi Kever, On Tue, 13 Aug 2019 at 03:35, Kever Yang wrote: > > Hi Simon, > > I got fail in test/py sandbox_spl, and the log says: > > E OSError: [Errno 5] Input/output error > > I have no idea about what's wrong in source code, could you help > > to take a look? > > Travis job: > > h

Re: [U-Boot] Verified boot of images without signatures

2019-08-13 Thread Simon Glass
Hi Patrick, On Wed, 12 Jun 2019 at 14:28, Patrick Doyle wrote: > > On Wed, Jun 12, 2019 at 2:10 PM Alex Kiernan wrote: > > On Wed, Jun 12, 2019 at 7:00 PM Patrick Doyle wrote: > > > Am I missing something here? > > > > > > > Probably... I went round a very similar loop too. You need the > > req

Re: [U-Boot] [PATCH PATCH v4 12/15] drivers: board: Make the board drivers available in SPL

2019-08-13 Thread Simon Glass
Hi Jean-Jacques, Missing commit message. On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: > > Signed-off-by: Jean-Jacques Hiblot > --- > > Changes in v4: New > > drivers/Makefile | 2 +- > drivers/board/Kconfig | 2 ++ > drivers/board/Makefile | 2 +- > 3 files changed, 4 inserti

Re: [U-Boot] [PATCH 1/2] usb: kbd: simplify coding for arrow keys

2019-08-13 Thread Simon Glass
Hi Heinrich, On Fri, 9 Aug 2019 at 15:36, Heinrich Schuchardt wrote: > > On 6/24/19 8:49 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 24 Jun 2019 at 11:36, Heinrich Schuchardt > > wrote: > >> > >> On 6/24/19 3:56 PM, Simon Glass wrote: > >>> On Sun, 16 Jun 2019 at 22:44, Heinrich Sch

[U-Boot] Travis test/py sandbox_spl test fail

2019-08-13 Thread Kever Yang
Hi Simon,     I got fail in test/py sandbox_spl, and the log says: E OSError: [Errno 5] Input/output error I have no idea about what's wrong in source code, could you help to take a look? Travis job: https://travis-ci.org/keveryang/u-boot/jobs/571125119 Thanks, - Kever ___

Re: [U-Boot] [PATCH PATCH v4 00/15] Add support for applications of overlays in SPL

2019-08-13 Thread Simon Glass
Hi Jean-Jacques, On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: > > > The purpose of this series is to provide the SPL with ability to apply > overlays for u-boot. this is only a RFC so far, to get a feedback on the > approach. > > Our use-case is the support of the daughter boards of th

Re: [U-Boot] [PATCH] dm: pci: Change to config device according to Header Type

2019-08-13 Thread Simon Glass
Hi Hou, On Mon, 5 Aug 2019 at 02:05, Hou Zhiqiang wrote: > > The configuration space layouts of normal device, bridge and > CardBus bridge are distinct, and it is indicated by Header > Type instead of Class Code. So change it to config device > according to Header Type. > > Signed-off-by: Hou Zhi

Re: [U-Boot] [PATCH PATCH v4 04/15] spl: fit: allocate a temporary buffer to load the overlays

2019-08-13 Thread Simon Glass
Hi Jean-Jacques, On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: > > If the node describing an overlay does not specify a load address, it will > be loaded at the address previously used. > Fixing it by allocating a temporary 64kB region that will be used as a > default load address. How

Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-08-13 Thread Simon Glass
+Stephen Warren Hi Matthias, On Thu, 1 Aug 2019 at 05:42, Matthias Brugger wrote: > > Hi all, > > On 26/07/2019 11:13, matthias@kernel.org wrote: > > From: Matthias Brugger > > > > According to the device tree specification, the default value for > > was not present. > > > > This patch also

Re: [U-Boot] [PATCH PATCH v4 14/15] include: board: provide empty stubs when the BOARD option is not selected

2019-08-13 Thread Simon Glass
On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: > > Useful to avoid #ifdef throughout the code that uses the board driver API. > > Signed-off-by: Jean-Jacques Hiblot > --- > > Changes in v4: New > > include/board.h | 37 + > 1 file changed, 37 insertio

Re: [U-Boot] [PATCH v2 5/5] dm: test: usb: rework keyboard test

2019-08-13 Thread Simon Glass
On Sat, 10 Aug 2019 at 03:24, Heinrich Schuchardt wrote: > > Allow the unit test to pass full 8 byte scan code sequences to the USB > keyboard emulation driver and to parse multi-byte escape sequences. > > The following features are not yet tested: > > * LED status > * caps-lock > * num-lock > * n

Re: [U-Boot] [PATCH PATCH v4 15/15] spl: fit: Allow the board to tell if more images must be loaded from FIT

2019-08-13 Thread Simon Glass
On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: > > spl_fit_get_image_name() is used to get the names of the images that the > SPL must load from the FIT. It relies on the content of a property present > in the FIT. The list of images is thus statically defined in the FIT. > With this sche

Re: [U-Boot] [PATCH v2 4/5] usb: kbd: move USB_KBD_BOOT_REPORT_SIZE to usb.h

2019-08-13 Thread Simon Glass
On Sat, 10 Aug 2019 at 03:24, Heinrich Schuchardt wrote: > > Move constant USB_KBD_BOOT_REPORT_SIZE. This allows us to reuse it. > > Signed-off-by: Heinrich Schuchardt > --- > v2 > new patch > --- > common/usb_kbd.c | 6 -- > include/usb.h| 6 ++ > 2 files changed, 6 insertio

Re: [U-Boot] x86 FSP 2

2019-08-13 Thread Simon Glass
Hi Bin, On Tue, 30 Jul 2019 at 21:03, Bin Meng wrote: > > Hi Simon, > > On Wed, Jul 31, 2019 at 10:55 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Thu, 23 May 2019 at 08:04, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Thu, May 23, 2019 at 8:20 PM Simon Glass wrote: > > > > > > > >

Re: [U-Boot] [PATCH PATCH v4 13/15] drivers: board: Add get_fit_loadable()

2019-08-13 Thread Simon Glass
Hi Jean-Jacques, On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: > > This function will be used by the SPL to get the names of images to load > from the FIT. This allows to load different images based on runtime HW > detection. > > Signed-off-by: Jean-Jacques Hiblot > --- > > Changes in

Re: [U-Boot] [PATCH 1/2] dm: Tidy up dump output when there are many devices

2019-08-13 Thread Simon Glass
Hi Patrick, On Thu, 1 Aug 2019 at 03:24, Patrick Delaunay wrote: > > At present the 'Index' column of 'dm tree' assumes there is > two digits, this patch increase it to 3 digits. > > It also aligns output of 'dm uclass', assuming the same 3 digits index. > > The boards with CONFIG_PINCTRL_FULL ac

Re: [U-Boot] [PATCH v3 1/2] disk: update to use SPL_PARTITIONS for SPL

2019-08-13 Thread Simon Glass
Hi Kever, On Thu, 8 Aug 2019 at 02:15, Kever Yang wrote: > > The SPL disk driver can not depends on SPL_FRAMEWORK&PARTITIONS, Spaces around & > which will enable the disk driver when we actually not need it. > Use a separate Kconfig to control the partition driver in SPL > will fix this issue c

Re: [U-Boot] [PATCH 2/5] image: add new "copro" image type

2019-08-13 Thread Simon Glass
On Fri, 2 Aug 2019 at 07:07, Patrick Delaunay wrote: > > Define new image type for coprocessor images. > It is used in FIT to identify the files loaded > with remoteproc command (elf or bin). > > Signed-off-by: Loic Pallardy > Signed-off-by: Patrick Delaunay > --- > > common/image.c | 1 + > i

Re: [U-Boot] [PATCH] dm: mmc: remove unused U_BOOT_DRIVER(mmc)

2019-08-13 Thread Simon Glass
On Fri, 31 May 2019 at 01:44, Andy Yan wrote: > > From: Andy Yan > > When look through the code, I found this bare metal > drives is not used, so remove it. > > Signed-off-by: Andy Yan > --- > > drivers/mmc/mmc-uclass.c | 4 > 1 file changed, 4 deletions(-) Reviewed-by: Simon Glass This

Re: [U-Boot] [PATCH 4/7] mmc: pci: fix uninitialized pointer deref on probe

2019-08-13 Thread Simon Glass
On Mon, 5 Aug 2019 at 20:48, Peng Fan wrote: > > Commit 3d296365e4e8 ("mmc: sdhci: Add support for > sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc > field. > > Fixes: 3d296365e4e8 ("mmc: sdhci: Add support for sdhci-caps-mask") > Cc: Faiz Abbas > Cc: Simon Glass > Cc: Bin Me

Re: [U-Boot] [PATCH v2 3/5] usb: kbd: fix typo

2019-08-13 Thread Simon Glass
On Sat, 10 Aug 2019 at 03:24, Heinrich Schuchardt wrote: > > %s/a interrupt/an interrupt/ > > Signed-off-by: Heinrich Schuchardt > --- > v2 > new patch > --- > common/usb_kbd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) drivers/usb/emul/sandbox_keyb.c __

Re: [U-Boot] [PATCH V3 3/4] clk: imx: add i.MX8M composite clk support

2019-08-13 Thread Peng Fan
> Subject: Re: [PATCH V3 3/4] clk: imx: add i.MX8M composite clk support > > On Fri, Aug 9, 2019 at 5:02 AM Peng Fan wrote: > > > + * The clk are not binded to a dev, because it is part of composite > > + clk > > s/binded/bound Fix in V4. > > > + * use composite clk to get dev > > + */ > > +

Re: [U-Boot] [PATCH 03/14] misc: uclass: Introduce misc_init_by_ofnode

2019-08-13 Thread Simon Glass
Hi Keerthy, On Tue, 6 Aug 2019 at 04:38, Keerthy wrote: > > Introduce misc_init_by_ofnode to probe a misc device > using its ofnode. What is the purpose of this? All patches should have a motivation. > > Signed-off-by: Keerthy > --- > drivers/misc/misc-uclass.c | 25 +

<    1   2   3   >