[U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
only a few months ago, i jumped into a discussion regarding Kbuild config options that were defined in some Kconfig* file, but were unused anywhere in the source tree: http://u-boot.10912.n7.nabble.com/policy-regarding-unused-code-td351802.html#a351835 many years ago, i wrote a script to

Re: [U-Boot] [U-Boot, v3, 2/7] ARM: k2g-gp-evm: update to rgmii pinmux configuration

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:02PM -0500, Murali Karicheri wrote: > This patch updates pinmux configuration for K2G GP EVM based on > data generated by the pinmux tool at > https://dev.ti.com/pinmux/app.html#/default > > Signed-off-by: Murali Karicheri > Reviewed-by: Lokesh Vutla Applied to

Re: [U-Boot] [U-Boot, v2, 2/3] ARM: dts: dra71-evm: Correct evm_sd regulator max voltage

2019-04-12 Thread Tom Rini
On Fri, Apr 05, 2019 at 02:18:45PM +0530, Faiz Abbas wrote: > Correct vpo_sd_1v8_3v3 regulator max voltage to 3.3V > > Signed-off-by: Faiz Abbas > Reviewed-by: Keerthy Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 06/13] mmc: sdhci: Add support for sdhci-caps-mask

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:12PM +0530, Faiz Abbas wrote: > Add Support for masking some bits in the capabilities > register of a host controller. > > Also remove the redundant readl() into caps1. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 04/13] regmap: Add API regmap_init_mem_index()

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:10PM +0530, Faiz Abbas wrote: > In device nodes with more than one entry in the reg property, > it is sometimes useful to regmap only of the entries. Add an > API regmap_init_mem_index() to facilitate this. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, v3, 13/13] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:19PM +0530, Faiz Abbas wrote: > From: Faiz Abbas > > Add a platform specific set_control_reg() callback to help switch to > UHS speed modes. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v3, 7/7] ARM: dts: k2g-ice: add dt node for netcp

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:07PM -0500, Murali Karicheri wrote: > This patch adds dt node for DP83867 phy used on K2G ICE board and > also enable netcp device nodes for the board. > > EVM hardware spec recommends to add 0.25 nsec delay in the tx > direction and 2.25 nsec delay in the rx

Re: [U-Boot] [U-Boot, v3, 07/13] mmc: sdhci: Make sdhci_set_clock() non static

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:13PM +0530, Faiz Abbas wrote: > The am654_sdhci driver needs to switch the clock off > before disabling its phy dll and needs to re-enable > the clock before enabling the phy again. > > Therefore, make the sdhci_set_clock() function accessible > in the am654_sdhci

Re: [U-Boot] [U-Boot, v3, 09/13] mmc: sdhci: Make set_ios_post() return int

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:15PM +0530, Faiz Abbas wrote: > Make set_ios_post() return int to faciliate error handling in > platform drivers. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 06/13] mmc: sdhci: Add support for sdhci-caps-mask

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:12PM +0530, Faiz Abbas wrote: > Add Support for masking some bits in the capabilities > register of a host controller. > > Also remove the redundant readl() into caps1. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,v3,03/13] mmc: am654_sdhci: Remove quirks

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:09PM +0530, Faiz Abbas wrote: > The host controller works perfectly well without having to add any > quirks. Remove them. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 1/3] Add support for the MT41K128M16JT125K memory modules

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 03:32:58PM +, Martyn Welch wrote: > From: Sjoerd Simons > > Add configuration for the MT41K128M16JT125K memory modules as used on the > Bosch Guardian device. > > Based on a patch by: > Govindaraji Sivanantham > > Signed-off-by: Sjoerd Simons > [checkpatch.pl

Re: [U-Boot] [U-Boot, v3, 08/13] arm: dts: k3: Add phy specific properties to SD card node

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:14PM +0530, Faiz Abbas wrote: > With changes in the driver requiring phy related properties, > add the same for the SD card node to prevent breaking boot with > the driver update. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v3, 01/13] arm64: dts: k3: Sync sdhci0 node from kernel

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:07PM +0530, Faiz Abbas wrote: > Sync the sdhci0 node from kernel. This changes the compatible that is > required to be there in the driver. Change the same for the SD card node > which is not yet supported in kernel. > > Also sync the main_pmx0 node as a side

Re: [U-Boot] [U-Boot,v3,02/13] mmc: am654_mmc: Change driver name

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:08PM +0530, Faiz Abbas wrote: > This driver works with the sdhci controller present on TI's AM65x devices. > Change the name to make this clearer and match the compatible with > kernel. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot, v3, 3/3] am335x, guardian: Add support for the bosch guardian board

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 03:33:00PM +, Martyn Welch wrote: > From: Sjoerd Simons > > Add support for the Bosch Guardian board. > > CPU : AM335X-GP rev 2.1 > Model: Bosch AM335x Guardian > I2C: ready > DRAM: 256 MiB > NAND: 512 MiB > MMC: OMAP SD/MMC: 0 > > Signed-off-by: Sjoerd

