[U-Boot] should there be general setbits function?

2018-05-08 Thread Mr. goldenstreet
hey, in some parts of the code set bits operations on registers are implemented like this: writel(readl(register) | CONSTANT, register) i know there are setbits_be/setbits_le functions in io.h, so why isn't there a general setbits function which checks your architecture and decides which one of t

Re: [U-Boot] [PATCH v3 2/2] zynqmp: zcu102: Add qspi driver support for ZynqMP zcu102 boards

2018-05-08 Thread Jagan Teki
On Tue, May 8, 2018 at 3:43 PM, Siva Durga Prasad Paladugu wrote: > This patch adds qspi driver support for all ZynqMP ZCU102 > boards. > > Signed-off-by: Siva Durga Prasad Paladugu Reviewed-by: Jagan Teki ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-08 Thread Jagan Teki
On Tue, May 8, 2018 at 3:43 PM, Siva Durga Prasad Paladugu wrote: > This patch adds qspi driver support for ZynqMP SoC. This > driver is responsible for communicating with qspi flash > devices. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes for v3: > - Renamed all macros, functions

[U-Boot] [PATCH v9 06/35] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-05-08 Thread Jagan Teki
Sync sun4i-usb-phy bindings from Linux, since the drivers/phy/allwinner/phy-sun4i-usb.c follow similar. Sync changes from Linux with below commit: "phy: sun4i-usb: add support for R40 USB PHY" (sha1: f3d96f8d23d8e6d0b7642ee946b9b2ac3418fb4d) Signed-off-by: Jagan Teki --- Changes for v9: - Update

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-08 Thread Marty E. Plummer
On Tue, May 08, 2018 at 11:08:14PM +0200, Dr. Philipp Tomsich wrote: > > > On 8 May 2018, at 21:21, Marty E. Plummer wrote: > > > > On Tue, May 08, 2018 at 12:21:24PM +0200, Dr. Philipp Tomsich wrote: > >> Marty, > >> > >>> On 8 May 2018, at 02:52, Marty E. Plummer wrote: > >>> > >>> On Mon,

Re: [U-Boot] [PATCH] driver: net: fsl-mc: updated copyright info

2018-05-08 Thread Yogesh Narayan Gaur
Patch rebased with top, v2 send. Yogesh Gaur -Original Message- From: York Sun Sent: Tuesday, May 8, 2018 9:19 PM To: Yogesh Narayan Gaur ; u-boot@lists.denx.de Subject: Re: [PATCH] driver: net: fsl-mc: updated copyright info On 03/15/2018 02:07 AM, Yogesh Narayan Gaur wrote: > Updated

[U-Boot] [PATCH v2] driver: net: fsl-mc: updated copyright info

2018-05-08 Thread Yogesh Gaur
Updated copyright info for the issues reported after running check-legal test. Signed-off-by: Yogesh Gaur Reviewed-by: York Sun --- Legally NXP and Freescale Semiconductor are same entity. Changes for v2: - Rebase to top as per York's comment. drivers/net/fsl-mc/dpbp.c | 2 +- drivers

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-08 Thread Petr Vorel
Hi Eugeniu, > Not sure if partial/limited sync with Linux Kconfig is practiced, but > if yes, then pick below three Linux commits, which are focused around > improving the readability of reverse dependencies in menuconfig UI. > [1] commit 1ccb27143360bd2390a9a970e50709f858b53761 > Author: Pet

Re: [U-Boot] [PATCH 1/2] ARM: dts: exynos5: remove the duplicated nodes

2018-05-08 Thread Anand Moon
Hi Jaehoon, On 12 January 2018 at 16:37, Jaehoon Chung wrote: > Remove the duplicated gic and combiner nodes in exynos5.dtsi. > > Signed-off-by: Jaehoon Chung > --- > arch/arm/dts/exynos5.dtsi | 27 --- > 1 file changed, 27 deletions(-) > > diff --git a/arch/arm/dts/exyn

[U-Boot] SYS_HAVE_*CACHE_MAINTENANCE

2018-05-08 Thread AKASHI Takahiro
Emmanuel, # Since I haven't subscribed the ML, I can't reply to your post directly. You haven't enabled those configs on armv8/ARM64 (and other arch's as well). So if your patch is merged "as it is," I'm afraid that it will break some functions/commands on such architectures that already have cac

Re: [U-Boot] [U-Boot,v2] cmd: add ADC cli commands

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 03:17:57PM +0200, Neil Armstrong wrote: > Add an 'adc' cli command to get adc devices informations and read single > shots datas. > > Signed-off-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] image: fit: Show signatures and hashes for configurations

