Re: [U-Boot] [PATCH 1/6] stm32mp1: clk: define RCC_PLLNCFGR2_SHIFT macro

2018-07-16 Thread Vikas Manocha
Hi, On 07/16/2018 01:41 AM, Patrick Delaunay wrote: > This patch define RCC_PLLNCFGR2_SHIFT to reuse it in > the pll function for set rate. > > Signed-off-by: Patrick Delaunay Reviewed-by: Vikas Manocha Cheers, Vikas > --- > > drivers/clk/clk_stm32mp1.c | 15 ++- > 1 file

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-07-16 Thread Trent Piepho
On Sat, 2018-07-14 at 00:11 +, Henry Beberman wrote: > From: Henry Beberman > > This patch enables i.MX platforms to easily add a boot script to their > U-Boot Proper environment to automatically load and execute an EFI > firmware from the first FAT partition of an MMC device. Is there a

Re: [U-Boot] [PATCH 04/11] spl: imx: Add optional lds to keep SPL entirely in on-chip RAM

2018-07-16 Thread Trent Piepho
On Sat, 2018-07-14 at 00:11 +, Henry Beberman wrote: > From: Henry Beberman > > This patch is part of the i.MX Windows 10 IoT Core boot flow. > > It adds a modified linker script for SPL to keep all segments in > on-chip ram. This is to harden the device against potential leaks of > device

[U-Boot] [PATCH 1/3] bmips: ram: add an option to force the size of the ram

2018-07-16 Thread Philippe Reynes
This adds an option to force the size of the ram, and avoid the detection of ram size. Signed-off-by: Philippe Reynes --- drivers/ram/bmips_ram.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c index cc37dfa..b5f19c9

[U-Boot] [PATCH 2/3] bcm6838: add initial support

2018-07-16 Thread Philippe Reynes
This adds the initial support of the Broadcom BCM6838 SoC familly, only cpu, dram, uart and leds are supported. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 75 + arch/mips/mach-bmips/Kconfig| 13 +++

Re: [U-Boot] [RFC 17/35] clk: sunxi: Add initial CLK driver for H3_H5

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 10:25 PM, Andre Przywara wrote: > Hi, > > On 16/07/18 13:59, Maxime Ripard wrote: >> On Mon, Jul 16, 2018 at 04:58:32PM +0530, Jagan Teki wrote: >>> Add initial clock driver Allwinner for H3_H5. >>> >>> Implemented clock enable and disable functions for >>> USB OHCI, EHCI,

Re: [U-Boot] [RFC 17/35] clk: sunxi: Add initial CLK driver for H3_H5

2018-07-16 Thread Andre Przywara
Hi, On 16/07/18 13:59, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 04:58:32PM +0530, Jagan Teki wrote: >> Add initial clock driver Allwinner for H3_H5. >> >> Implemented clock enable and disable functions for >> USB OHCI, EHCI, OTG and PHY gate and clock registers. >> >> Signed-off-by: Jagan

Re: [U-Boot] [PATCH 06/11] mx7dsabresd: Add Windows boot support for iMX7 Sabre

2018-07-16 Thread Trent Piepho
On Sat, 2018-07-14 at 00:11 +, Henry Beberman wrote: > From: Henry Beberman > > This patch adds a new bootable configuration for Windows 10 IoT Core on > the i.MX7 Dual Sabre board. > > It enables SPL on the i.MX7 Sabre in order to support the FIT load of > OP-TEE and U-Boot proper. > >

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-07-16 Thread Trent Piepho
On Mon, 2018-07-16 at 22:28 +, Henry Beberman wrote: > Hi Trent, > > > -Original Message- > > From: Trent Piepho > > Sent: Monday, July 16, 2018 10:17 AM > > To: Henry Beberman ; u- > > b...@lists.denx.de > > Cc: tr...@konsulko.com; fabio.este...@nxp.com > > Subject: Re: [U-Boot]

[U-Boot] [PATCH v3] mx25: fix the offset between the USB ports' registers

2018-07-16 Thread Martin Kaiser
From: Martin Kaiser The USBOH module on imx25 chips contains two USB controllers which are called USB OTG Controller and USB Host Controller. Each one has its EHCI root hub. The OTG Controller's EHCI registers start at offset 0, the Host Controller's registers start at offset 0x400. We set

Re: [U-Boot] [PATCH 3/3] net: zynq_gem: convert to use livetree

2018-07-16 Thread Joe Hershberger
On Mon, Jul 16, 2018 at 7:40 AM, Siva Durga Prasad Paladugu wrote: > HI Joe, > >> -Original Message- >> From: Siva Durga Prasad Paladugu >> Sent: Monday, July 16, 2018 2:32 PM >> To: 'joe.hershber...@ni.com' ; Grygorii Strashko >> >> Cc: u-boot ; Michal Simek ; >> Vipul Kumar >>

Re: [U-Boot] [PATCH v3] mx25: fix the offset between the USB ports' registers

2018-07-16 Thread Fabio Estevam
Hi Martin, On Mon, Jul 16, 2018 at 5:11 PM, Martin Kaiser wrote: > From: Martin Kaiser > > The USBOH module on imx25 chips contains two USB controllers which are > called USB OTG Controller and USB Host Controller. Each one has its EHCI > root hub. The OTG Controller's EHCI registers start at