Re: [U-Boot] [U-Boot, v4, 5/7] soc: keystone: Merge into ti specific directory

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:25PM +0530, Vignesh R wrote: > Merge drivers/soc/keystone/ into drivers/soc/ti/ > and convert CONFIG_TI_KEYSTONE_SERDES into Kconfig. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot,v4,2/7] soc: ti: k3: add navss ringacc driver

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:22PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > The Ring Accelerator (RINGACC or RA) provides hardware acceleration to > enable straightforward passing of work between a producer and a consumer. > There is one RINGACC module per NAVSS on TI AM65x SoCs. >

Re: [U-Boot] [U-Boot,v4,4/7] dma: ti: add driver to K3 UDMA

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:24PM +0530, Vignesh R wrote: > The UDMA-P is intended to perform similar (but significantly upgraded) > functions > as the packet-oriented DMA used on previous SoC devices. The UDMA-P module > supports the transmission and reception of various packet types. > The

Re: [U-Boot] [U-Boot, v4, 6/7] arm64: dts: ti: k3-am65: add mcu navss nodes

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:26PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add DT node for MCU NAVSS its components to get DMA working on AM654 > SoC. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v4, 7/7] configs: am65x_evm_a53: Enable DMA related configs

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:27PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Enable TI K3 AM65x PSI-L, Ring Accelerator and UDMA drivers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 3/7] soc: ti: k3: add CPPI5 description and helpers

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:23PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add TI Communications Port Programming Interface (CPPI) 5 > interface description and helpers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot, v4, 1/7] firmware: ti_sci: Add support for NAVSS resource management

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:21PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Texas Instruments' System Control Interface (TI-SCI) Message Protocol > abstracts management of NAVSS resources, like PSI-L pairing and > unpairing, UDMAP tx/rx/flow configuration and Rings. > > This patch

Re: [U-Boot] [U-Boot,v2,0/7] AM65x HS device support

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 04:35:05PM -0600, Andrew F. Davis wrote: > Hello all, > > This series brings up HS device support on the AM65x platform. Support > for HS on K3 family devices is a bit different than previous devices > but for the most part all that has been abstracted into the SECDEV >

Re: [U-Boot] [PATCH] regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset

2019-04-12 Thread Neil Armstrong
On 12/04/2019 16:56, Neil Armstrong wrote: > Hi, > > > On 12/04/2019 15:09, Simon Glass wrote: >> Hi, >> >> On Thu, 11 Apr 2019 at 09:12, Neil Armstrong wrote: >>> >>> When fixing sandbox test for regmap_read_poll_timeout(), the >>> sandbox_timer_add_offset was introduced but only defined in

[U-Boot] [PULL] u-boot-stm32 for v2019.07-rc1

2019-04-12 Thread Patrick DELAUNAY
Hi Tom, please pull u-boot-smt32-20190412 including the following STM32 related patches for v2019.07-rc1 - add trusted boot with TF-A for stm32mp1 - stm32mp1 dts files sync'ed with Linux version - add STM32MP1 Discovery boards (DK1 and DK2) - add STMFX gpio expander driver - misc improvement

Re: [U-Boot] [PATCH 1/2] mips: mscc: serval: Fix reset

2019-04-12 Thread Daniel Schwierzeck
Am 11.04.19 um 13:51 schrieb Horatiu Vultur: > In case the ddr training was failing, it couldn't reset, it was just > hanging. Therefore reimplement it, so when ddr training is failing > it would call _machine_restart, which power downs the DDR and does > a force reset. > > Signed-off-by:

Re: [U-Boot] [PATCH 1/4] net: Add MSCC Serval network driver.

2019-04-12 Thread Daniel Schwierzeck
Am 11.04.19 um 14:11 schrieb Horatiu Vultur: > Add network driver for Microsemi Ethernet switch. > It is present on Serval SoCs. > > Signed-off-by: Horatiu Vultur > --- > drivers/net/mscc_eswitch/Kconfig | 7 + > drivers/net/mscc_eswitch/Makefile| 1 + >

Re: [U-Boot] [PATCH] regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset

2019-04-12 Thread Neil Armstrong
Hi, On 12/04/2019 15:09, Simon Glass wrote: > Hi, > > On Thu, 11 Apr 2019 at 09:12, Neil Armstrong wrote: >> >> When fixing sandbox test for regmap_read_poll_timeout(), the >> sandbox_timer_add_offset was introduced but only defined in sandbox code >> thus generating warnings when used out of

[U-Boot] [PATCH 2/2] ARM: imx6: update 1GB DDR3 calibration for DHCOM i.MX6qd PDK

2019-04-12 Thread Ludwig Zenz
Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6_spl.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index bbd2dc26828..2939389de39 100644 ---

[U-Boot] U-Boot API example doesn't support 64-bit

