[U-Boot] [PATCH 3/3] efi_loader: event signaling in ExitBootServices

2019-06-06 Thread Heinrich Schuchardt
ExitBootServices() has to stop timer related activity before calling the events of the EFI_EVENT_GROUP_EXIT_BOOT_SERVICES event group. But our current implementation was stopping all other events. All events have to observe the task priority level. Signed-off-by: Heinrich Schuchardt --- include

[U-Boot] [PATCH 2/3] efi_loader: SignalEvent for event in signaled state

2019-06-06 Thread Heinrich Schuchardt
If an event is already in the signaled state, SignalEvent should not queue the notification function but simply return EFI_SUCCESS. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_l

[U-Boot] [PATCH 1/3] efi_loader: RegisterProtocolNotify event signaling

2019-06-06 Thread Heinrich Schuchardt
In a following patch efi_signal_event() will only queue an event if it is not signaled. Set the is_signaled status to false before signaling the event. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/efi_boo

[U-Boot] [PATCH 0/3] efi_loader: correct event signaling

2019-06-06 Thread Heinrich Schuchardt
This patch series fixes problems in signaling events. When calling SignalEvent() with an event in signaled state only EFI_SUCCESS shall be returned without any side effects. In ExitBootServices() only timers shall be stopped not all events. Heinrich Schuchardt (3): efi_loader: RegisterProtocol

Re: [U-Boot] [PATCH v2] pci: Avoid assigning PCI resources that are below 0x1000

2019-06-06 Thread Stefan Roese
On 05.06.19 16:26, Bin Meng wrote: commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from zero address") only moved the bus lower address to 0x1000 if the given bus start address is zero. The comment said 0x1000 is a reasonable starting value, hence we'd better apply the same adjustment

Re: [U-Boot] [PATCH] clk: sifive: fu540-prci: align primary DT match string to the DT bindings

2019-06-06 Thread Paul Walmsley
Hello Bin, On Fri, 31 May 2019, Paul Walmsley wrote: > On Thu, 30 May 2019, Bin Meng wrote: > > > On Sun, May 26, 2019 at 5:13 PM Paul Walmsley > > wrote: > > > > > diff --git a/drivers/clk/sifive/fu540-prci.c > > > b/drivers/clk/sifive/fu540-prci.c > > > index 2d47ebc6b1..d79d1a5351 100644 >