2018-05-08 Thread Tom Rini
On Mon, Apr 30, 2018 at 11:06:40AM +0200, Clément Péron wrote: > The signature/hash information are displayed for images but nor for > configurations. > > Add subnodes printing in fit_conf_print() like it's done in fit_image_print() > > Signed-off-by: Clément Péron Applied to u-boot/master, th

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-08 Thread Tom Rini
On Wed, May 09, 2018 at 10:27:00AM +0900, Masahiro Yamada wrote: > Hi. > > 2018-05-09 2:59 GMT+09:00 Eugeniu Rosca : > > Not sure if partial/limited sync with Linux Kconfig is practiced, but > > if yes, then pick below three Linux commits, which are focused around > > improving the readability of

Re: [U-Boot] [U-Boot, v2] gdsys: drivers: Add gdsys_rxaui_ctrl driver

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 02:53:33PM +0200, Mario Six wrote: > Add a driver for RXAUI control on IHS FPGAs. > > Signed-off-by: Mario Six > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v2, 1/3] pci: Don't use pci_indirect when DM is active

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 02:53:37PM +0200, Mario Six wrote: > Declaration of indirect PCI bridges is not compatible with DM: Both > define PCI operations, but in different ways. Hence, don't use indirect > bridges if DM is active. > > Signed-off-by: Mario Six > Reviewed-by: Simon Glass Applied

Re: [U-Boot] [U-Boot,v2] clk: Add ICS8N3QV01 driver

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 02:53:15PM +0200, Mario Six wrote: > Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boo