2019-04-12 Thread Priebe, Sebastian
Hello, I'd like to use the U-Boot external API with an ARM64 SoC. If I enable CONFIG_API I get the following build error for the API example: examples/api/crt0.S: Assembler messages: examples/api/crt0.S:33: Error: operand 1 should be an integer register -- `ldr ip,=search_hint'

[U-Boot] [PATCH 1/2] ARM: imx6: DHCOM i.MX6 PDK: use Kconfig for inclusion of DDR calibration

2019-04-12 Thread Ludwig Zenz
The four x16 DDR3 are wired in T-topology. From NXP AN4467: 'Although not required, T-Topologies may also benefit from performing Write Leveling as there are package delays on both the processor and DDR devices that can be de-skewed by performing Write Leveling. Therefore, Freescale recommends

[U-Boot] in drivers/mtd/nand/spi/core.c, what means "#ifdef CONFIG_OF"?

2019-04-12 Thread Robert P. J. Day
prettu sure there is no Kbuild "config OF" setting, should that be #ifdef CONFIG_OF_CONTROL or something related? i checked for the maintainer of that file, but it listed enough alleged maintainers that i thought i would just ask the list. rday --

[U-Boot] [PATCH] dm: core: Change platform specific translation-offset handling

2019-04-12 Thread Stefan Roese
Testing has shown that the current DM implementation of a platform / board specific translation offset, as its needed for the SPL on MVEBU platforms is buggy. The translation offset is confingured too late, after the driver bind functions are run. This may result in incorrect address translations.

Re: [U-Boot] [RFC v2 08/11] cmd: bootefi: carve out bootmgr code from do_bootefi()

2019-04-12 Thread AKASHI Takahiro
On Fri, Apr 12, 2019 at 10:58:25AM +0200, Heinrich Schuchardt wrote: > > > On 4/12/19 9:06 AM, AKASHI Takahiro wrote: > > On Fri, Apr 12, 2019 at 07:55:16AM +0200, Heinrich Schuchardt wrote: > >> On 3/27/19 5:40 AM, AKASHI Takahiro wrote: > >>> This is a preparatory patch for reworking

[U-Boot] [PATCH v2 3/3] arm: sunxi: h6: fix reset using r_wdog

2019-04-12 Thread Clément Péron
WDOG is broken for some H6 rev. The board is not reseted correctly. Use the R_WDOG instead. Signed-off-by: Clément Péron --- arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 1 + arch/arm/mach-sunxi/board.c | 9 +++-- 2 files changed, 8 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-12 Thread Clément Péron
Beelink GS1 is an Allwinner H6 based TV box, which support: - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 - GPU Mali-T720 - 2GB LPDDR3 RAM - 16GB eMMC - AXP805 PMIC - 1Gbps GMAC via RTL8211E - USB 2.0 and 3.0 Host - HDMI port - S/PDIF port - 5V/2A DC power supply - Wi-Fi/BT via Fn-Link 6222B-SRB

[U-Boot] [PATCH v2 1/3] arm: dts: h6: sync with dts with Linux sunxi

2019-04-12 Thread Clément Péron
There are some differences between U-Boot and Linux device tree files. Sync only the minor changes. 6ba2e45d57af - arm64: dts: allwinner: h6: move MMC pinctrl to dtsi 54eac67bbe3a - arm64: dts: allwinner: Fix pinctrl node names 31af04cd60d3 - arm64: dts: Remove inconsistent use of 'arm,armv8'

[U-Boot] [PATCH v2 0/3] Add Beelink GS1 Board

2019-04-12 Thread Clément Péron
This serie introduce the Beelink GS1 board with a patch for the reset on Allwinner H6. Thanks to Jagan Teki most of the Beelink GS1 device-tree is taken from the Orange Pi boards. Changes with v1: - Add bus-width for mmc2 node - Add sha1 in the sync dts commit Clément Péron (3): arm: dts:

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Heiko Schocher
Hello Eugen, Am 12.04.2019 um 15:07 schrieb eugen.hris...@microchip.com: On 12.04.2019 15:53, Heiko Schocher wrote: External E-Mail Hello eugen, Am 12.04.2019 um 13:24 schrieb eugen.hris...@microchip.com: On 11.04.2019 08:53, Heiko Schocher wrote: - at91sam9g20-taurus.dts: use

Re: [U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Robert P. J. Day wrote: > On Fri, 12 Apr 2019, Simon Glass wrote: > > > Hi Robert, > > > > On Fri, 12 Apr 2019 at 06:31, Robert P. J. Day > > wrote: > > > > > > > > > was tracing the ARM-based boot sequence and ended up at the call to > > > board_init_r(): > > > > > >

Re: [U-Boot] [linux-sunxi] [PATCH 1/4] arm: dts: h6: move MMC pinctrl to soc

2019-04-12 Thread Clément Péron
Hi, On Fri, 12 Apr 2019 at 15:36, Jagan Teki wrote: > > On Mon, Apr 8, 2019 at 10:11 PM Clément Péron wrote: > > > > There is only one muxing avalaible for each MMC controller. > > > > Move this pinmux to the SOC dtsi. > > Sync all dts(i) changes in one patch with head commit id details on >

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

2019-04-12 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks, Jagan. The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3: Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11 14:29:37 -0400) are available in the Git repository at: git://git.denx.de/u-boot-spi.git master for