[U-Boot] [PATCH 2/3] ARM: add RK3399 Ficus board

2018-07-16 Thread Ezequiel Garcia
This commit adds support for RK3399 Ficus board, aka ROCK960 Enterprise Edition. Following peripherals are tested and known to work: * Gigabit Ethernet * USB 2.0 * MMC Signed-off-by: Ezequiel Garcia --- arch/arm/dts/Makefile| 1 + arch/arm/dts/rk3399-ficus.dts| 564

[U-Boot] [PATCH] arm: ls102xa: Fix RGMII phy-connection-type FDT fixup

2018-07-16 Thread Brendan Shanks
In ft_fixup_enet_phy_connect_type(), use strlen() instead of sizeof() on the pointer result of phy_string_for_interface(). sizeof() was returning the size of the pointer (4 bytes), resulting in the phy-connection-type being set to "rgmi" rather than "rgmii-id". Signed-off-by: Brendan Shanks Cc:

[U-Boot] [PATCH 3/3] rockchip: rk3399: Add more instructions to the README

2018-07-16 Thread Ezequiel Garcia
This commit adds a content section and also instructions on how to create a bootable SD/MMC device for RK3399 boards. Signed-off-by: Ezequiel Garcia --- board/rockchip/evb_rk3399/README | 55 ++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] binman: ensure temp filenames don't collide

2018-07-16 Thread Stephen Warren
From: Stephen Warren The U-Boot Makefile can invoke binman multiple times in parallel. This is problematic because binman uses a static hard-coded temporary file name. If two instances of binman use that filename at the same time, one writing one reading, they may silently read the wrong content

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-07-16 Thread Henry Beberman
Hi Trent, > -Original Message- > From: Trent Piepho > Sent: Monday, July 16, 2018 10:17 AM > To: Henry Beberman ; u- > b...@lists.denx.de > Cc: tr...@konsulko.com; fabio.este...@nxp.com > Subject: Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI > from mmc > > On Sat,

Re: [U-Boot] [PATCH 04/11] spl: imx: Add optional lds to keep SPL entirely in on-chip RAM

2018-07-16 Thread Henry Beberman
Hi Trent, > -Original Message- > From: Trent Piepho > Sent: Monday, July 16, 2018 10:33 AM > To: Henry Beberman ; u- > b...@lists.denx.de > Cc: fabio.este...@nxp.com > Subject: Re: [U-Boot] [PATCH 04/11] spl: imx: Add optional lds to keep SPL > entirely in on-chip RAM > > On Sat,

[U-Boot] [PATCH 1/3] arm: dts: rockchip: add some common pin-settings to rk3399

2018-07-16 Thread Ezequiel Garcia
From: Randy Li Those pins would be used by many boards. Signed-off-by: Randy Li Signed-off-by: Heiko Stuebner Signed-off-by: Ezequiel Garcia --- arch/arm/dts/rk3399.dtsi | 55 +++- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH v5 0/5] Add support for reading memory configuration from DT at run-time

2018-07-16 Thread Michal Simek
Hi, this is series which was send by Siva. I have just put there missing Tom's tag which we got and adding more people to TO. Thanks, Michal Changes in v5: - Add Tom's tag - https://lists.denx.de/pipermail/u-boot/2018-June/332810.html - Add Tom's tag -

[U-Boot] [PATCH 0/3] RK3399: Add support for Ficus board

2018-07-16 Thread Ezequiel Garcia
Add support for a new RK3399-based board. The RK3399 Ficus board is an Enterprise Edition board manufactured by Vamrs Ltd., based on the Rockchip RK3399 SoC. While here, we extend the evb_rk3399/README document with instructions for SD/MMC boot. The devicetree file for this board has been

Re: [U-Boot] [PATCH v2 3/3] cmd: efi: Clarify calculation precedence for '&' and '?'

2018-07-16 Thread Heinrich Schuchardt
On 07/14/2018 10:53 PM, Eugeniu Rosca wrote: > Fix cppcheck complaint: > [cmd/efi.c:173]: (style) Clarify calculation precedence for '&' and '?'. > > Fixes: f1a0bafb5802 ("efi: Add a command to display the memory map") > Signed-off-by: Eugeniu Rosca > --- Reviewed-by: Heinrich Schuchardt

[U-Boot] [PATCH] board: STiH410-B2260: Set SYS_BOOTM_LEN to 16M

2018-07-16 Thread Patrice Chotard
With recent kernel v4.18-rcx, uImage becomes bigger than 8MB. Set SYS_BOOTM_LEN to 16MB, this fix the following error message: "Fix Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN" Signed-off-by: Patrice Chotard --- include/configs/stih410-b2260.h | 3 +++ 1 file

Re: [U-Boot] [PATCH] sysreset: syscon: update regmap access to syscon

2018-07-16 Thread Patrick DELAUNAY
Hi Simon > -Original Message- > From: s...@google.com On Behalf Of Simon Glass > Sent: mardi 10 juillet 2018 22:50 > > Hi Patrick, > > On 9 July 2018 at 06:59, Patrick Delaunay wrote: > > Use new API syscon_node_to_regmap in sysreset_syscon driver for > > compatible "syscon-reboot";