Re: [U-Boot] [U-Boot,v2,2/2] ihs_mdio: Make DM-compatible

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 02:52:10PM +0200, Mario Six wrote: > Make the ihs_mdio driver DM-compatible, while retaining the old > functionality for not-yet-converted boards. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] arm: bitops: fix find_next_zero_bit() for case size < 32

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 07:58:49PM -0500, Grygorii Strashko wrote: > find_next_zero_bit() incorrectly handles cases when: > - total bitmap size < 32 > - rest of bits to process > > static inline int find_next_zero_bit(void *addr, int size, int offset) > { > unsigned long *p = ((unsigned lon

Re: [U-Boot] bootm.c: Correct the flush_len used in bootm_load_os()

2018-05-08 Thread Tom Rini
On Tue, May 01, 2018 at 12:32:37PM -0400, Tom Rini wrote: > In do_bootm_states when doing BOOTM_STATE_LOADOS we use load_end > uninitialized and Coverity notes this now. This however leads down > another interesting path. We pass this pointer to bootm_load_os and > that in turn uses this uniniti

Re: [U-Boot] [U-Boot,v2,1/2] ihs_mdio: Encapsulate register access

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 02:52:09PM +0200, Mario Six wrote: > To prepare for DM conversion, encapsulate all register accesses in > function calls. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

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

2018-05-08 Thread Tom Rini
On Tue, May 08, 2018 at 10:32:20AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Now that MW is open, please pull UniPhier SoC updates. > Thanks. > > > The following changes since commit a43d46a73cb2c40481791cb292b8eb0b5a80d55e: > > arm: v7R: Add support for enabling caches (2018-05-07 15:53:2

Re: [U-Boot] [U-Boot, v3] db410c: set clk node to be probed before relocation

2018-05-08 Thread Tom Rini
On Fri, Apr 20, 2018 at 10:39:50PM +0300, Ramon Fried wrote: > The clock node is used by the serial driver and it's needed > before relocation. > This patch ensures that the msm-serial driver can actually > use the clock node. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v2] arm: ti: boot: Extract PARTS_DEFAULT to boot.h

2018-05-08 Thread Tom Rini
On Thu, Apr 19, 2018 at 11:57:30PM +0300, Sam Protsenko wrote: > Eliminate code duplication: the same PARTS_DEFAULT was defined in > am57xx_evm.h and in dra7xx_evm.h. Extract it to environment/boot.h and > use in all OMAP5-based boards. > > Signed-off-by: Sam Protsenko Applied to u-boot/master,

Re: [U-Boot] ARM: dts: sti: Add stih410-b2260-u-boot.dtsi

2018-05-08 Thread Tom Rini
On Fri, Apr 20, 2018 at 09:53:55AM +0200, Patrice Chotard wrote: > STiH410 has 2 PHYs wired on the DWC3 IP, USB2 and USB3 PHYs. > As currently no U-boot driver is available for the USB3 PHY and to avoid > issue during DWC3 drive probe, we use DWC3 IP with only USB2 PHY > using stih410-b2260-u-boot

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2018-05-08 Thread Tom Rini
On Tue, May 08, 2018 at 04:22:14PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches to u-boot/master? > If there is a problem, let me know, plz. > > The following changes since commit a43d46a73cb2c40481791cb292b8eb0b5a80d55e: > > arm: v7R: Add support for enabling cach

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-08 Thread Masahiro Yamada
Hi. 2018-05-09 2:59 GMT+09:00 Eugeniu Rosca : > Not sure if partial/limited sync with Linux Kconfig is practiced, but > if yes, then pick below three Linux commits, which are focused around > improving the readability of reverse dependencies in menuconfig UI. > > [1] commit 1ccb27143360bd2390a9a97

Re: [U-Boot] [U-Boot,V2] imx: mx7: psci: add system reset support

2018-05-08 Thread Peng Fan
> -Original Message- > From: Trent Piepho [mailto:tpie...@impinj.com] > Sent: 2018年5月9日 4:11 > To: Peng Fan ; christian.gmei...@gmail.com; Anson > Huang ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; sba...@denx.de > Cc: Fabio Estevam > Subject: Re: [U-Boot,V2] imx: mx7: psci: add

Re: [U-Boot] [U-Boot,V2] imx: mx7: psci: add system reset support

2018-05-08 Thread Trent Piepho
On Tue, 2018-05-08 at 05:29 +, Peng Fan wrote: > > -Original Message- > > From: Trent Piepho [mailto:tpie...@impinj.com] > > Sent: 2018年5月8日 6:07 > > To: christian.gmei...@gmail.com; Peng Fan ; Anson > > Huang ; u-boot@lists.denx.de; > > albert.u.b...@aribaud.net; sba...@denx.de > > Cc:

[U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-08 Thread Eugeniu Rosca
Not sure if partial/limited sync with Linux Kconfig is practiced, but if yes, then pick below three Linux commits, which are focused around improving the readability of reverse dependencies in menuconfig UI. [1] commit 1ccb27143360bd2390a9a970e50709f858b53761 Author: Petr Vorel kconfig: m

[U-Boot] [PATCH] efi_loader: fix off-by-one bug in efi_get_variable

2018-05-08 Thread Ivan Gorinov
efi_get_variable() always stores an extra zero byte after the output data. When the returned data size matches the output buffer size, the extra zero byte is stored past the end of the output buffer. Signed-off-by: Ivan Gorinov --- lib/efi_loader/efi_variable.c | 4 ++-- 1 file changed, 2 insert

[U-Boot] [PATCH v4 1/3] apalis_t30: describe pcie ports

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Add some more comments describing the various PCIe ports available. Signed-off-by: Marcel Ziswiler --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/tegra30-apalis.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/tegra3

[U-Boot] [PATCH v4 0/3] fix apalis_t30 optional pcie operation

2018-05-08 Thread Marcel Ziswiler
This series addresses a PCIe reliability issue as observed on Apalis T30 related to a PCIe reset timing violation. This series is available at http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next Changes in v4: - Fix spelling of losing vs. loosing. Changes in v3: - Updated copyright

[U-Boot] [PATCH v4 3/3] apalis_t30: fix optional pcie port reset for reliable pcie operation

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow optionally bringing up the Apalis type specific 4 lane PCIe port as well as the PCIe switch as found on the Apalis Evaluation board. In order to avoid violating the PCIe reset timing do this by overriding the tegra_pcie_board_port_reset() function. Note however that bo

[U-Boot] [PATCH v4 2/3] apalis_t30: fix pcie port 0 and 1 pin muxing

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix optional Apalis type specific 4 lane PCIe port 0 and Apalis PCIe port 1 pin muxing. Signed-off-by: Marcel Ziswiler --- Changes in v4: None Changes in v3: None Changes in v2: - Leave resp. enable all port 0 pins input drivers as a customer may optionally want to use

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-08 Thread Dr. Philipp Tomsich
> On 8 May 2018, at 21:21, Marty E. Plummer wrote: > > On Tue, May 08, 2018 at 12:21:24PM +0200, Dr. Philipp Tomsich wrote: >> Marty, >> >>> On 8 May 2018, at 02:52, Marty E. Plummer wrote: >>> >>> On Mon, May 07, 2018 at 11:16:28AM +0200, Dr. Philipp Tomsich wrote: > On 7 May 2018,

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-08 Thread Vagrant Cascadian
On 2018-05-08, Vagrant Cascadian wrote: > On 2018-05-05, Tom Rini wrote: >> On Sat, May 05, 2018 at 04:04:08PM -0700, Vagrant Cascadian wrote: >>> Markus Krebs discovered that the sheevaplug target has again grown and >>> installation overlaps where the u-boot env is saved since u-boot >>> ~2017.09

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-08 Thread Vagrant Cascadian
On 2018-05-05, Tom Rini wrote: > On Sat, May 05, 2018 at 04:04:08PM -0700, Vagrant Cascadian wrote: >> Markus Krebs discovered that the sheevaplug target has again grown and >> installation overlaps where the u-boot env is saved since u-boot >> ~2017.09. Running saveenv overwrites u-boot, and insta

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-08 Thread Marty E. Plummer
On Tue, May 08, 2018 at 12:21:24PM +0200, Dr. Philipp Tomsich wrote: > Marty, > > > On 8 May 2018, at 02:52, Marty E. Plummer wrote: > > > > On Mon, May 07, 2018 at 11:16:28AM +0200, Dr. Philipp Tomsich wrote: > >> > >>> On 7 May 2018, at 04:34, Marty E. Plummer wrote: > >>> > >>> On Mon, May

Re: [U-Boot] [PATCH v2 1/3] efi_loader: allow unaligned memory access

2018-05-08 Thread Heinrich Schuchardt
On 05/07/2018 11:53 PM, Tom Rini wrote: > On Thu, Apr 05, 2018 at 09:39:20AM +0200, Alexander Graf wrote: >> On 04/04/2018 09:14 PM, Heinrich Schuchardt wrote: >>> On 04/04/2018 06:11 PM, Alexander Graf wrote: On 04.04.18 17:10, Heinrich Schuchardt wrote: > On 04/04/2018 02:32 PM, Ale

Re: [U-Boot] [PATCH 1/4] i2c: rcar_i2c: Remove the driver

2018-05-08 Thread Marek Vasut
On 05/08/2018 10:14 AM, Heiko Schocher wrote: > Hello Marek, > > Am 01.05.2018 um 09:03 schrieb Marek Vasut: >> Remove the rcar_i2c driver, since it's no longer used by any >> board and will be superseded by a DM and DT capable variant. >> >> Signed-off-by: Marek Vasut >> Cc: Heiko Schocher >> C

Re: [U-Boot] [PATCH v8 06/35] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-05-08 Thread Marek Vasut
On 05/08/2018 08:07 AM, Jagan Teki wrote: > Sync sun4i-usb-phy bindings from Linux, since the > drivers/phy/allwinner/phy-sun4i-usb.c follow similar. > > Sync changes from Linux with below merge commit: > > Merge: 02fc9235984d 486f47e8d3dd > Author: Stephen Rothwell > Date: Mon Mar 26 19:56:29

Re: [U-Boot] [PATCH v1 08/16] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-05-08 Thread Marek Vasut
On 05/08/2018 08:49 AM, Ley Foon Tan wrote: > On Thu, Apr 19, 2018 at 10:53 AM, Marek Vasut wrote: >> On 04/19/2018 11:50 AM, Ley Foon Tan wrote: >>> Add mailbox support for Stratix SoC >>> >>> Signed-off-by: Ley Foon Tan >>> Signed-off-by: Chin Liang See >>> --- [...] >>> +static __always_inl

[U-Boot] [PATCH] FIT: Make fit_conf_print() be a static function

2018-05-08 Thread Tom Rini
We only call fit_conf_print from one place in the code, so mark it as static and move it up to where we call it. This in turn has us move a few other already static functions up further as well. Signed-off-by: Tom Rini --- common/image-fit.c | 361 ++-

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-08 Thread Florian Fainelli
On 05/06/2018 04:09 AM, Thomas Fitzsimmons wrote: > Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port > assumes Broadcom's BOLT bootloader is acting as the second stage > bootloader, and U-Boot is acting as the third stage bootloader, loaded > as an ELF program by BOLT. > > Sig

[U-Boot] [PATCH] board: sun50i: Add Amarula A64-Relic initial support

2018-05-08 Thread Jagan Teki
Amarula A64-Relic is A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki --- Note: Maxime, I saw your previous comments

Re: [U-Boot] [U-Boot, v2, 2/2] test: regmap: add read/modify/write test

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 11:56:15AM +0200, Neil Armstrong wrote: > Add calls to regmap_read/modify_bits/write even if the proper memory > read/write calls are not executed in sandbox. > > Signed-off-by: Neil Armstrong > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] [PATCH] lib/Kconfig: Mark OF_LIBFDT_OVERLAY as depending on OF_LIBFDT

2018-05-08 Thread Tom Rini
On Tue, May 08, 2018 at 08:53:07AM -0400, Tom Rini wrote: > The overlay code is only useful when OF_LIBFDT is set, so mark it as > depending on that first. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, RESEND, v1, 1/4] power: regulator: Add support for stm32-vrefbuf

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:00:46PM +0200, Patrice Chotard wrote: > From: Fabrice Gasnier > > Add regulator driver for STM32 voltage reference buffer which can be > used as voltage reference for ADCs, DACs and external components through > dedicated VREF+ pin. > > Signed-off-by: Fabrice Gasnier

Re: [U-Boot] [U-Boot, v2, 1/2] regmap: add regmap_update_bits() helper

2018-05-08 Thread Tom Rini
On Fri, Apr 27, 2018 at 11:56:14AM +0200, Neil Armstrong wrote: > Add the regmap_update_bits() to simply the read/modify/write of registers > in a single command. The function is taken from Linux regmap > implementation. > > Signed-off-by: Neil Armstrong > Reviewed-by: Simon Glass Applied to u

Re: [U-Boot] [U-Boot, RESEND, v1, 1/2] stm32mp: regulator: add SoC pwr regulator support

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 04:45:18PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > This driver binds and manages the following regulator of > SoC's PWR block : > - reg11 > - reg18 > - usb33 > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied to u-boo

Re: [U-Boot] [U-Boot, RESEND, v1, 2/4] power: pmic: stpmu1: Add regulator bindings

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:13:10PM +0200, Patrice Chotard wrote: > Add regulator bindings to get access to regulator managed > by drivers/power/regulator/stpmu1.c regulator driver. > > Signed-off-by: Christophe Kerello > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied

Re: [U-Boot] [U-Boot,u-boot] adc: add Amlogic Meson SAR ADC driver

2018-05-08 Thread Tom Rini
On Mon, Apr 23, 2018 at 04:19:23PM +0200, Neil Armstrong wrote: > This patch adds the driver for the Amlogic Meson Successive Approximation > Register (SAR) A/D Converter based on the Linux IIO driver thanks to the > great work of Martin Blumenstingl. > The driver has been adapted to U-Boot and th

Re: [U-Boot] configs: at91: sama5: updated mtdparts variable in bootargs

2018-05-08 Thread Tom Rini
On Tue, Apr 24, 2018 at 12:00:16PM +0300, Eugen Hristev wrote: > We have a new demo layout of our sama5 boards for the NAND Flash > memory. > According to this new layout, adjust the mtdparts variable in bootargs > to align with this, which is available at : > http://www.at91.com/linux4sam/bin/vie

Re: [U-Boot] board: sama5d2_ptc_ek: adjust the smc timings of nand

2018-05-08 Thread Tom Rini
On Tue, Apr 24, 2018 at 10:43:53AM +0300, Eugen Hristev wrote: > To fix the issue of write the rootfs.ubi, adjust the smc timings > configuration of the nand controller. > > Based on original work by Wenyou Yang > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] arm: controlcenterdc: Add spi-flash compatible strings

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 10:10:59AM +0200, Mario Six wrote: > Since kirkwook SPI was recently converted to DM, add compatible strings > to the SPI flash devices to make them work with the new driver. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] board: sama5d27_som1_ek: Fix the USB vbus power

2018-05-08 Thread Tom Rini
On Tue, Apr 24, 2018 at 02:36:28PM +0300, Eugen Hristev wrote: > According to the REVB schematic, fix the USB vbus power enable pin. > > Based on original work by Wenyou Yang > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, RESEND, v1, 1/4] power: regulator: stpmu1: Introduce stpmu1 driver

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:13:09PM +0200, Patrice Chotard wrote: > From: Christophe Kerello > > Enable support for the regulator functions of the STPMU1X PMIC. The > driver implements get/set api for the various BUCKS and LDOs supported > by the PMIC device. This driver is controlled by a device