Re: [U-Boot] [PATCH v7 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-06 Thread Lokesh Vutla
On 06/06/19 7:24 PM, Faiz Abbas wrote: > The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific > to arasan/zynq controllers. Add the same to sdhci.h. > > Also create a common API to set UHS timings in HOST_CONTROL2. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini > Te

Re: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Tom Rini
On Thu, Jun 06, 2019 at 05:08:16PM +0530, Keerthy wrote: > > > On 02/05/19 11:14 AM, Keerthy wrote: > > > > > >On 30/04/19 11:57 AM, Keerthy wrote: > >> > >> > >>On 30/04/19 11:54 AM, Keerthy wrote: > >>>Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem > >>>(CPSW > >>>NUSS).

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

2019-06-06 Thread Tom Rini
On Wed, Jun 05, 2019 at 01:50:59PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit 6d93d245c148f10f15724601650f

Re: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc4 (2)

2019-06-06 Thread Tom Rini
On Wed, Jun 05, 2019 at 07:58:15PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 8a802a2eefd36865eaa3d927d1db7af63bb2d922: > > Merge tag 'rockchip-for-v2019.07-rc3' of > git://git.denx.de/u-boot-rockchip (2019-05-31 07:17:09 -0400) > > are available in the Git reposito

[U-Boot] Did anything ever happen with mvmdio / marvell xsmi support?

2019-06-06 Thread Nevo Hed
Hi All Last I see is version 4 of a patchset that is almost a year old with some change requests within - [PATCH v4 1/2] dm: mdio: add a uclass for MDIO (https://lists.denx.de/pipermail/u-boot/2018-July/334118.html) - [PATCH v4 2/2] mdio: add marvell MDIO driver (https://lists.denx.de/pipermail/u

[U-Boot] [PATCH] MAINTAINERS: change Ramon Fried email address

2019-06-06 Thread Ramon Fried
Change my email address, too many mails gets to my private mail, created specific email account just for developmement. Signed-off-by: Ramon Fried --- MAINTAINERS| 2 +- board/qualcomm/dragonboard410c/MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletio

Re: [U-Boot] [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT

2019-06-06 Thread Vagrant Cascadian
On 2019-06-04, Vagrant Cascadian wrote: > On 2019-05-17, Marek Vasut wrote: Retried with a build from: https://github.com/marex/u-boot-imx/tree/imx-dm commit:7a381bb7edfd43aefc1dbfea6d574234ef9d7771 Which contains the two patchsets needed. > I have two oustanding issues... with some files

[U-Boot] [PATCH] arm: imx8: factor out uart init code

2019-06-06 Thread Anatolij Gustschin
New imx8 boards started adding duplicated UART init code. Factor out this to common function sc_pm_setup_uart(). Signed-off-by: Anatolij Gustschin Cc: Peng Fan --- arch/arm/include/asm/arch-imx8/sys_proto.h | 2 ++ arch/arm/mach-imx/imx8/Makefile| 2 +- arch/arm/mach-imx/imx8/misc

[U-Boot] [PATCH] net: eth-uclass: No warning for using ROM MAC

2019-06-06 Thread Trent Piepho
Using a ROM burned in MAC address is the normal way devices that have this ability will store their MAC. It's normal operation and a warning message isn't appropriate. Make it a debug message, as it is in non-DM_ETH code paths that do this. Signed-off-by: Trent Piepho --- net/eth-uclass.c | 3

[U-Boot] ARMv8 switching CPUs into EL1

2019-06-06 Thread Mels van Broekhoven
L.S.! On a Xilinx ZynqMP-based platform with u-boot running in Aarch64 mode in EL2, after booting a Linux kernel in EL1 using CONFIG_ARMV8_SWITCH_TO_EL1, Linux throws a warning that the CPUs have started in inconsistent modes ("CPU: CPUs started in inconsistent modes"). Indeed, only the first cor

Re: [U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-06-06 Thread Adam Ford
On Thu, Jun 6, 2019 at 10:50 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > This series enables the driver model for NAND on davinci da850 boards. > > The first patch is a simple tweak for an unnecessarily exported function. > > The second patch extends the NAND driver to support

[U-Boot] [PATCH 4/4] davinci: da850-evm: enable driver model for NAND

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-evm. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Bartosz G

[U-Boot] [PATCH 3/4] davinci: omapl138-lcdk: enable driver model for NAND

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-lcdk. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Bartosz

[U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series enables the driver model for NAND on davinci da850 boards. The first patch is a simple tweak for an unnecessarily exported function. The second patch extends the NAND driver to support both legacy and driver-model users. For now we don't parse the device-tr

[U-Boot] [PATCH 1/4] nand: davinci: make davinci_nand_init() static

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-

[U-Boot] [PATCH 2/4] nand: davinci: add support for driver model

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci NAND driver to support the driver model. For now this doesn't add any device-tree parsing due to the fact that we can't access the actual nand node on the device-tree - it's a subnode of the aemif device and we don't have an aemif driver on davinci at

[U-Boot] [PATCH v7 06/15] arm: dts: k3: Add phy specific properties to SD card node

2019-06-06 Thread Faiz Abbas
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 Tested-by: Lokesh Vutla --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 +++ arch/arm/dts/k3-am65

[U-Boot] [PATCH v7 07/15] mmc: sdhci: Make set_ios_post() return int

2019-06-06 Thread Faiz Abbas
Make set_ios_post() return int to faciliate error handling in platform drivers. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- drivers/mmc/sdhci.c | 2 +- drivers/mmc/xenon_sdhci.c | 4 +++- include/sdhci.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --

[U-Boot] [PATCH v7 15/15] configs: am65x_evm_a53: Add Support for creating GPT partitions

2019-06-06 Thread Faiz Abbas
Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 5fd9aacd68..43d2cc

[U-Boot] [PATCH v7 12/15] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-06-06 Thread 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 Tested-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/am654_s

[U-Boot] [PATCH v7 08/15] mmc: am654_sdhci: Add Support for PHY

2019-06-06 Thread Faiz Abbas
Add support in the driver for handling phy specific registers. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/Kconfig | 1 + drivers/mmc/am654_sdhci.c | 223 +- 2 files changed, 218 insertions(+), 6 deletions(

[U-Boot] [PATCH v7 09/15] configs: am65x_evm: Enable CONFIG_REGMAP

2019-06-06 Thread Faiz Abbas
Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 ++ configs/am65x_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defc

[U-Boot] [PATCH v7 10/15] mmc: am654_sdhci: Use f_max in mmc_config

2019-06-06 Thread Faiz Abbas
Use f_max provided in mmc_config and remove it from the platform specific data. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index cd7ad03

[U-Boot] [PATCH v7 13/15] configs: am65x: Add configs to support environment in eMMC

2019-06-06 Thread Faiz Abbas
Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 5 ++--- include/configs/am65x_evm.h | 10 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configs/am65x_evm_a5

[U-Boot] [PATCH v7 14/15] am65x_evm: Add Support for creating a filesystem GPT partition in eMMC

2019-06-06 Thread Faiz Abbas
Add Support for creating a GPT partition for the filesystem in eMMC. The filesystem is created in the user partition (partition 0). Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- include/configs/am65x_evm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/incl

[U-Boot] [PATCH v7 04/15] mmc: sdhci: Add support for sdhci-caps-mask

2019-06-06 Thread Faiz Abbas
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 Tested-by: Lokesh Vutla --- drivers/mmc/sdhci.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletion

[U-Boot] [PATCH v7 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-06 Thread Faiz Abbas
The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific to arasan/zynq controllers. Add the same to sdhci.h. Also create a common API to set UHS timings in HOST_CONTROL2. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/sdhci.c | 28

[U-Boot] [PATCH v7 03/15] regmap: Add API regmap_init_mem_index()

2019-06-06 Thread Faiz Abbas
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 Tested-by: Lokesh Vutla --- drivers/core/regmap.c | 42

[U-Boot] [PATCH v7 05/15] mmc: sdhci: Make sdhci_set_clock() non static

2019-06-06 Thread Faiz Abbas
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 driver. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokes

[U-Boot] [PATCH v7 02/15] mmc: am654_sdhci: Remove quirks

2019-06-06 Thread Faiz Abbas
The host controller works perfectly well without having to add any quirks. Remove them. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhc

[U-Boot] [PATCH v7 01/15] arm64: dts: k3: Sync sdhci0 node from kernel and change driver name

2019-06-06 Thread Faiz Abbas
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. This also syncs the main_pmx0 node as a side effect. Also change the name of the driver to match the compatible in ke

[U-Boot] [PATCH v7 00/15] Add Support for eMMC in Am65x-evm

2019-06-06 Thread Faiz Abbas
Add Support for eMMC in TI's AM65x-evm. The series starts by syncing the sdhci0 node from the kernel. Then it adds APIs and changes to the driver required for handling the driver's integrated phy. The current maximum supported speed is DDR52. Higher speeds and tuning support will be added in a subs

Re: [U-Boot] [PATCH v6 00/15] Add Support for eMMC in Am65x-evm

2019-06-06 Thread Faiz Abbas
Hi, On 05/06/19 9:16 AM, Lokesh Vutla wrote: > > > On 04/06/19 11:57 PM, Andreas Dannenberg wrote: >> On Tue, Jun 04, 2019 at 09:32:21PM +0530, Lokesh Vutla wrote: >>> >>> >>> On 04/06/19 6:46 PM, Faiz Abbas wrote: Add Support for eMMC in TI's AM65x-evm. The series starts by syncing th

[U-Boot] [PATCH v2] armv8: ls1046afrwy: Add support for LS1046AFRWY platform

2019-06-06 Thread Vabhav Sharma
LS1046AFRWY board supports LS1046A family SoCs. This patch add base support for this board. Board support's 4GB ddr memory, i2c, micro-click module,microSD card, serial console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and serdes interface to support two x1gen3 pcie interface.

[U-Boot] [PATCH v5 5/5] configs: am65x_evm_a53: enable networking

2019-06-06 Thread Keerthy
From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_de

[U-Boot] [PATCH v5 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-06-06 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw and its components along with scm_conf node to have ethernet functional. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/dts/k3-am65.dtsi| 2 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi |

[U-Boot] [PATCH v5 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Keerthy
From: Grygorii Strashko Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface (R

[U-Boot] [PATCH v5 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-06-06 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw nuss pinmux and phy defs required by cpsw. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59 1 file changed, 59 insertions(+) diff --git a/arch/arm/dt

[U-Boot] [PATCH v5 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Keerthy
Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface (RGMII), Reduced Media Indep

[U-Boot] [PATCH v5 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-06-06 Thread Keerthy
Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- drivers/net/ti/cpsw_mdio.c | 4 ++-- drivers/net/ti/cpsw_mdio.h | 2 +- 2 files chan

Re: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Keerthy
On 02/05/19 11:14 AM, Keerthy wrote: On 30/04/19 11:57 AM, Keerthy wrote: On 30/04/19 11:54 AM, Keerthy wrote: Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configur

[U-Boot] Kconfig options for several boards

2019-06-06 Thread Linder Pascal
Hi everyone, I would like to turn on configurations for several Keymile boards, which are all using the Kirkwood architecture. Now, I do not want to change every defconfig file one after the other. Until now, we have used a common header file, but with the conversion to Kconfig another method

Re: [U-Boot] [PATCH 3/4 v2] test: dm: Add a test for PCI Enhanced Allocation

2019-06-06 Thread Alexandru Marginean
Hi Bin, On 6/5/2019 1:05 PM, Bin Meng wrote: > Hi Alex, > > On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: >> >> This test is built on top of the existing swap_case driver. It adds EA >> capability structure support to swap_case and uses that to map BARs. >> BAR1 works as it used to, swap

Re: [U-Boot] [PATCH 1/1] colibri imx6/t20: enable CONFIG_SYS_WHITE_ON_BLACK

2019-06-06 Thread Marcel Ziswiler
On Thu, 2019-05-30 at 18:00 +0300, Igor Opaniuk wrote: > From: Igor Opaniuk > > Enable CONFIG_SYS_WHITE_ON_BLACK by default for DM_VIDEO enabled > configurations, where env("splashimage") is used for showing Toradex > boot logo. > > Signed-off-by: Igor Opaniuk Reviewed-by: Marcel Ziswiler >

[U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565

2019-06-06 Thread Keerthy
Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565. These were missing and the Makefile already assumes them to be defined. Add the corresponding SPL config options. This enables the regulator support in SPL. Signed-off-by: Keerthy --- Changes in v3: * As per Tom's comments added the SPL_

Re: [U-Boot] [PATCH 1/1] colibri_imx7: fastboot support

2019-06-06 Thread Marcel Ziswiler
On Fri, 2019-05-31 at 13:19 +0300, Igor Opaniuk wrote: > From: Igor Opaniuk > > Enable fastboot support (including "fastboot oem" subset of > commands). > > Signed-off-by: Igor Opaniuk Reviewed-by: Marcel Ziswiler > --- > configs/colibri_imx7_emmc_defconfig | 8 > 1 file changed, 8

[U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565

2019-06-06 Thread Keerthy
Add SPL_PMIC configs for palmas/lp873x/lp87565. These were missing and the Makefile already assumes them to be defined. Add the corresponding SPL config options. This enables the pmics in SPL. Signed-off-by: Keerthy --- Changes in v3: * As per Tom's comments added the SPL_* configs instead of

Re: [U-Boot] [PATCH 3/4 v2] test: dm: Add a test for PCI Enhanced Allocation

2019-06-06 Thread Bin Meng
Hi Alex, On Thu, Jun 6, 2019 at 3:38 PM Alexandru Marginean wrote: > > Hi Bin, > > On 6/5/2019 1:05 PM, Bin Meng wrote: > > Hi Alex, > > > > On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean > > wrote: > >> > >> This test is built on top of the existing swap_case driver. It adds EA > >> capability

Re: [U-Boot] [PATCH] usb: dwc3: Handle case where setup_phy is not needed

2019-06-06 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Siva Durga Prasad Paladugu > Sent: Tuesday, May 28, 2019 3:36 PM > To: Michal Simek ; Lukasz Majewski > > Cc: u-boot@lists.denx.de; ma...@denx.de; jjhib...@ti.com; > s...@chromium.org; patrick.delau...@st.com > Subject: RE: [PATCH] usb: dwc3: Handle case w

Re: [U-Boot] [PATCH v8 2/3] rockchip: rk3399: Add Rockpro64 board support

2019-06-06 Thread Paul Kocialkowski
Hi, On Sat, 2019-06-01 at 10:41 +0800, Kever Yang wrote: > > On 05/29/2019 04:09 PM, Kever Yang wrote: > > On 05/17/2019 06:29 PM, Jagan Teki wrote: > > > Add initial support for Rockpro64 board. > > > > > > Specification > > > - Rockchip RK3399 > > > - 2/4GB Dual-Channel LPDDR3 > > > - SD card

[U-Boot] [PATCH v3] riscv: add Kconfig entries for the F and D ISA extensions support

2019-06-06 Thread Eric Lin
This patch adds Kconfig entries for the F (Single-Precision) and D (Double-Precision) floating point instruction-set extensions. Signed-off-by: Eric Lin --- Changes for v2: - Grammatical correction in commit message "adds" - Fixed the config name to indicate both F and D Changes for v3:

[U-Boot] [PATCH 2/2] i.MX6: nand: add nandbcb command for imx

2019-06-06 Thread Shyam Saini
Writing/updating boot image in nand device is not straight forward in i.MX6 platform and it requires boot control block(BCB) to be configured. It becomes difficult to use uboot 'nand' command to write BCB since it requires platform specific attributes need to be taken care of. It is even difficul

[U-Boot] [PATCH 1/2] arm: i.MX: Add CMD_NANDBCB Kconfig entry

2019-06-06 Thread Shyam Saini
Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6 platform with NAND_MXS defined. Signed-off-by: Jagan Teki Signed-off-by: Shyam Saini --- Hi, This patch series is based on feedback gathered from this [1] discussion and [2] patch submitted by Stefan. [1] https://patchwork.ozlabs.org/pa

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Lukasz Majewski
On Thu, 6 Jun 2019 10:23:06 +0200 Marek Vasut wrote: > On 6/6/19 10:16 AM, Lukasz Majewski wrote: > > On Thu, 6 Jun 2019 10:08:04 +0200 > > Marek Vasut wrote: > > > >> On 6/6/19 10:00 AM, Lukasz Majewski wrote: > >>> On Thu, 6 Jun 2019 09:26:04 +0200 > >>> Marek Vasut wrote: > >>> > >

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Marek Vasut
On 6/6/19 10:16 AM, Lukasz Majewski wrote: > On Thu, 6 Jun 2019 10:08:04 +0200 > Marek Vasut wrote: > >> On 6/6/19 10:00 AM, Lukasz Majewski wrote: >>> On Thu, 6 Jun 2019 09:26:04 +0200 >>> Marek Vasut wrote: >>> On 6/6/19 9:09 AM, Lukasz Majewski wrote: > On Wed, 5 Jun 2019 18:24:

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Lukasz Majewski
On Thu, 6 Jun 2019 10:08:04 +0200 Marek Vasut wrote: > On 6/6/19 10:00 AM, Lukasz Majewski wrote: > > On Thu, 6 Jun 2019 09:26:04 +0200 > > Marek Vasut wrote: > > > >> On 6/6/19 9:09 AM, Lukasz Majewski wrote: > >>> On Wed, 5 Jun 2019 18:24:11 +0200 > >>> Lukasz Majewski wrote: > >>>

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Marek Vasut
On 6/6/19 10:00 AM, Lukasz Majewski wrote: > On Thu, 6 Jun 2019 09:26:04 +0200 > Marek Vasut wrote: > >> On 6/6/19 9:09 AM, Lukasz Majewski wrote: >>> On Wed, 5 Jun 2019 18:24:11 +0200 >>> Lukasz Majewski wrote: >>> Hi Marek, > On Sun, 12 May 2019 23:34:52 +0200 > Marek Va

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-06 Thread Marek Vasut
On 6/6/19 9:54 AM, Peng Fan wrote: [...] We would not introduce cypto driver in SPL stage, that means HAB FIT and AHAB container needs to be dropped when SPL loading other images. ROM already provides API for bootloader to authenticate images, introducing

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Lukasz Majewski
On Thu, 6 Jun 2019 09:26:04 +0200 Marek Vasut wrote: > On 6/6/19 9:09 AM, Lukasz Majewski wrote: > > On Wed, 5 Jun 2019 18:24:11 +0200 > > Lukasz Majewski wrote: > > > >> Hi Marek, > >> > >>> On Sun, 12 May 2019 23:34:52 +0200 > >>> Marek Vasut wrote: > >>> > Use CONFIG_IS_ENABLE

[U-Boot] [PATCH v2] lib: Makefile: build fdtdec_common.c when OF_LIBFDT selected

2019-06-06 Thread Peng Fan
When build SPL_OF_PLATDATA on i.MX6, meet issue the fdtdec_get_int not defined, however fdtdec.c will use fdtdec_get_int, so let's compile fdtdec_common.c when OF_LIBFDT selected. Since there is also SPL_OF_LIBFDT, so need to use CONFIG_$(SPL_TPL_)OF_LIBFDT. Signed-off-by: Peng Fan --- lib/Make

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-06 Thread Peng Fan
> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX > container format file > > On 6/6/19 4:33 AM, Peng Fan wrote: > >> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading > >> i.MX container format file > >> > >> On Wed, Jun 05, 2019 at 03:24:40PM +0200

[U-Boot] [PATCH] aspeed/watchdog: Correct timeout value

2019-06-06 Thread Joel Stanley
The driver was using milliseconds and programming it into a register which takes ticks of the watchdog clock, which runs at 1MHz. This meant we were off by 1000 with the desired value. When 06985289d452 ("watchdog: Implement generic watchdog_reset() version") was added the aspeed board would leave

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-06 Thread Marek Vasut
On 6/6/19 4:33 AM, Peng Fan wrote: >> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX >> container format file >> >> On Wed, Jun 05, 2019 at 03:24:40PM +0200, Marek Vasut wrote: >>> On 6/5/19 5:03 AM, Peng Fan wrote: >>> [...] It is not duplication of FIT. Contai

Re: [U-Boot] i.MX8MM mapped register access causes crashes

2019-06-06 Thread Peng Fan
> Subject: Re: [U-Boot] i.MX8MM mapped register access causes crashes > > On 06.06.19 03:58, Peng Fan wrote: > > > >> Subject: Re: [U-Boot] i.MX8MM mapped register access causes crashes > >> > >> On Wed, Jun 5, 2019 at 10:52 PM Peng Fan wrote: > >> > >>> You need to pass an arg after `md 0x302d00

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Marek Vasut
On 6/6/19 9:09 AM, Lukasz Majewski wrote: > On Wed, 5 Jun 2019 18:24:11 +0200 > Lukasz Majewski wrote: > >> Hi Marek, >> >>> On Sun, 12 May 2019 23:34:52 +0200 >>> Marek Vasut wrote: >>> Use CONFIG_IS_ENABLED(WDT) to permit use of WDT in SPL without DM, while the full U-Boot can use

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-06 Thread Peng Fan
> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX > container format file > > On Thu, 6 Jun 2019 02:33:14 + > Peng Fan wrote: > > > > Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support > > > loading i.MX container format file > > > > > > On Wed, Jun 05,

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-06 Thread Lukasz Majewski
On Wed, 5 Jun 2019 18:24:11 +0200 Lukasz Majewski wrote: > Hi Marek, > > > On Sun, 12 May 2019 23:34:52 +0200 > > Marek Vasut wrote: > > > > > Use CONFIG_IS_ENABLED(WDT) to permit use of WDT in SPL without DM, > > > while the full U-Boot can use rich DM/DT WDT driver. > > > > > > Signed-off

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-06 Thread Lukasz Majewski
On Thu, 6 Jun 2019 02:33:14 + Peng Fan wrote: > > Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support > > loading i.MX container format file > > > > On Wed, Jun 05, 2019 at 03:24:40PM +0200, Marek Vasut wrote: > > > On 6/5/19 5:03 AM, Peng Fan wrote: > > > [...] > > > > It