Re: [U-Boot] [PATCH 2/2] ARM: imx6: update 1GB DDR3 calibration for DHCOM i.MX6qd PDK

2019-04-12 Thread Marek Vasut
On 4/12/19 1:29 PM, Ludwig Zenz wrote: Commit message is missing , please fix. > Signed-off-by: Ludwig Zenz > --- > board/dhelectronics/dh_imx6/dh_imx6_spl.c | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git

Re: [U-Boot] [PATCH 1/2] ARM: imx6: DHCOM i.MX6 PDK: use Kconfig for inclusion of DDR calibration

2019-04-12 Thread Marek Vasut
On 4/12/19 1:29 PM, Ludwig Zenz wrote: > The four x16 DDR3 are wired in T-topology. From NXP AN4467: > 'Although not required, T-Topologies may also benefit from performing > Write Leveling as there are package delays on both the processor and DDR > devices that can be de-skewed by performing

Re: [U-Boot] [linux-sunxi] [PATCH 1/4] arm: dts: h6: move MMC pinctrl to soc

2019-04-12 Thread Jagan Teki
On Mon, Apr 8, 2019 at 10:11 PM Clément Péron wrote: > > There is only one muxing avalaible for each MMC controller. > > Move this pinmux to the SOC dtsi. Sync all dts(i) changes in one patch with head commit id details on patch commit message instead of few minor updates. sync with some rc tag

Re: [U-Boot] [PATCH] sunxi: Add H6 SPI SPL support

2019-04-12 Thread Jagan Teki
On Tue, Apr 9, 2019 at 4:20 AM Marek Kraus wrote: > > Add H6 SPI addresses and masks > (since H6 memory map is totally different). > Tested on Pine H64 rev B with Winbond W25Q128FW, > > Signed-off-by: Marek Kraus > --- > > arch/arm/mach-sunxi/Kconfig | 2 +- >