Re: [U-Boot] gpio: atmel_pio4: give a full configuration when muxing pins

2018-05-08 Thread Tom Rini
On Tue, Apr 24, 2018 at 10:16:01AM +0300, Eugen Hristev wrote: > From: Ludovic Desroches > > When a pin is muxed to a peripheral or as a GPIO, the only > configuration that can be set is the pullup. It is too restrictive > so this patch allows to give a full configuration. > > Signed-off-by: Lu

Re: [U-Boot] [U-Boot,v4] arm64: Add SMC and HVC commands

2018-05-08 Thread Tom Rini
On Fri, Apr 13, 2018 at 10:40:57AM +0300, Michalis Pappas wrote: > This patch adds smc and hvc commands, that allow issuing Secure Monitor > Calls and Hypervisor Calls conforming to the ARM SMC Calling Convention. > > Add Kconfig items to allow each command can be individually enabled. > > Signe

Re: [U-Boot] [U-Boot, RESEND, v1, 2/4] clk: stm32mp1: Add VREF clock gating

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:00:47PM +0200, Patrice Chotard wrote: > From: Fabrice Gasnier > > Add VREF clock gating, that may be used by STM32 VREFBUF regulator. > > Signed-off-by: Fabrice Gasnier > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [U-Boot] [U-Boot, RESEND, v1, 2/2] ARM: dts: stm32mp157: Add SoC pwr regulator entry

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 04:45:19PM +0200, Patrice Chotard wrote: > Add SoC power regulator entry for reg11, reg18 and usb33 > regulator. > > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 2/2] board: atmel: sama5d2_ptc_ek: update pin configuration for NAND