[U-Boot] [GIT] Pull request: u-boot-dfu (16.07.2018)

2018-07-16 Thread Lukasz Majewski
Dear Marek, The following changes since commit e76ab6705d0449a4ded5d68e5cb833e222c51595: gadget: f_thor: fix hang-up with ctrl-c (2018-07-13 11:08:10 +0200) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch changes up to

[U-Boot] [PATCH 05/25] dm: mmc: sunxi: Refactor ahb gate and clock setup

2018-07-16 Thread Jagan Teki
Existing dm code for ahb gate clock will be suitable to handle sun4i,5i,6i and 7i U-Boot specific mmc dt nodes, which are different from Linux in terms of clocks phandle notation. U-Boot DT clocks phandle follow direct ahb and clock address on node definition with specific bit position, but Linux

[U-Boot] [PATCH 03/25] ARM: dts: sun4i: Add mmc0 node for iNet 3F

2018-07-16 Thread Jagan Teki
Since SUN4I moved to DM_MMC, we need to have mmc node in iNet 3F DT otherwise it will not probe. Cc: Paul Kocialkowski Signed-off-by: Jagan Teki --- arch/arm/dts/sun4i-a10-inet-3f.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/sun4i-a10-inet-3f.dts

[U-Boot] [PATCH 11/25] ARM: dts: sun7i: Add mmc0 node for Toptech BD1078

2018-07-16 Thread Jagan Teki
Since SUN7I moved to DM_MMC, we need to have mmc node in Toptech BD1078 DT otherwise it will not probe. Cc: Paul Kocialkowski Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[U-Boot] [PATCH 06/25] dm: mmc: sunxi: Add ahb reset0 register write

2018-07-16 Thread Jagan Teki
AHB reset0 is needed for Allwinner start from sun6i, so add driver data configuration for ahb reset0 and update the register bits during probe. Cc: Jaehoon Chung Signed-off-by: Jagan Teki --- drivers/mmc/sunxi_mmc.c | 36 +--- 1 file changed, 33 insertions(+), 3

[U-Boot] [PATCH 10/25] ARM: dts: sun7i: Add mmc0 node for Mele M5

2018-07-16 Thread Jagan Teki
Since SUN7I moved to DM_MMC, we need to have mmc node in Mele M5 DT otherwise it will not probe. Cc: Ian Campbell Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-m5.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/sun7i-a20-m5.dts

Re: [U-Boot] [RFC] cmd: add bootslot command to select/boot slot based on boot counts

2018-07-16 Thread Sean Nyekjær
Hi, On 2018-07-13 14:34, Martin Hundebøll wrote: The existing bootcount feature is targeted systems with a primary, and a rescue boot setup, where the number of boot tries to the primary boot is tracked. If the number exceeds the limit, the alternative/rescue is booted. This patch adds support

Re: [U-Boot] [PATCH v2 1/3] efi: Fix truncation of constant value

2018-07-16 Thread Eugeniu Rosca
Hi Heinrich, Thanks for your review comments. See my reply below. On Mon, Jul 16, 2018 at 07:52:20AM +0200, Heinrich Schuchardt wrote: [--snip--] > > diff --git a/include/efi.h b/include/efi.h > > index 0fe15e65c06c..eb2a569fe010 100644 > > --- a/include/efi.h > > +++ b/include/efi.h > > @@

Re: [U-Boot] [Arm.ebbr-discuss] EBBR v0.6 Release Announcement

2018-07-16 Thread Michal Simek
- ancient mailing list + proper u-boot mailing list. M On 14.7.2018 00:34, Grant Likely wrote: > I'm pleased to announce the release of version 0.6 of the Embedded Base > Boot Requirements (EBBR) specification. > >     https://github.com/ARM-software/ebbr/releases/tag/v0.6 > > EBBR is a new

Re: [U-Boot] [PATCH 1/2] dm: mmc: sunxi: Add A10/A20 compatible strings

2018-07-16 Thread Jagan Teki
On Sat, Jun 30, 2018 at 5:32 AM, Adam Sampson wrote: > Commit dd27918c2252 ("dm: mmc: sunxi: Add support for driver model") > only added the allwinner,sun5i-a13-mmc compatible string for this > driver. The DM initialisation code here also works with (at least) A10 > and A20, so add the

Re: [U-Boot] [PATCH 2/2] dm: sunxi: Use DM for MMC and SATA on all A10 boards

2018-07-16 Thread Jagan Teki
On Thu, Jul 12, 2018 at 1:52 PM, Adam Sampson wrote: > On Thu, Jul 12, 2018 at 12:40:14PM +0530, Jagan Teki wrote: >> Did you test eMMC in any of A10 look it is not detecting during SD >> boot and vice-versa happened during eMMC boot. May be it's because of >> pincrtrl for U-Boot which is not

Re: [U-Boot] [PATCH v6 6/6] configs: Bananapi_M2_Ultra: enable gigabit ethernet

