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

[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

[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

[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

[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

[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

[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 ---

[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

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:

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

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] [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

Re: [U-Boot] [PATCH] ARM: da850-evm: Enable SPI Flash and NAND Flash when booting NOR

2019-08-13 Thread Tom Rini
On Sat, Aug 03, 2019 at 07:56:10AM -0500, Adam Ford wrote: > Historically there have been various boot options, SPI flash, > NAND or NOR. The NOR flash is mutually exclusive with MMC, but > it isn't mutually exclusive with NAND or SPI Flash, so this patch > enables both NAND flash and SPI Flash

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:42AM -0600, Simon Glass wrote: > Move this function 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 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 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

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:01AM -0600, Simon Glass wrote: > Move env_get_char() over 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 13/40] env: Move env_get_ulong() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:48AM -0600, Simon Glass wrote: > Move env_get_ulong() 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 v3 38/40] env: Rename environment.h to env_internal.h

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:25AM -0600, Simon Glass wrote: > This file contains lots of internal details about the environment. Most > code can include env.h instead, calling the functions there as needed. > > Rename this file and add a comment at the top to indicate its internal > nature. >

Re: [U-Boot] [PATCH v2 34/40] env: Drop the ACTION typedef

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:09AM -0600, Simon Glass wrote: > Avoid using a typedef here which is unnecessary. Add an 'env_' prefix to > both the enum and its members to make it clear that these are related to > the environment. > > Add an ENV prefix to these two flags so that it is clear what

Re: [U-Boot] [PATCH v2 36/40] env: Move TOTAL_MALLOC_LEN to environment.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:11AM -0600, Simon Glass wrote: > This declaration is only used in three files. Although it relates to > malloc() it is actually only used during malloc() init. It uses CONFIG > options including CONFIG_ENV_ADDR which are defined only in environment.h > so this header

Re: [U-Boot] [PATCH 2/5] arm: dts: Add devicetree for Hikey960 board

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:08PM +0530, Manivannan Sadhasivam wrote: > This commit adds devicetree for Hikey960 board. Most of the contents are > copied from Linux kernel with some modifications for u-boot. To be > more precise, SD card's speed related properties are removed due to a > bug in

Re: [U-Boot] [PATCH v2 24/40] env: Drop env_crc_update()

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:59AM -0600, Simon Glass wrote: > This function is not defined or used in U-Boot. Drop it. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[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 +++

[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

[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

[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

[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

Re: [U-Boot] [PATCH] arm: K3: sysfw-loader: Do not require full printf() for version info

2019-08-13 Thread Tom Rini
On Mon, Aug 05, 2019 at 01:46:23PM -0500, Andreas Dannenberg wrote: > A previous commit... > > commit 2a51e16bd57a ("configs: Make USE_TINY_PRINTF depend on SPL||TPL and be > default") > > ...causes the System Firmware version string during SPL boot to no longer > getting printed to the

Re: [U-Boot] [PATCH v2 02/40] common: Drop the dpram_... functions

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:37AM -0600, Simon Glass wrote: > These declarations are not used anymore, so drop them. > > Signed-off-by: Simon Glass > Reviewed-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 35/40] env: Drop the double underscores in search.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:10AM -0600, Simon Glass wrote: > There doesn't seem to be any good reason for using __ in the arguments in > this header file. A double underscore is usually reserved for compiler > features. > > Drop these and remove the unnecessary 'extern' as well. > >

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:51AM -0600, Simon Glass wrote: > Move env_set() over 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

[U-Boot] [U-BOOT PATCH 2/3] spi: nor: add support for is25wp256

2019-08-13 Thread Sagar Shrikant Kadam
Enable support for spi nor device(is25wp256) mounted on HiFive Unleashed Rev A00 board. Thanks to Bhargav Shah for porting this patch which is based on linux patches https://lkml.org/lkml/2019/7/2/859. Additionally, set the proper number of sectors in the device id table, so that the sf probe

Re: [U-Boot] [PATCH v2 18/40] env: Move eth_env_get/set_enetaddr() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:53AM -0600, Simon Glass wrote: > Move these two functions over 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 29/40] env: Move env_valid to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:04AM -0600, Simon Glass wrote: > This enum is somewhat widely used to determine if the environment is valid > or not. Move it to the common environment header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH v2 28/40] env: Rename environment to embedded_environment

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:03AM -0600, Simon Glass wrote: > The name 'environment' is widely used in U-Boot so is not a very useful > name of a variable. Rename it to better indicate its purpose. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger > Reviewed-by: Simon Goldschmidt

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:41AM -0600, Simon Glass wrote: > Move this function over to the new header file. Also rename it to have an > env_ prefix like the other functions. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

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

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

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

Re: [U-Boot] [PATCH v2 30/40] env: Move callback definitions to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:05AM -0600, Simon Glass wrote: > These definitions are effectively part of the 'public' API of the > environment implementation since they do not require access to any > internal variables. Move them to the env.h header. > > Signed-off-by: Simon Glass > Acked-by:

Re: [U-Boot] [PATCH v2 03/40] common: Move lcd_setmem() to lcd.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:38AM -0600, Simon Glass wrote: > This function relates to lcd.h and is about to become obsolete with the > driver-model conversion. Move it out of common.h > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH] cmd: avb: Fix requested partitions list

2019-08-13 Thread Eugeniu Rosca
Hi Sam, On Fri, Aug 09, 2019 at 07:16:03PM +0300, Sam Protsenko wrote: > The requested_partitions[] array should contain only boot partitions. > Usually it's only 'boot' partition, as can be seen in [1]. Also, seems > like the requested_partitions[] are only used when there is no 'vbmeta' >

[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 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

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

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:44AM -0600, Simon Glass wrote: > Move env_relocate() 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 4/5] mmc: Add support for HI3660 SoC reusing hi6220_dw_mmc driver

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:10PM +0530, Manivannan Sadhasivam wrote: > This commit adds MMC driver support for HI3660 SoC reusing hi6220_dw_mmc > driver. Since HI3660 operates at different clock rate and uses fifo > mode now, let's introduce the platform data and utilize it for different > SoCs

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:49AM -0600, Simon Glass wrote: > Move env_get_yesno() 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 27/40] env: Move env_reloc() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:02AM -0600, Simon Glass wrote: > Move env_reloc() over 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 10/40] env: Move envmatch() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:45AM -0600, Simon Glass wrote: > Move envmatch() over to the new header file. Also rename it to env_match() > to better line up with other functions. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH 3/5] board: hisilicon: Add support for Hikey960 board

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:09PM +0530, Manivannan Sadhasivam wrote: > This commit adds board support for Hikey960 board from Hisilicon. This > board is one of the Consumer Edition boards of the 96Boards family > powered by Kirin960 SoC. > > More information about this board can be found in

Re: [U-Boot] [PATCH] serial_lpuart: Fix config check issue when using clk driver in SPL

2019-08-13 Thread Tom Rini
On Thu, Jul 11, 2019 at 03:33:34AM +, Ye Li wrote: > Should use CONFIG_IS_ENABLED not IS_ENABLED for CLK driver, so it will > check the CONFIG_SPL_CLK when building SPL > > Signed-off-by: Ye Li > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH] ARM: aspeed: Add SD host controller driver

2019-08-13 Thread Eddie James
On 8/13/19 11:55 AM, Cédric Le Goater wrote: On 13/08/2019 08:41, Peng Fan wrote: Subject: [U-Boot][PATCH] ARM: aspeed: Add SD host controller driver Add support for the Aspeed SD host controller engine. This involves adding an MMC SDHCI driver and various additions to the clock and reset

[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

[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

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

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 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

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 12/40] env: Move env_set_ulong() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:47AM -0600, Simon Glass wrote: > Move env_set_ulong() 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] ARM: aspeed: Add SD host controller driver

2019-08-13 Thread Cédric Le Goater
On 13/08/2019 08:41, Peng Fan wrote: >> Subject: [U-Boot][PATCH] ARM: aspeed: Add SD host controller driver >> >> Add support for the Aspeed SD host controller engine. This involves adding an >> MMC SDHCI driver and various additions to the clock and reset drivers for >> Aspeed chips. >> >>

Re: [U-Boot] [PATCH v2 37/40] env: Drop environment.h header file where not needed

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:12AM -0600, Simon Glass wrote: > This header file is now only used by files that access internal > environment features. Drop it from various places where it is not needed. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [PATCH 1/5] arm: dts: Import HI3660 devicetree from Linux

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:07PM +0530, Manivannan Sadhasivam wrote: > This commit imports HI3660 SoC devicetree from Linux > > Signed-off-by: Manivannan Sadhasivam Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[U-Boot] [U-BOOT PATCH 1/3] spi: nor: add spi-nor-fixup handlers for nor devices

2019-08-13 Thread Sagar Shrikant Kadam
Add support for spi_nor_fixups similar to that done in linux. Flash vendor specific fixups can be registered in spi_nor_ids. and will be called after BFPT parsing to fix any wrong parameter read from SFDP. Signed-off-by: Sagar Shrikant Kadam --- drivers/mtd/spi/sf_internal.h | 5 +

[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

[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

[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

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. > >

[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

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

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 >

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 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] 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

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 >

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

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

Re: [U-Boot] [PATCH] firmware: ti_sci: Parse all resource ranges even if some is not available

2019-08-13 Thread Tom Rini
On Mon, Aug 05, 2019 at 12:26:44PM -0500, Andreas Dannenberg wrote: > From: Vignesh Raghavendra > > Do not fail if any of the requested subtypes are not available, but set the > number of resources to 0 and continue parsing the resource ranges. > > Based on Linux kernel patch by Peter Ujfalusi

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:43AM -0600, Simon Glass wrote: > Move env_init() 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 v3 4/7] phy: add support for AM654x SERDES

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:12:58PM +0530, Sekhar Nori wrote: > Add a new SERDES driver for TI's AM654x SoC which configures > the SERDES only for PCIe. Support fo USB3 can be added later. > > SERDES in am654x has three input clocks (left input, external > reference clock and right input) and two

Re: [U-Boot] [PATCH] ARM: da850-evm: Increase environment NOR partition offset

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 07:03:39AM -0500, Adam Ford wrote: > The current size allocated to U-Boot is 384k, but U-Boot has grown > to 436K which means that saving the environmental variables wipes > out part of the U-Boot source and the board ceases to function. > Due to the sector and erase size

[U-Boot] [U-BOOT PATCH 3/3] spi: riscv: use single bit mode for spi transfers

2019-08-13 Thread Sagar Shrikant Kadam
Use the SPI controller in FU540-C000 soc in one bit mode, rather than using spi-tx-bus-width and spi-rx-bus-width passed from the device tree. This patch handles a case where controller mode in format register (0x40) is configured as per the width specified in the dt-node of the slave device. For

[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 ---

Re: [U-Boot] [PATCH 3/3] pci: intel: Fix configuration type based on secondary number

2019-08-13 Thread Tom Rini
On Fri, May 24, 2019 at 10:30:00AM +0800, Ley Foon Tan wrote: > This fix issue when access config from PCIe switch. > > The PCIe controller need to send Type 0 config TLP if the targeting bus > matches with the secondary bus number, which is when the TLP is targeting > the immediate device on

Re: [U-Boot] [PATCH v2 25/40] env: Move get/set_default_env() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:00AM -0600, Simon Glass wrote: > Move these functions to the new header file and rename set_default_env() > to env_set_default() so that it has a consistent env_ prefix. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks!

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

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:52AM -0600, Simon Glass wrote: > Move env_get() over 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 5/5] MAINTAINERS: Add entry for HI3660 SoC

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:11PM +0530, Manivannan Sadhasivam wrote: > Add MAINTAINERS entry for HI3660 SoC by adding the arch includes. > While doing so, adding myself as the co-maintainer for HISILICON > SoCs since I'm planning to maintain HI3660 SoC separately and considering > doing

Re: [U-Boot] [PATCH v2 21/40] env: Move set_default_vars to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:56AM -0600, Simon Glass wrote: > Move this function to the new header file and rename it so it has an env_ > prefix. > > 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 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:54AM -0600, Simon Glass wrote: > This function fits better with the network subsystem, so move it. > > Signed-off-by: Simon Glass > Suggested-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3 32/40] env: Drop _ENTRY

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:19AM -0600, Simon Glass wrote: > This typedef does not need to be defined in the search.h header since it > is only used in one file (hashtable.c). Remove it from the header and > change it to a struct. > > Signed-off-by: Simon Glass Applied to u-boot/master,

[U-Boot] [PATCH v2 2/4] mmc: Add Aspeed SD controller driver

2019-08-13 Thread Eddie James
Add support for the Aspeed SD host controller engine. Signed-off-by: Eddie James --- drivers/mmc/Kconfig| 11 +++ drivers/mmc/Makefile | 1 + drivers/mmc/aspeed_sdhci.c | 78 ++ 3 files changed, 90 insertions(+) create mode 100644

[U-Boot] [PATCH v2 0/4] ARM: aspeed: Add SD host controller driver

2019-08-13 Thread Eddie James
This series adds support for the SD host controller on Aspeed ast2XXX SocS. It also enables MMC and the SD controller on the ast2500 EVB. Changes since v1: - split the patch up - Add defconfig and dts changes Eddie James (4): clk: aspeed: Add support for SD clock mmc: Add Aspeed SD

[U-Boot] [PATCH v2 1/4] clk: aspeed: Add support for SD clock

2019-08-13 Thread Eddie James
Add code to enable the SD clock on the ast2500 SoC. Signed-off-by: Eddie James --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 +++ drivers/clk/aspeed/clk_ast2500.c | 27 ++ drivers/pinctrl/aspeed/pinctrl_ast2500.c | 2 ++ 3 files changed, 32

[U-Boot] [PATCH] Revert "ARM: da850-evm: Enable SPI Flash and NAND Flash when booting NOR"

2019-08-13 Thread Adam Ford
Sorry for the noise, but there appears to be a regression with older hardware. Since it broke the direct_nor boot option, it should be reverted until a better solution is available. This reverts commit 51cd1e2373274dc3167dabba628dcfc25828d36d. diff --git a/board/davinci/da8xxevm/da850evm.c

[U-Boot] [PATCH 3/6] bmips: bcm6328: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6328 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6328.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi

[U-Boot] [PATCH 1/6] nand: brcm: add BCM6368 support

2019-08-13 Thread Álvaro Fernández Rojas
This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas --- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 122 +++ 3

[U-Boot] [PATCH 0/6] bmips: add brcmnand support

2019-08-13 Thread Álvaro Fernández Rojas
These patches add support for brcmnand on bmips. The current brcmnand driver only supports controller >= 4.0, which means that only BCM63268 works right now. Álvaro Fernández Rojas (6): nand: brcm: add BCM6368 support bmips: bcm6368: add support for brcmnand bmips: bcm6328: add support for

  1   2   3   >