2018-05-08 Thread Tom Rini
On Mon, Apr 23, 2018 at 10:59:50AM +0300, Eugen Hristev wrote: > From: Ludovic Desroches > > The drive strength has to be set to medium for the NAND data lines. > With a low drive, we can get some data corruption. > > Signed-off-by: Ludovic Desroches Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,2/2] env: ti: android: boot with FIT Image

2018-05-08 Thread Tom Rini
On Wed, Apr 25, 2018 at 04:03:24PM -0500, Praneeth Bajjuri wrote: > Boot android over emmc by default thru FIT image > > Signed-off-by: Praneeth Bajjuri > Suggested-by: Andrew F.Davis > Reviewed-by: Tom Rini > Reviewed-by: Sam Protsenko Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] [U-Boot, 1/2] configs: TI: Enable FIT Library overlay support

2018-05-08 Thread Tom Rini
On Wed, Apr 25, 2018 at 04:03:23PM -0500, Praneeth Bajjuri wrote: > Enable the FDT library overlay support for all TI SOC family. > > Without this option, when Loading fdt from FIT image, the > following warning is seen. > > "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set". > > Signe

Re: [U-Boot] [U-Boot, RESEND, v1, 3/4] configs: stm32mp15: Enable STM32_VREFBUF flag

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:00:48PM +0200, Patrice Chotard wrote: > From: Fabrice Gasnier > > Enable vrefbuf on stm32mp15, to be used by ADC. > > Signed-off-by: Fabrice Gasnier > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [U-Boot] [U-Boot, RESEND, v1, 3/4] ARM: dts: stm32mp157c-ed1: Add regulator node

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:13:11PM +0200, Patrice Chotard wrote: > Add regulator nodes needed by stpmu1 regulator driver > Add vmmc-supply and vqmmc-supply regulator property for > sdmmc1 and sdmmc2. > > Signed-off-by: Christophe Kerello > Signed-off-by: Patrice Chotard Applied to u-boot/maste