2018-07-16 Thread Jagan Teki
On Fri, Jul 13, 2018 at 2:15 PM, Lothar Felten wrote: > Enable the gigabit ethernet for the Bananapi M2 Ultra board. > Tested on BananaPi M2 Berry (R40), custom board (V40) > > Reviewed-by: Joe Hershberger > Signed-off-by: Lothar Felten > > --- Reviewed-by: Jagan Teki Tested-by: Jagan Teki

[U-Boot] [PATCH 02/25] ARM: dts: sun4i: Sync A10 board dts mmc0 node from Linux

2018-07-16 Thread Jagan Teki
Since sun4i-a10.dtsi synced from Linux, for compatibility sync sun4i-a10 board mmc0 nodes from Linux. Last linux commit for sun4i-a10*.dts commit 190e3138f9577885691540dca59c2f07540bde04 Merge: cafc87023b0d a7affb13b271 Author: Arnd Bergmann Date: Tue Mar 27 14:58:00 2018 +0200 Merge tag

[U-Boot] [PATCH 01/25] ARM: dts: sun4i: Sync A10 MMC nodes from Linux

2018-07-16 Thread Jagan Teki
DM_MMC need MMC nodes in dtsi need to update and follow Linux notation to support dm driven mmc driver. So sync mmc nodes for sun4i-a10 from Linux. This will also useful for CLK driver handling in future. Last linux commit for sun4i-a10.dtsi: commit 590b0c0cfc6162aeebbf43eaafb9753b56df1532

[U-Boot] [PATCH 00/25] sunxi: Enable DM_MMC for U-Boot proper

2018-07-16 Thread Jagan Teki
Enabling DM_MMC is not straight forward for Allwinner SoC's to make proper compatibility in mmc driver vs DT nodes. Existing dm code for ahb gate clock will be suitable to handle sun4i,5i,6i and 7i U-Boot specific mmc dt nodes, which are different from Linux in terms of clocks phandle notation.

[U-Boot] [PATCH 19/25] ARM: dts: sun8i: Update R40 dts(i) files from Linux

2018-07-16 Thread Jagan Teki
Update all R40 devicetree dtsi and dtsi files from Linux with below commit: commit 6a7556f604f94461ca802ab69a6dad317c014d30 Author: Jernej Skrabec Date: Tue Jul 10 22:35:09 2018 +0200 ARM: dts: sun8i: r40: Disable TCONs by default. and BPI-M2 berry commit

[U-Boot] [PATCH v2] mx25: fix the offset between the USB ports' registers

2018-07-16 Thread Martin Kaiser
From: Martin Kaiser The USBOH module on imx25 chips contains two USB controllers which are called USB OTG Controller and USB Host Controller. Each one has its EHCI root hub. The OTG Controller's EHCI registers start at offset 0, the Host Controller's registers start at offset 0x400. We set

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

2018-07-16 Thread Jagan Teki
On Wed, Jul 4, 2018 at 5:31 PM, Siva Durga Prasad Paladugu wrote: > This patch adds qspi driver support for all ZynqMP ZCU102 > boards. > > Signed-off-by: Siva Durga Prasad Paladugu > Acked-by: Michal Simek > --- > Changes for v7: > - Added "spi-flash" to compatible strings. Reviewed-by: Jagan