Re: [U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Simon Glass wrote: > Hi Robert, > > On Fri, 12 Apr 2019 at 06:31, Robert P. J. Day wrote: > > > > > > was tracing the ARM-based boot sequence and ended up at the call to > > board_init_r(): > > > > void board_init_r(gd_t *new_gd, ulong dest_addr) > > { > > /* >

[U-Boot] [PATCH] MAINTAINERS: Change Jagan's email address

2019-04-12 Thread Jagan Teki
Missed few mails from openedev, since most of the day I look at amarulasolutions mail box so change the email address to use amarulasolutions mail id. Signed-off-by: Jagan Teki --- MAINTAINERS | 6 +++--- board/sunxi/MAINTAINERS | 2 +- doc/git-mailrc | 2 +- 3 files

Re: [U-Boot] mvebu spl: translation offset set too late?

2019-04-12 Thread Stefan Roese
Hi Simon, On 12.04.19 14:35, Simon Glass wrote: Hi, On Thu, 11 Apr 2019 at 06:55, Stefan Roese wrote: Adding Simon to Cc (again)... On 11.04.19 14:26, Pierre Bourdon wrote: On Thu, Apr 11, 2019 at 2:07 PM Baruch Siach wrote: Note that on Turris Omnia the SPL needs a working I2C0 to

Re: [U-Boot] [PATCH] mtd: spi-nor-ids: Add Gigadevice gd25lq128 ID

2019-04-12 Thread Jagan Teki
On Fri, Apr 12, 2019 at 3:20 PM Neil Armstrong wrote: > > This adds support for the Gigadevice gd25lq128 ID needed on the > upcoming libretech-ac board. > > SPI_NOR_QUAD_READ is not set since it has not been tested in Quad > mode. > > Signed-off-by: Neil Armstrong > --- Applied to

Re: [U-Boot] [PATCH v2 0/2] Update pinctrl-uclass

2019-04-12 Thread Simon Glass
Hi Patrice, It is making its way in via u-boot-dm. Regards, Simon On Thu, 11 Apr 2019 at 03:06, Patrice CHOTARD wrote: > > Hi > > Just a gentle reminder to not forgot this series which has been > submitted and reviewed since several weeks. > > Thanks > > Patrice > > On 2/25/19 1:39 PM,

Re: [U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Simon Glass
Hi Robert, On Fri, 12 Apr 2019 at 06:31, Robert P. J. Day wrote: > > > was tracing the ARM-based boot sequence and ended up at the call to > board_init_r(): > > void board_init_r(gd_t *new_gd, ulong dest_addr) > { > /* > * Set up the new global data pointer. So far only

Re: [U-Boot] [PATCH] regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset

2019-04-12 Thread Simon Glass
Hi, On Thu, 11 Apr 2019 at 09:12, Neil Armstrong wrote: > > When fixing sandbox test for regmap_read_poll_timeout(), the > sandbox_timer_add_offset was introduced but only defined in sandbox code > thus generating warnings when used out of sandbox : > > include/regmap.h:289:2: note: in expansion

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Eugen.Hristev
On 12.04.2019 15:53, Heiko Schocher wrote: > External E-Mail > > > Hello eugen, > > Am 12.04.2019 um 13:24 schrieb eugen.hris...@microchip.com: >> >> >> On 11.04.2019 08:53, Heiko Schocher wrote: >> >>> >>> - at91sam9g20-taurus.dts: use labels >>> - cleanup taurus port to compile clean with

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

2019-04-12 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks, Jagan. The following changes since commit 3c99166441bf3ea325af2da83cfe65430b49c066: Prepare v2019.04 (2019-04-08 21:40:40 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v2 2/2] tools: fit_image: Add the loadable property to configs

2019-04-12 Thread Alex Kiernan
On Tue, Mar 12, 2019 at 8:34 AM Abel Vesa wrote: > > When running mkimage with "-f auto", the loadable property > needs to be set in order to allow SPL FIT support to boot. > > Signed-off-by: Abel Vesa I've just bisected out to this commit breaking Y-Modem booting of FIT U-Boot on am335x. Right

Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-04-12 Thread Mark Kettenis
> From: Jagan Teki > Date: Fri, 12 Apr 2019 12:02:06 +0530 > > On Fri, Mar 22, 2019 at 2:31 AM Jonathan Liu wrote: > > > > Hi Jagan, > > > > On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki > > wrote: > >> > >> On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu wrote: > >> > > >> > Old sunxi kernels

[U-Boot] [PATCH 6/7] arm: sunxi: Enable DM_MMC and DM_SCSI

2019-04-12 Thread Jagan Teki
- Enable DM_MMC if MMC defined - Enable DM_SCSI if SCSI defined globally through Allwinner platform, the effected SoC families and boards will make use of MMC and SCSI subsystems in driver-model. Tested DM_MMC in one board from A64, H6, H5, H3, R40, A83T, A20, A10 SoCs. Cc: Pablo Sebastián

[U-Boot] [PATCH 5/7] ARM: dts: a20-wits-pro-a20-dkt: Enable AHCI

2019-04-12 Thread Jagan Teki
Enable ahci node for a20-wits-pro-a20-dkt, this would require since we have DM_SCSI enabled on the respective SoC. Cc: Hans de Goede Signed-off-by: Jagan Teki --- Note: This change would need to send Linux first. arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts | 4 1 file changed, 4

[U-Boot] [PATCH 7/7] sunxi: update SATA driver to always use DM_SCSI

2019-04-12 Thread Jagan Teki
From: Andre Przywara It seems like the Allwinner SATA driver is already quite capable of using the driver model, so we can force this on all boards and can remove support for a non-DM_SCSI build. This removes the warning about boards with SATA ports not being DM_SCSI compliant. It also takes

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Heiko Schocher
Hello eugen, Am 12.04.2019 um 13:24 schrieb eugen.hris...@microchip.com: On 11.04.2019 08:53, Heiko Schocher wrote: - at91sam9g20-taurus.dts: use labels - cleanup taurus port to compile clean with current mainline again. SPL has no serial output anymore, so it fits into SRAM.

[U-Boot] [PATCH 4/7] ARM: dts: a20-m5: Enable AHCI

2019-04-12 Thread Jagan Teki
Enable ahci node for sun7i-a20-m5.dts, this would require since we have DM_SCSI enabled on the respective SoC. No need to send patch to Linux for this change, since this dts is U-Boot specific. Cc: Ian Campbell Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-m5.dts | 4 1 file

[U-Boot] [PATCH 2/7] arm: allwinner: dts: a20: Sync A20 dts(i) files from Linux 5.1-rc2

2019-04-12 Thread Jagan Teki
Sync sun7i-a20 dts(i) files from Linux 5.1-rc2 Linux commit details about the sun7i-a20* sync: "ARM: dts: sun7i: bananapi: Add GPIO banks regulators" (sha1: 09c6572290f018d73ec2e812e28bada34d41815f) Here are U-Boot specific dts changes. - s/uart0_pins_a/uart0_pb_pins for

[U-Boot] [PATCH 3/7] board: sunxi: Add R40 sata compatible

2019-04-12 Thread Jagan Teki
Add sata compatible for R40. Cc: Pablo Sebastián Greco Signed-off-by: Jagan Teki --- board/sunxi/ahci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/ahci.c b/board/sunxi/ahci.c index a79b80ca1e..9b03013667 100644 --- a/board/sunxi/ahci.c +++ b/board/sunxi/ahci.c @@ -121,6

[U-Boot] [PATCH 1/7] arm: allwinner: r40: Sync R40 dts(i) files from Linux 5.1-rc2

2019-04-12 Thread Jagan Teki
Sync sun8i-r40 dts(i) files from Linux 5.1-rc2 Linux commit details about the sun8i-r40* sync: "ARM: dts: sun8i: r40: bananapi-m2-ultra: Add Bluetooth device node" (sha1: 1e5f1db4ccd8348a21da55bff82f4263000879ef) Linux commit details about the sun8i-v40* sync: "ARM: dts: sunxi: Fix I2C bus

[U-Boot] [PATCH 0/7] sunxi: a20/r40: Migrate DM_MMC and DM_SCSI

2019-04-12 Thread Jagan Teki
This would Migrate DM_MMC, DM_SCSI for A20 and R40 platforms. Note: - a20-wits-pro-a20-dkt change would need to send Linux first - BPI-M2-Berry would break, but will import Linux dts once approved. Andre Przywara (1): sunxi: update SATA driver to always use DM_SCSI Jagan Teki (6): arm:

Re: [U-Boot] mvebu spl: translation offset set too late?

2019-04-12 Thread Simon Glass
Hi, On Thu, 11 Apr 2019 at 06:55, Stefan Roese wrote: > > Adding Simon to Cc (again)... > > On 11.04.19 14:26, Pierre Bourdon wrote: > > On Thu, Apr 11, 2019 at 2:07 PM Baruch Siach wrote: > >>> Note that on Turris Omnia the SPL needs a working I2C0 to fetch RAM > >>> configuration from an

Re: [U-Boot] [U-Boot,1/2] spi: ti_qspi: Drop non DM code

2019-04-12 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:21:23PM +, Raghavendra, Vignesh wrote: > > On Mon, Feb 11, 2019 at 02:35:35PM +0530, Vignesh R wrote: > > > Now that all boards using TI QSPI have moved to DM and DT, drop non DM > > code completely. > > > > Signed-off-by: Vignesh R > > Reviewed-by: Tom Rini > >

Re: [U-Boot] [RFC PATCH] common: fdt_support: Remove fdt_add_mem_rsv in fdt_shrink_to_minimum

2019-04-12 Thread Simon Glass
Hi Keerthy, Kumar, On Thu, 11 Apr 2019 at 21:41, keerthy wrote: > > > > On 4/12/2019 7:39 AM, Simon Glass wrote: > > Hi Keerthy, > > > > On Wed, 30 Jan 2019 at 06:41, Keerthy wrote: > >> > >> With introduction of commit: > >> > >> a156c47e39ad: tftp: prevent overwriting reserved memory > >> >

[U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
was tracing the ARM-based boot sequence and ended up at the call to board_init_r(): void board_init_r(gd_t *new_gd, ulong dest_addr) { /* * Set up the new global data pointer. So far only x86 does this * here. * TODO(s...@chromium.org): Consider doing

Re: [U-Boot] [U-Boot,1/2] spi: ti_qspi: Drop non DM code

2019-04-12 Thread Raghavendra, Vignesh
On Mon, Feb 11, 2019 at 02:35:35PM +0530, Vignesh R wrote: > Now that all boards using TI QSPI have moved to DM and DT, drop non DM > code completely. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini > --- >  drivers/spi/Kconfig    |  12 +- >  drivers/spi/Makefile   |   2

Re: [U-Boot] [U-Boot, v2, 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-04-12 Thread Tom Rini
On Mon, Feb 04, 2019 at 09:34:28AM +0530, Keerthy wrote: > From: Grygorii Strashko > > Use phys_addr_t for mdio_base address to avoid build warnings on arm64. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Please fix: arm: w+

Re: [U-Boot] [PATCH v2 2/2] ARM: mvebu: sync db-88f6820-amc.dts with Linux v5.0

2019-04-12 Thread Stefan Roese
On 11.04.19 22:47, Chris Packham wrote: Sync armada-385-db-88f6820-amc.dts with Linux. Retain the u-boot,dm-pre-reloc and nand differences. Signed-off-by: Chris Packham --- Changes in v2: - rebase against u-boot-marvell/master Applied to u-boot-marvell/master. Thanks, Stefan

Re: [U-Boot] [PATCH v2 1/2] ARM: mvebu: rename armada-385-amc.dts to armada-385-db-88f6820-amc.dts

2019-04-12 Thread Stefan Roese
On 11.04.19 22:47, Chris Packham wrote: This board was added to u-boot first but the Linux maintainers requested a more descriptive name. Rename the file to match the Linux usage and update the board defconfig. Signed-off-by: Chris Packham Applied to u-boot-marvell/master. Thanks, Stefan

[U-Boot] [PATCH 2/2] board: sama5d2_icp: Enable MACB driver

2019-04-12 Thread Eugen.Hristev
From: Razvan Stefanescu Signed-off-by: Razvan Stefanescu --- configs/sama5d2_icp_mmc_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig index 203b869..6d4d199 100644 --- a/configs/sama5d2_icp_mmc_defconfig +++

[U-Boot] [PATCH 1/2] ARM: dts: at91-sama5d2-icp: Add MACB node

2019-04-12 Thread Eugen.Hristev
From: Razvan Stefanescu MACB has a fixed link connection to KSZ8563 switch port. Signed-off-by: Razvan Stefanescu --- arch/arm/dts/at91-sama5d2_icp.dts | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_icp.dts

Re: [U-Boot] [U-Boot,1/2] spi: ti_qspi: Drop non DM code

2019-04-12 Thread Tom Rini
On Mon, Feb 11, 2019 at 02:35:35PM +0530, Vignesh R wrote: > Now that all boards using TI QSPI have moved to DM and DT, drop non DM > code completely. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini > --- > drivers/spi/Kconfig| 12 +- > drivers/spi/Makefile | 2

Re: [U-Boot] [PATCH 1/1] colibri_imx6: use UUID for rootfs

2019-04-12 Thread Marcel Ziswiler
Hi Igor On Fri, 2019-04-12 at 11:15 +, Igor Opaniuk wrote: > Hi Marcel, > > Thanks for your comments. > > On Fri, Apr 12, 2019 at 11:32 AM Marcel Ziswiler > wrote: > > Hi Igor > > > > Thanks for cleaning that up. > > > > On Fri, 2019-04-05 at 15:51 +0200, Igor Opaniuk wrote: > > >

[U-Boot] Please pull u-boot-marvell/master (v2)

2019-04-12 Thread Stefan Roese
Hi Tom, please pull the following Marvell related patches. I've removed the board support, causing the out-of-tree building error for now. I'll push this one after its resolved. - Misc dts files sync'ed with Linux version (Chris)

Re: [U-Boot] [PATCH 1/1] colibri_imx7: migrate usb to driver model

2019-04-12 Thread Marcel Ziswiler
Hi Igor Just some minor nitpicks below. On Thu, 2019-04-11 at 16:55 +0200, Igor Opaniuk wrote: > Migrate USB to Driver Model (CONFIG_DM_USB=y). > > Signed-off-by: Igor Opaniuk Tested-by: Marcel Ziswiler > --- > arch/arm/dts/imx7-colibri-emmc.dts| 37 + >

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Eugen.Hristev
On 11.04.2019 08:53, Heiko Schocher wrote: > > - at91sam9g20-taurus.dts: use labels > - cleanup taurus port to compile clean with >current mainline again. SPL has no serial >output anymore, so it fits into SRAM. > > Signed-off-by: Heiko Schocher [snip] Hello Heiko, This patch has

Re: [U-Boot] [RFC 1/1] cmd: fs: fix data abort in load cmd

2019-04-12 Thread Igor Opaniuk
Thanks Heinrich! Will test it ASAP. On Wed, Apr 10, 2019 at 8:36 PM Heinrich Schuchardt wrote: > > On 4/10/19 8:48 AM, Igor Opaniuk wrote: > > Hi Heinrich, > > > > Thanks for looking into this, > > > > On Tue, Apr 9, 2019 at 11:28 PM Heinrich Schuchardt > > wrote: > >> > >> On 4/9/19 3:08 PM,

Re: [U-Boot] [PATCH 1/1] colibri_imx6: use UUID for rootfs

2019-04-12 Thread Igor Opaniuk
Hi Marcel, Thanks for your comments. On Fri, Apr 12, 2019 at 11:32 AM Marcel Ziswiler wrote: > > Hi Igor > > Thanks for cleaning that up. > > On Fri, 2019-04-05 at 15:51 +0200, Igor Opaniuk wrote: > > Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs > > partition. > > This fixes

Re: [U-Boot] [RESEND PATCH] configs: Migrate USB_MUSB_DISABLE_BULK_COMBINE_SPLIT to Kconfig

2019-04-12 Thread Marek Vasut
On 4/12/19 12:51 PM, Alex Kiernan wrote: > Migrate support for disable MUSB bulk split/combine to Kconfig > > Green Travis build: > > https://travis-ci.org/akiernan/u-boot/builds/519101867 > > Signed-off-by: Alex Kiernan Acked-by: Marek Vasut I think it's better if this goes through

[U-Boot] [RESEND PATCH] configs: Migrate USB_MUSB_DISABLE_BULK_COMBINE_SPLIT to Kconfig

2019-04-12 Thread Alex Kiernan
Migrate support for disable MUSB bulk split/combine to Kconfig Green Travis build: https://travis-ci.org/akiernan/u-boot/builds/519101867 Signed-off-by: Alex Kiernan --- drivers/usb/musb-new/Kconfig | 9 + include/configs/am335x_evm.h | 1 -

[U-Boot] [PATCH v2 1/1] efi_loader: fix setting PlatformLang

2019-04-12 Thread Heinrich Schuchardt
The UEFI variables PlatformLang and PlatformLangCodes specify the current firmware language and the list of all available languages. Currently their values are hard coded. With the patch a new configuration variable EFI_PLATFORM_LANG_CODES is provided. When initializing the UEFI subsystem this

[U-Boot] [PATCH] main: add new bootstage ID for entering cli loop

2019-04-12 Thread Heiko Schocher
adding a new bootstage ID: BOOTSTAGE_ID_ENTER_CLI_LOOP Signed-off-by: Heiko Schocher --- travis build with this patch is fine, see: https://travis-ci.org/hsdenx/u-boot/builds/519102185 common/cli.c| 1 + include/bootstage.h | 1 + 2 files changed, 2 insertions(+) diff --git

[U-Boot] [RESEND-2 PATCH 1/4] sunxi: Fix compilation of sun8i-emac for A83T

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The A83T has its own clock header file and clock control module structure, unlike H3/A64/R40 which share a common one. As such some of the SoC specific fields or macros are undefined when building U-boot for A83T. Add dummy entries to the clock control module structure to

[U-Boot] [RESEND-2 PATCH 2/4] net: sun8i-emac: Fix compilation for A83T

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The A83T has its own clock header file and clock control module structure, unlike H3/A64/R40 which share a common one. As such some of the SoC specific fields or macros are undefined when building U-boot for A83T. Define the AHB_RESET_OFFSET_EPHY macro if it isn't already

[U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai (Resending yet again with correct email address now subscribed and with proper cover letter subject. Sorry for the noise.) Hi everyone, This series enables EMAC (Ethernet controller) on two A83T boards, the Cubietruck Plus and Bananapi M3. A couple of changes are required

[U-Boot] [RESEND-2 PATCH 3/4] sunxi: Enable EMAC on the Cubietruck Plus

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Cubietruck Plus has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DLDO4 @ 3.3V, while the I/O pins are powered by DLDO3 @ 2.5V. This patch enables the EMAC and Realtek PHY drivers in the defconfig. The device tree file already has the EMAC

Re: [U-Boot] [PULL] u-boot-socfpga/master

2019-04-12 Thread Marek Vasut
On 4/11/19 10:07 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Do., 11. > Apr. 2019, 21:59: > > On 4/11/19 9:30 PM, Simon Goldschmidt wrote: > > > > > > On 11.04.19 21:03, Tom Rini wrote: > >> On Thu, Apr 11, 2019 at 08:49:38PM +0200, Simon

[U-Boot] [PATCH] dts: imx6ull: add USB aliases to support DM

2019-04-12 Thread Filip Brozovic
Signed-off-by: Filip Brozovic --- arch/arm/dts/imx6ull.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx6ull.dtsi b/arch/arm/dts/imx6ull.dtsi index 97236d86ea..4598f2f411 100644 --- a/arch/arm/dts/imx6ull.dtsi +++ b/arch/arm/dts/imx6ull.dtsi @@ -46,6 +46,8 @@

[U-Boot] [RESEND-2 PATCH 4/4] sunxi: Enable EMAC on the Bananapi M3

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Bananapi M3 has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DCDC1 through SW @ 3.3V. This patch enables the EMAC and Realtek PHY drivers in the defconfig. The device tree file already has the EMAC enabled. Signed-off-by: Chen-Yu Tsai ---

[U-Boot] [RESEND PATCH 3/4] sunxi: Enable EMAC on the Cubietruck Plus

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Cubietruck Plus has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DLDO4 @ 3.3V, while the I/O pins are powered by DLDO3 @ 2.5V. This patch enables the EMAC and Realtek PHY drivers in the defconfig. The device tree file already has the EMAC

[U-Boot] [RESEND PATCH 4/4] sunxi: Enable EMAC on the Bananapi M3

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Bananapi M3 has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DCDC1 through SW @ 3.3V. This patch enables the EMAC and Realtek PHY drivers in the defconfig. The device tree file already has the EMAC enabled. Signed-off-by: Chen-Yu Tsai ---

[U-Boot] [RESEND PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai (Resending from correct email address and with proper cover letter subject.) Hi everyone, This series enables EMAC (Ethernet controller) on two A83T boards, the Cubietruck Plus and Bananapi M3. A couple of changes are required to the clock definitions to make the compiler

[U-Boot] [RESEND PATCH 2/4] net: sun8i-emac: Fix compilation for A83T

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The A83T has its own clock header file and clock control module structure, unlike H3/A64/R40 which share a common one. As such some of the SoC specific fields or macros are undefined when building U-boot for A83T. Define the AHB_RESET_OFFSET_EPHY macro if it isn't already

[U-Boot] [RESEND PATCH 1/4] sunxi: Fix compilation of sun8i-emac for A83T

2019-04-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The A83T has its own clock header file and clock control module structure, unlike H3/A64/R40 which share a common one. As such some of the SoC specific fields or macros are undefined when building U-boot for A83T. Add dummy entries to the clock control module structure to

<    1   2   3   >