Re: [U-Boot] defconfig: at91-sama5d2_ptc_ek: remove unused SYS_EXTRA_OPTIONS

2018-05-08 Thread Tom Rini
On Wed, Apr 25, 2018 at 12:22:41PM +0300, Eugen Hristev wrote: > From: Ludovic Desroches > > Remove SYS_USE_NANDFLASH, SYS_USE_MMC as they are deprecated and > unused. > The board configurations already use CONFIG_SD_BOOT and > CONFIG_NAND_BOOT respectively. > > Signed-off-by: Ludovic Desroches

Re: [U-Boot] [U-Boot, 1/3] arm: dra76: fastboot: extend cpu type for getvar command

2018-05-08 Thread Tom Rini
On Wed, Apr 25, 2018 at 03:56:34PM -0500, Praneeth Bajjuri wrote: > 'commit dda0bd674481 ("arm: dra762: Add support for device package > identification")' > introduces ABZ and ACD package identification. > > This patch is to extend usage of "fastboot getvar cpu" for > DRA76x ABZ and ACD devices.

Re: [U-Boot] [U-Boot, 1/2] gpio: atmel_pio4: add drive strength macros

2018-05-08 Thread Tom Rini
On Mon, Apr 23, 2018 at 10:59:49AM +0300, Eugen Hristev wrote: > From: Ludovic Desroches > > Macros for drive strength configuration were missing. > > Signed-off-by: Ludovic Desroches Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot,v2,u-boot] ARM: meson: rename GXBB to GX

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 05:13:45PM +0200, Neil Armstrong wrote: > Taking into account the Amlogic Family name starts with GX, including > the GXBB, GXL and GXM SoCs. > > Signed-off-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, RESEND, v1, 4/4] configs: stm32mp15_basic: Set regulator relative flags

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:13:12PM +0200, Patrice Chotard wrote: > Enable DM_REGULATOR_STPMU1 flag to activate regulator > driver for STM32MP15 SoC and CMD_REGULATOR flag to be > able to set/get regulator state int U-boot command line. > > Disable PMIC_CHILDREN as this flag is not needed in SPL >

Re: [U-Boot] pci: intel: Add Intel FPGA PCIe controller driver

2018-05-08 Thread Tom Rini
On Fri, Apr 20, 2018 at 09:55:45PM +0800, Ley Foon Tan wrote: > Add PCIe driver for Intel FPGA PCIe IP. This driver operates the PCIe IP in > rootport mode only, the EP mode is not supported. The driver is tested > with the Intel e1000e NIC driver. > > Signed-off-by: Ley Foon Tan Applied to u-b

Re: [U-Boot] [U-Boot, RESEND, v1, 4/4] ARM: dts: stm32mp157: Add vrefbuf DT node

2018-05-08 Thread Tom Rini
On Thu, Apr 26, 2018 at 05:00:49PM +0200, Patrice Chotard wrote: > Add vrefbuf device tree node. This allows to get > a voltage reference for ADCs. > > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v4, 2/3] dm: led: auto probe() LEDs with "default-state"

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 11:16:28AM +0200, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > To avoid board specificy LED activation code, automatically > activate gpio-leds with "default-state" property during bind(). > > Signed-off-by: Patrick Bruenn Applied to u-boot/master, t

Re: [U-Boot] mach-snapdragon: Fix UART clock flow

2018-05-08 Thread Tom Rini
On Tue, Apr 17, 2018 at 05:43:37PM +0300, Ramon Fried wrote: > UART clock enabling flow was wrong. > Changed the flow according to downstream implementation in LK. > > Signed-off-by: Ramon Fried This causes a warning on dragonboard410c: aarch64: + dragonboard410c +(dragonboard410c) clk_

Re: [U-Boot] [U-Boot,3/3] mmc: support writing sparse images