[U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-16 Thread Jagan Teki
Usually eMMC is default env fat device for environment, if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc device as 1. but with DM_MMC it can be more possible to probe eMMC as device 2 since for most of the sunxi platforms eMMC is configured mmc2. So update the env default device as 2 if

[U-Boot] [DO NOT MERGE PATCH 25/25] sunxi: A23/A33/V3S: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner A23/A33/V3S SoC. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 0d277f9e2b..be1ff10212 100644 --- a/arch/arm/mach-sunxi/Kconfig +++

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

2018-07-16 Thread Jagan Teki
On Wed, Jul 4, 2018 at 5:31 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 v7: > - Removed reading of mode,

Re: [U-Boot] [PATCH 00/25] sunxi: Enable DM_MMC for U-Boot proper

2018-07-16 Thread Chen-Yu Tsai
On Mon, Jul 16, 2018 at 4:19 PM, Jagan Teki wrote: > Enabling DM_MMC is not straight forward for Allwinner SoC's to > make proper compatibility in mmc driver vs DT nodes. > > Existing dm code for ahb gate clock will be suitable to handle > sun4i,5i,6i and 7i U-Boot specific mmc dt nodes, which

Re: [U-Boot] [PATCH v3 7/7] cmd: Add bind/unbind commands to bind a device to a driver from the command line

2018-07-16 Thread Michal Simek
On 11.7.2018 22:13, Simon Glass wrote: > Hi, > > On 11 July 2018 at 07:40, Tom Rini wrote: >> >> On Wed, Jul 11, 2018 at 03:31:39PM +0200, Michal Simek wrote: >>> On 11.7.2018 14:46, Tom Rini wrote: On Wed, Jul 11, 2018 at 07:57:13AM +0200, Michal Simek wrote: > On 10.7.2018 18:40, Tom

Re: [U-Boot] [PATCH v7 0/6] sunxi: sync H3, H5, A64 DTs from mainline Linux

2018-07-16 Thread Jagan Teki
On Wed, Jul 4, 2018 at 6:46 PM, Andre Przywara wrote: > This is an updated version of the series which brings the exact mainline > Linux device tree files for various Allwinner boards into U-Boot. > Apart from using the usually more correct reference DT files, this offers > the big benefit of

[U-Boot] [PATCH 14/25] sunxi: H3_H5: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner H3/H5 SoCs. Tested on H3: BPI-M2+ H5: Orangepi pc2, prime, zero+2 Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 7d1184306f..a1ee431700

[U-Boot] [PATCH 12/25] sunxi: A20: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner A20 SoC. Tested on A20-OLinuXino-LIME2. Cc: Stefan Mavrodiev Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 678e33dd40..7d1184306f 100644

[U-Boot] [PATCH 08/25] ARM: dts: sun7i: Add mmc0 node for Primo73 tablet

2018-07-16 Thread Jagan Teki
Reuse mmc0 node from sun7i-a20.dtsi like other board dts files for Primo73 tablet dts file, and drop in dts mmc0 definition. Cc: Siarhei Siamashka Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-primo73.dts | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[U-Boot] [PATCH 23/25] sunxi: Use mmc_bootdev=2 for MMC2 boot

2018-07-16 Thread Jagan Teki
With DM_MMC the mmc devices are probed as per dt status and eMMC can probed maximum device of 2, if all nodes like mmc0, mmc1 and mmc2 status are 'okay'. So update mmc_bootdev to 2 and add boot order as 2, 1, 0 devices. so-that it can to boot any identified device even if the respective device

[U-Boot] [PATCH 20/25] sunxi: V40: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner V40 SoC. Tested on BPI-M2 Ultra, BPI-M2 Berry. Cc: Lothar Felten Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index d5b0700e13..f3d7c8b67d

[U-Boot] [PATCH 09/25] ARM: dts: sun7i: Add mmc0 node for Ainol AW1

2018-07-16 Thread Jagan Teki
Since SUN7I moved to DM_MMC, we need to have mmc node in Ainol AW1 DT otherwise it will not probe. Cc: Paul Kocialkowski Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-ainol-aw1.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/sun7i-a20-ainol-aw1.dts

[U-Boot] [PATCH 17/25] mmc: sunxi: Add A83T emmc compatible

2018-07-16 Thread Jagan Teki
Add emmc compatible for A83T SoC. Cc: VishnuPatekar Signed-off-by: Jagan Teki --- drivers/mmc/sunxi_mmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index 16e94cf4b7..1e7bea4d5a 100644 --- a/drivers/mmc/sunxi_mmc.c +++

Re: [U-Boot] [UBOOT PATCH v5 0/4] spi:xilinx_spi: Modify xilinx spi driver

2018-07-16 Thread Jagan Teki
On Mon, Jul 2, 2018 at 1:41 PM, Jagan Teki wrote: > On Sat, Jun 30, 2018 at 8:15 AM, Vipul Kumar wrote: >> This series of patches do the following: >> - This patch added support to get reg base address from DTS file >> - Added rxfifo() and txfifo() functions to add the modularity >> - Added

[U-Boot] [DO NOT MERGE PATCH 24/25] sunxi: A13/A31: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner A13/A31 SoC. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index f3d7c8b67d..0d277f9e2b 100644 --- a/arch/arm/mach-sunxi/Kconfig +++

Re: [U-Boot] [ANN] U-Boot v2018.07 released

2018-07-16 Thread Michal Simek
Dear Wolfgang, On 10.7.2018 19:21, Wolfgang Denk wrote: > Dear Michal, > > In message <9ef1c57c-5bf6-4730-6b67-466709cc0...@monstr.eu> you wrote: >> >>> Here the short summary: >> >> Is this generating script somewhere? > > It's a clone of Jonathan Corbet's gitdm script; the U-Boot >

Re: [U-Boot] [PATCH v2 1/3] efi: Fix truncation of constant value

2018-07-16 Thread Heinrich Schuchardt
On 07/16/2018 08:12 AM, Eugeniu Rosca wrote: Hi Heinrich, Thanks for your review comments. See my reply below. On Mon, Jul 16, 2018 at 07:52:20AM +0200, Heinrich Schuchardt wrote: [--snip--] diff --git a/include/efi.h b/include/efi.h index 0fe15e65c06c..eb2a569fe010 100644 ---

[U-Boot] [PATCH 04/25] ARM: dts: sun4i: Add mmc0 node for iNet 3W

2018-07-16 Thread Jagan Teki
Since SUN4I moved to DM_MMC, we need to have mmc node in iNet 3W DT otherwise it will not probe. Cc: Paul Kocialkowski Signed-off-by: Jagan Teki --- arch/arm/dts/sun4i-a10-inet-3w.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/sun4i-a10-inet-3w.dts

[U-Boot] [PATCH 13/25] mmc: sunxi: Add mmc, emmc H5/A64 compatible

2018-07-16 Thread Jagan Teki
Added H5, A64 compatible for mmc and emmc. Signed-off-by: Jagan Teki --- drivers/mmc/sunxi_mmc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index beeded50af..16e94cf4b7 100644 --- a/drivers/mmc/sunxi_mmc.c +++

[U-Boot] [PATCH 21/25] fastboot: sunxi: Update fastboot mmc default device

2018-07-16 Thread Jagan Teki
Usually eMMC is default env fat device for environment, if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc device as 1. but with DM_MMC it can be more possible to probe eMMC as device 2 since for most of the sunxi platforms eMMC is configured mmc2. So update the fastboot mmc default device as

[U-Boot] [PATCH 15/25] sunxi: A64: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner A64 SoCs. Tested on BPI-M64, Amarula A64-Relic Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index a1ee431700..3b790e39dd 100644 ---

[U-Boot] [PATCH 07/25] ARM: dts: sun7i: Sync A20 MMC nodes from Linux

2018-07-16 Thread Jagan Teki
DM_MMC need MMC nodes in dtsi need to update and follow Linux notation to support dm driven mmc driver. So sync mmc nodes for sun7i-a20 from Linux. This will also useful for CLK driver handling in future. Last linux commit for sun7i-a20.dtsi: commit e3b742026b92a141b43560858b089921953a63de

[U-Boot] [PATCH 16/25] ARM: dts: sun8i: Update A83T dts(i) files from Linux

2018-07-16 Thread Jagan Teki
Update all A83T devicetree dtsi and dtsi files from Linux with below commit: commit 221cb9fd2ee3042689fe0e6613d0f34eb46a5af6 Author: Mylène Josserand Date: Fri May 4 21:05:44 2018 +0200 ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC Note: bananapi-m3 and

[U-Boot] [PATCH 18/25] sunxi: A83T: Enable DM_MMC

2018-07-16 Thread Jagan Teki
Enable DM_MMC for Allwinner A83T SoC. Tested on BPI-M3. Cc: VishnuPatekar Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 3b790e39dd..d5b0700e13 100644 ---

Re: [U-Boot] [PATCH] spi_flash: add a bunch of winbond flashes to id-table

2018-07-16 Thread Jagan Teki
On Wed, Jun 27, 2018 at 9:19 PM, Jagan Teki wrote: > On Wed, Jun 27, 2018 at 6:01 PM, Hannes Schmelzer > wrote: >> >> On 06/27/2018 01:57 PM, Jagan Teki wrote: >>> >>> On Wed, Jun 27, 2018 at 2:44 AM, Hannes Schmelzer wrote: This commit adds the following flashes to the id-table

[U-Boot] [PATCH 3/6] stm32mp1: clk: add LDTC and DSI clock support

2018-07-16 Thread Patrick Delaunay
This patch add clk_enable/clk_disable/clk_get_rate support for - DSI_PX - LTDC_PX - DSI_K (only get rate) These clocks are needed for LTDC and DSI drivers with latest device tree. Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 96

Re: [U-Boot] [PATCH 21/25] fastboot: sunxi: Update fastboot mmc default device

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:52PM +0530, Jagan Teki wrote: > Usually eMMC is default env fat device for environment, > if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc > device as 1. but with DM_MMC it can be more possible to > probe eMMC as device 2 since for most of the sunxi platforms >

Re: [U-Boot] [PATCH 23/25] sunxi: Use mmc_bootdev=2 for MMC2 boot

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:54PM +0530, Jagan Teki wrote: > With DM_MMC the mmc devices are probed as per dt status > and eMMC can probed maximum device of 2, if all nodes like > mmc0, mmc1 and mmc2 status are 'okay'. > > So update mmc_bootdev to 2 and add boot order as 2, 1, 0 > devices.

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (16.07.2018)

2018-07-16 Thread Marek Vasut
On 07/16/2018 10:17 AM, Lukasz Majewski wrote: > Dear Marek, > > > The following changes since commit > e76ab6705d0449a4ded5d68e5cb833e222c51595: > > gadget: f_thor: fix hang-up with ctrl-c (2018-07-13 11:08:10 +0200) > > are available in the git repository at: > >

[U-Boot] [UBOOT PATCH v4 4/5] arm: zynq: Add Nand flash mini u-boot configuration for zynq

2018-07-16 Thread Siva Durga Prasad Paladugu
Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint of memory. This configuration has only required nand flash support. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v3: - Rebased on latest master Changes from v2: - None Changes from v1: -

[U-Boot] [UBOOT PATCH v4 3/5] arm: zynq: Dont define SDRAM_BASE and SDRAM_SIZE in .h

2018-07-16 Thread Siva Durga Prasad Paladugu
Remove the SDRAM_BASE nad SDRAM_SIZE as it can now get these details from DT. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v3: - None Changes from v2: - None Changes from v1: - Removed commit reference from description as per comment --- include/configs/zynq_cse.h | 3 --- 1

[U-Boot] [UBOOT PATCH v4 5/5] arm: zynq: Add parallel NOR flash mini u-boot configuration for zynq

2018-07-16 Thread Siva Durga Prasad Paladugu
Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint OCM memory. This configuration only has required parallel nor flash support. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v3: - None, rebased on latest master Changes from v2: - None

Re: [U-Boot] [PATCH 06/25] dm: mmc: sunxi: Add ahb reset0 register write

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 3:32 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 03:25:08PM +0530, Jagan Teki wrote: >> On Mon, Jul 16, 2018 at 3:09 PM, Maxime Ripard >> wrote: >> > On Mon, Jul 16, 2018 at 01:49:37PM +0530, Jagan Teki wrote: >> >> AHB reset0 is needed for Allwinner start from

[U-Boot] [PATCH 4/6] stm32mp1: clk: update Ethernet clock gating

2018-07-16 Thread Patrick Delaunay
Alignment with kernel clock driver Signed-off-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c index 6202ebe..0641dfa 100644 ---

[U-Boot] [PATCH 6/6] stm32mp1: clk: support digital bypass

2018-07-16 Thread Patrick Delaunay
HSE and LSE bypass shall support both analog and digital signals. This patch add a way to select digital bypas case in the device tree and set the associated bit DIGBYP in RCC_BDCR and RCC_OCEN register during clock tree initialization. Signed-off-by: Patrick Delaunay ---

[U-Boot] [PATCH 1/6] stm32mp1: clk: define RCC_PLLNCFGR2_SHIFT macro

2018-07-16 Thread Patrick Delaunay
This patch define RCC_PLLNCFGR2_SHIFT to reuse it in the pll function for set rate. Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c index

[U-Boot] [PATCH 5/6] stm32mp1: clk: add ADC clock gating

2018-07-16 Thread Patrick Delaunay
Add ADC clock gating, that may be used by STM32 ADC. Signed-off-by: Fabrice Gasnier Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c index 0641dfa..fc97642 100644

Re: [U-Boot] [PATCH] mtd: add spi flash id s25fl128l

2018-07-16 Thread Jagan Teki
On Wed, Jul 11, 2018 at 1:08 PM, Clément Laigle wrote: > From: Clement Laigle > > Add support for SPANSION s25fl128l 256k and 64k > > Signed-off-by: Clément Laigle > --- > drivers/mtd/spi/spi_flash_ids.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi/spi_flash_ids.c

Re: [U-Boot] [PATCH 3/3] net: zynq_gem: convert to use livetree

2018-07-16 Thread Siva Durga Prasad Paladugu
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Thursday, July 12, 2018 12:26 AM > To: Siva Durga Prasad Paladugu ; Grygorii Strashko > > Cc: u-boot ; Joe Hershberger > ; Michal Simek ; Vipul > Kumar > Subject: Re: [U-Boot] [PATCH 3/3] net:

[U-Boot] [PATCH] arm64: zynqmp: Changed zynqmp command to handle subcommands with U_BOOT_CMD_MKENT

2018-07-16 Thread Michal Simek
From: Vipul Kumar This patch changed zynqmp command to handle subcommands with U_BOOT_CMD_MKENT. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek --- board/xilinx/zynqmp/cmds.c | 65 +- 1 file changed, 35 insertions(+), 30 deletions(-) diff

Re: [U-Boot] [PATCH 08/25] ARM: dts: sun7i: Add mmc0 node for Primo73 tablet

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:39PM +0530, Jagan Teki wrote: > Reuse mmc0 node from sun7i-a20.dtsi like other board > dts files for Primo73 tablet dts file, and drop in dts > mmc0 definition. > > Cc: Siarhei Siamashka > Signed-off-by: Jagan Teki > --- > arch/arm/dts/sun7i-a20-primo73.dts | 20

Re: [U-Boot] [PATCH 00/25] sunxi: Enable DM_MMC for U-Boot proper

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 04:35:09PM +0800, Chen-Yu Tsai wrote: > On Mon, Jul 16, 2018 at 4:19 PM, Jagan Teki > wrote: > > Enabling DM_MMC is not straight forward for Allwinner SoC's to > > make proper compatibility in mmc driver vs DT nodes. > > > > Existing dm code for ahb gate clock will be

Re: [U-Boot] [PATCH 06/25] dm: mmc: sunxi: Add ahb reset0 register write

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 3:09 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 01:49:37PM +0530, Jagan Teki wrote: >> AHB reset0 is needed for Allwinner start from sun6i, so >> add driver data configuration for ahb reset0 and update >> the register bits during probe. >> >> Cc: Jaehoon Chung >>

Re: [U-Boot] [PATCH 01/25] ARM: dts: sun4i: Sync A10 MMC nodes from Linux

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 3:00 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 01:49:32PM +0530, Jagan Teki wrote: >> DM_MMC need MMC nodes in dtsi need to update and >> follow Linux notation to support dm driven mmc driver. >> So sync mmc nodes for sun4i-a10 from Linux. This will >> also useful

Re: [U-Boot] [PATCH] sf: add Macronix mx25l1633e entry

2018-07-16 Thread Jagan Teki
On Thu, Jul 5, 2018 at 12:57 PM, wrote: > From: Ludwig Zenz > > Add support for the Macronix mx25l1633e nor flash. (Tested on a imx6 board) > > Signed-off-by: Ludwig Zenz > --- Applied to u-boot-spi/master ___ U-Boot mailing list

Re: [U-Boot] [PATCH 01/25] ARM: dts: sun4i: Sync A10 MMC nodes from Linux

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:32PM +0530, Jagan Teki wrote: > DM_MMC need MMC nodes in dtsi need to update and > follow Linux notation to support dm driven mmc driver. > So sync mmc nodes for sun4i-a10 from Linux. This will > also useful for CLK driver handling in future. > > Last linux commit

Re: [U-Boot] [PATCH 06/25] dm: mmc: sunxi: Add ahb reset0 register write

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:37PM +0530, Jagan Teki wrote: > AHB reset0 is needed for Allwinner start from sun6i, so > add driver data configuration for ahb reset0 and update > the register bits during probe. > > Cc: Jaehoon Chung > Signed-off-by: Jagan Teki > --- > drivers/mmc/sunxi_mmc.c |

Re: [U-Boot] [PATCH v1 1/1] microblaze: Cosmetic changes in Microblaze related files

2018-07-16 Thread Michal Simek
On 14.7.2018 23:04, Shreenidhi Shedi wrote: > Signed-off-by: Shreenidhi Shedi > --- > > Changes in v1: > - Coding style issues > - Use of extra spaces > - Space before bracket > - Successive empty lines > - No new line after end of function > - No space given where

Re: [U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 01:49:53PM +0530, Jagan Teki wrote: > Usually eMMC is default env fat device for environment, > if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc > device as 1. but with DM_MMC it can be more possible to > probe eMMC as device 2 since for most of the sunxi platforms >

Re: [U-Boot] [PATCH 08/25] ARM: dts: sun7i: Add mmc0 node for Primo73 tablet

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 3:10 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 01:49:39PM +0530, Jagan Teki wrote: >> Reuse mmc0 node from sun7i-a20.dtsi like other board >> dts files for Primo73 tablet dts file, and drop in dts >> mmc0 definition. >> >> Cc: Siarhei Siamashka >> Signed-off-by:

Re: [U-Boot] [PATCH 06/25] dm: mmc: sunxi: Add ahb reset0 register write

2018-07-16 Thread Maxime Ripard
On Mon, Jul 16, 2018 at 03:25:08PM +0530, Jagan Teki wrote: > On Mon, Jul 16, 2018 at 3:09 PM, Maxime Ripard > wrote: > > On Mon, Jul 16, 2018 at 01:49:37PM +0530, Jagan Teki wrote: > >> AHB reset0 is needed for Allwinner start from sun6i, so > >> add driver data configuration for ahb reset0 and

Re: [U-Boot] [PATCH 21/25] fastboot: sunxi: Update fastboot mmc default device

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 3:16 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 01:49:52PM +0530, Jagan Teki wrote: >> Usually eMMC is default env fat device for environment, >> if MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc >> device as 1. but with DM_MMC it can be more possible to >>

[U-Boot] [UBOOT PATCH v4 1/5] lib: fdtdec: Update ram_base to store ram start adddress

2018-07-16 Thread Siva Durga Prasad Paladugu
This patch updates the ram_base to store the start address of the first bank DRAM and the use this ram_base to calculate ram_top properly. This patch fixes the erroneous calculation of ram_top incase of non zero ram start address. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal

[U-Boot] [UBOOT PATCH v4 2/5] lib: fdtdec: Rename routine fdtdec_setup_memory_size()

2018-07-16 Thread Siva Durga Prasad Paladugu
This patch renames the routine fdtdec_setup_memory_size() to fdtdec_setup_mem_size_base() as it now fills the mem base as well along with size. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v3: - Separted the rename patch --- arch/arm/mach-mvebu/arm64-common.c

Re: [U-Boot] [PATCH] snow: set fdtfile

2018-07-16 Thread Guillaume Gardet
Hi, Le 13/07/2018 à 19:20, Peter Robinson a écrit : On Thu, Jun 14, 2018 at 9:34 PM, Guillaume GARDET wrote: Needed to boot with EFI distro boot. Signed-off-by: Guillaume GARDET Cc: Akshay Saraswat Cc: Tom Rini --- include/configs/snow.h | 3 +++ 1 file changed, 3 insertions(+) diff

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

2018-07-16 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Monday, July 16, 2018 2:00 PM > To: Siva Durga Prasad Paladugu > Cc: U-Boot Mailing List ; Michal Simek > > Subject: Re: [U-Boot] [PATCH v7 1/2] spi: zynqmp_gqspi: Add support for > ZynqMP qspi

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

2018-07-16 Thread Jagan Teki
On Mon, Jul 16, 2018 at 2:19 PM, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Monday, July 16, 2018 2:00 PM >> To: Siva Durga Prasad Paladugu >> Cc: U-Boot Mailing List ; Michal Simek >> >> Subject:

[U-Boot] [PATCH 2/6] stm32mp1: clk: add common function pll_get_fvco

2018-07-16 Thread Patrick Delaunay
the function compute the VCO PLL freq, used in - stm32mp1_read_pll_freq() - pll_set_rate() Signed-off-by: Patrick Delaunay # Conflicts: # drivers/clk/clk_stm32mp1.c --- drivers/clk/clk_stm32mp1.c | 91 +++--- 1 file changed, 61 insertions(+), 30

  1   2   >