2018-05-08 Thread Tom Rini
On Fri, Apr 06, 2018 at 12:05:24PM +0530, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > Provide an alternate path for sparse-images to be > written to MMC. For example, via tftp on platforms > that don't support fastboot protocol. Or when an > image is to written at some offset, rather

Re: [U-Boot] [U-Boot, u-boot, 1/2] ARM64: meson: Sync DT and Bindings with Linux 4.16

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 05:40:40PM +0200, Neil Armstrong wrote: > Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux > 4.16.0. > > Signed-off-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v4, 3/3] dm: led: add testcase for "default-state" property

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 11:16:29AM +0200, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > Add two more gpio-leds to sandbox test device tree with default-state > property set to "on"/"off". > Add dm_test_led_default_state() to check that these new LED's are set to > LEDST_ON and

Re: [U-Boot] [U-Boot, u-boot, 2/2] pinctrl: meson: Update pinmux with new Linux bindings

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 05:40:41PM +0200, Neil Armstrong wrote: > The pinctrl bindings has changed for Amlogic Meson SoCs since Linux 4.13, > update the pinctrl driver to take this in account. > > Signed-off-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] clk: clk_stm32f: Use PLLSAIP as USB 48MHz clock

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 05:07:45PM +0200, Patrice Chotard wrote: > On all STM32F4 and F7 SoCs family (except STM32F429), PLLSAI > output P can be used as 48MHz clock source for USB and SDMMC. > > Signed-off-by: Patrice Chotard > Tested By: Bruno Herrera Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, 2/3] fastboot: sparse: make write_sparse_image useable for non-fastboot

2018-05-08 Thread Tom Rini
On Fri, Apr 06, 2018 at 12:05:09PM +0530, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > write_sparse_image could be useful for non-fastboot users. > For ex a platform, without usb-device/fastboot support, could > get sparse images over tftp and write using the mmc command. > Or non-andr

Re: [U-Boot] [U-Boot, v4, 1/3] dm: led: Support "default-state" property

2018-05-08 Thread Tom Rini
On Wed, Apr 11, 2018 at 11:16:27AM +0200, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > Add support for the device tree property "default-state". This feature > might be useful for LEDs indicating "power on" or similar states. > > Note: Even with this commit gpio-leds remain i

Re: [U-Boot] [U-Boot, 1/3] fastboot: sparse: remove redundant argument to write_sparse_image

2018-05-08 Thread Tom Rini
On Fri, Apr 06, 2018 at 12:04:52PM +0530, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > 'sz' has no use for write_sparse_image, remove it simplifying the api. > > Signed-off-by: Jassi Brar Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] Appended DTB Android boot image support

2018-05-08 Thread Ramon Fried
On Fri, May 4, 2018, 10:38 PM Simon Glass wrote: > Hi, > > On 1 May 2018 at 04:52, Ramon Fried wrote: > > On Tue, May 1, 2018 at 12:20 PM, Alex Deymo wrote: > >> Hi Ramon, > >> > >> What "header_version" is the boot image you have? The > >> include/android_image.h in U-Boot is a little bit old

Re: [U-Boot] [RFC PATCH v2 16/20] fastboot: net: Add NAND support

2018-05-08 Thread Jocelyn Bohr
On Thu, May 3, 2018 at 2:24 PM Joe Hershberger wrote: > On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan > wrote: > > Add NAND support to fastboot UDP flash/erase commands > > > > Signed-off-by: Alex Kiernan > > Acked-by: Joe Hershberger > Reviewed-by: Jocelyn Bohr _

Re: [U-Boot] [RFC PATCH v2 16/20] fastboot: net: Add NAND support

2018-05-08 Thread Jocelyn Bohr
On Tue, May 8, 2018 at 2:09 AM Alex Kiernan wrote: > On Tue, May 8, 2018 at 8:20 AM Joe Hershberger > wrote: > > > On Tue, May 8, 2018 at 1:53 AM, Jocelyn Bohr wrote: > > > On Mon, Apr 30, 2018 at 1:33 AM Alex Kiernan > wrote: > > > > > >> Add NAND support to fastboot UDP flash/erase commands

Re: [U-Boot] [RFC PATCH v2 07/20] net: fastboot: Merge AOSP UDP fastboot

2018-05-08 Thread Alex Kiernan
On Tue, May 8, 2018 at 4:24 PM Joe Hershberger wrote: > On Tue, May 8, 2018 at 4:11 AM, Alex Kiernan wrote: > > On Thu, May 3, 2018 at 9:39 PM Joe Hershberger > > wrote: > > > >> On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan > > wrote: > > > > > > > >> > +/** > >> > + * Constructs and sends a

Re: [U-Boot] [PATCH] driver: net: fsl-mc: updated copyright info

2018-05-08 Thread York Sun
On 03/15/2018 02:07 AM, Yogesh Narayan Gaur wrote: > Updated copyright info for the issues reported after running > check-legal test. > > Signed-off-by: Yogesh Gaur > --- > Legally NXP and Freescale Semiconductor are same entity. Can you refresh this patch? It has conflict with Tom's recent chan

Re: [U-Boot] [PATCH] net: Protect net_state from reentrant net_loop()

2018-05-08 Thread Joe Hershberger
On Tue, May 8, 2018 at 8:55 AM, Leonid Iziumtsev wrote: > Global variable "net_state" is used in net_loop() state-machine. > But it happens that some times the net_loop() can be called > multiple times in the same call stack. For example when the > netconsole is enabled and we print the message wh

[U-Boot] [PATCH v6 2/6] apalis-tk1: add missing as3722 gpio0 configuration

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler As the AS3722 GPIO0 is also a not connected on our Apalis TK1 module explicitly configure it to high-impedance as well. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

[U-Boot] [PATCH v6 4/6] pci: tegra: introduce weak tegra_pcie_board_port_reset() function

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Introduce a weak tegra_pcie_board_port_reset() function by default calling the existing tegra_pcie_port_reset() function. Additionally add a tegra_pcie_port_index_of_port() function to retrieve the specific PCIe port index if required. This allows overriding the PCIe port re

[U-Boot] [PATCH v6 5/6] power: as3722: add as3722_ldo_set_voltage signature to header file

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Just like the already present as3722_sd_set_voltage() add the currently missing signature of the as3722_ldo_set_voltage() function to its header file. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None

[U-Boot] [PATCH v6 0/6] fix apalis-tk1 pcie gigabit ethernet operation

2018-05-08 Thread Marcel Ziswiler
This series addresses a gigabit Ethernet reliability issue as observed on Apalis TK1 related to a PCIe reset timing violation. This series is available at http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next Changes in v6: - Use macro AS3722_LDO_CONTROL0_MAX_INDEX instead of the hard-

[U-Boot] [PATCH v6 3/6] power: as3722: fix ldo_get/set_enable for ldo index bigger than 7

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix ldo_get_enable() and ldo_set_enable() functions for LDOs with an index > 7. Turns out there are actually two separate AS3722_LDO_CONTROL registers AS3722_LDO_CONTROL0 and AS3722_LDO_CONTROL1. Actually make use of both. While at it also actually use the enable parameter o

[U-Boot] [PATCH] Licenses/README: Update some style and add explicit license to the document

2018-05-08 Thread Tom Rini
- Add an SPDX license tag to the file, saying it's GPL-2.0. - From the Linux Kernel v4.17-rc4, import the "License identifier syntax" section as-is from Documentation/process/license-rules.rst and then change it to be clearer about examples from the Linux Kernel vs examples found in U-Boot, a

[U-Boot] [PATCH v6 6/6] apalis-tk1: fix pcie reset for reliable gigabit ethernet operation

2018-05-08 Thread Marcel Ziswiler
From: Marcel Ziswiler It turns out that the current PCIe reset implementation in the PCIe board init function is not quite working reliably due to PCIe reset timing violations. Fix this by overriding the tegra_pcie_board_port_reset() function. Also allow optionally bringing up the PCIe switch as

[U-Boot] [PATCH v6 1/6] configs: apalis-tk1: fix boot failure using ext4 rootfs

2018-05-08 Thread Marcel Ziswiler
From: Sanchayan Maity Trying to boot from an ext4 rootfs fails due to us defaulting to ext3. While the downstream T20/T30 L4T kernel has issues with ext4 later TK1 L4T should work just fine with it. Hence enable ext4 for sdboot and usbboot on TK1. Signed-off-by: Sanchayan Maity Acked-by: Marcel

Re: [U-Boot] [RFC PATCH v2 11/20] fastboot: net: Change 'continue' so it matches USB fastboot

2018-05-08 Thread Joe Hershberger
On Tue, May 8, 2018 at 4:20 AM, Alex Kiernan wrote: > On Thu, May 3, 2018 at 9:58 PM Joe Hershberger > wrote: > >> On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan > wrote: >> > Change the behaviour of 'continue' so that we simply exit the fastboot >> > server and leave the caller to decide what to

Re: [U-Boot] [PATCH v2 1/2] common: Add support for Android DT image

2018-05-08 Thread Alex Deymo
Le jeu. 19 avr. 2018 à 22:52, Sam Protsenko a écrit : > Android documentation recommends new image format for storing DTB/DTBO > files: [1]. To support that format, two things should be done: > > 1. Add dt_table.h file from Android (BSD-3 relicensed version): [2]. >This header defines structu

Re: [U-Boot] [PATCH v2 2/2] cmd: Add dtimg command

2018-05-08 Thread Alex Deymo
Le jeu. 19 avr. 2018 à 22:52, Sam Protsenko a écrit : > dtimg command allows user to work with Android DTB/DTBO image format. > Such as, getting the address of desired DTB/DTBO file, printing the dump > of the image in U-Boot shell, etc. > > This command is needed to provide Android boot with new

  1   2   >