Re: [U-Boot] sf probe failed on Intel DNV-NS platform

2019-06-10 Thread Bin Meng
Hi Hilbert, On Tue, Jun 11, 2019 at 2:40 PM Hilbert Tu(杜睿哲_Pegatron) wrote: > > Hi Bin > > I got following errors when using latest U-Boot version. I am not sure if I > have made wrong configuration as attached file. Do you have any idea? > ==

[U-Boot] [PATCH v3] net: phy: cortina: Use block layer to read from mmc

2019-06-10 Thread Yinbo Zhu
This patch is to use block layer to read from mmc in cortina Signed-off-by: Yinbo Zhu --- Change in v2: Update the commit information. Change in v3: Limit patch work when BLK enabled. drivers/net/phy/cortina.c | 5 + 1 file changed, 5 insertions(+) diff --gi

Re: [U-Boot] [EXT] Re: [PATCH v1] net: use block layer in net driver

2019-06-10 Thread Yinbo Zhu
> -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: 2019年6月10日 23:41 > To: Yinbo Zhu > Cc: York Sun ; u-boot@lists.denx.de; Xiaobo Xie > ; Jiafei Pan ; Ran Wang > ; Y.b. Lu > Subject: Re: [EXT] Re: [U-Boot] [PATCH v1] net: use block layer in net drive

Re: [U-Boot] [U-Boot-Board-Maintainers] [ANN] U-Boot v2019.07-rc4 released

2019-06-10 Thread Lukasz Majewski
Hi Tom, > Hey all, > > It's release day and here is v2019.07-rc4. At this point, I know we > have some regression fixes for i.MX that are coming, and I'm > expecting a fix to the build time failure for tinker-rk3288. > > To repeat myself about DM migration deadlines, first, let me say > again,

Re: [U-Boot] [PATCH V2 2/2] watchdog: imx: Add DM support

2019-06-10 Thread Heiko Schocher
Hello Marek, Am 09.06.2019 um 03:46 schrieb Marek Vasut: Add DM and DT probing support to iMX watchdog driver. This should allow boards to move over to this driver, enable SYSRESET_WATCHDOG to handle cpu_reset() if required. Signed-off-by: Marek Vasut Cc: Peng Fan Cc: Stefano Babic --- V2: N

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-10 Thread Marek Vasut
On 6/11/19 3:17 AM, Peng Fan wrote: >> partitions >> >> On 6/10/19 7:59 AM, Peng Fan wrote: Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions Hi Marek, Peng, On 03/06/19 12:04 PM, Peng Fan wrote: > >> Subject: [PATCH] mmc: Avoid

Re: [U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-06-10 Thread Marek Vasut
On 6/11/19 3:05 AM, Ley Foon Tan wrote: > On Mon, Jun 10, 2019 at 8:07 PM Marek Vasut wrote: >> >> On 6/10/19 8:07 AM, Ley Foon Tan wrote: >> [...] >> >> [...] >> >>> @@ -523,8 +527,20 @@ static int designware_i2c_xfer(struct udevice >>> *bus, struct i2c_msg *msg, >>> static

Re: [U-Boot] [U-Boot-Board-Maintainers] [ANN] U-Boot v2019.07-rc4 released

2019-06-10 Thread Marek Vasut
On 6/11/19 3:31 AM, Tom Rini wrote: > Hey all, > > It's release day and here is v2019.07-rc4. At this point, I know we > have some regression fixes for i.MX that are coming, and I'm expecting a > fix to the build time failure for tinker-rk3288. > > To repeat myself about DM migration deadlines,

[U-Boot] [PATCH 1/2] net: Convert CONFIG_IP_DEFRAG to Kconfig

2019-06-10 Thread Marek Vasut
Convert CONFIG_IP_DEFRAG to Kconfig, update defconfigs, headers and whitelist. This patch is a follow-up on a patch by Christian Gmeiner with the added config/header/whitelist updates. Signed-off-by: Marek Vasut Reported-by: Christian Gmeiner Cc: Joe Hershberger --- configs/apalis-tk1_defconfi

[U-Boot] [PATCH 2/2] net: Convert CONFIG_TFTP_BLOCKSIZE to Kconfig

2019-06-10 Thread Marek Vasut
Convert CONFIG_TFTP_BLOCKSIZE to Kconfig, update defconfigs, headers and whitelist. Signed-off-by: Marek Vasut Cc: Christian Gmeiner Cc: Joe Hershberger --- configs/apalis-tk1_defconfig | 1 + configs/apalis_imx6_defconfig| 1 + configs/apalis_t30_defconfig | 1 + confi

Re: [U-Boot] Please pull u-boot-video

2019-06-10 Thread Tom Rini
On Mon, Jun 10, 2019 at 12:06:29PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull video fixes and mxsfb DM_VIDEO conversion for v2019.07. > > Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/541462360 > > Thanks, > Anatolij > > The following changes since commit 38c2a8a00

Re: [U-Boot] Pull requesti v2: u-boot-spi/master

2019-06-10 Thread Tom Rini
On Mon, Jun 10, 2019 at 06:05:21PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - mpc8xxx spi driver fixes (Mario) > - mpc8xxx spi dm conversion (Mario, Jagan) > - SPI DM Migration update (Jagan) > > Travis-CI: https://travis-ci.org/openedev/u-boot-amarula/builds/5

[U-Boot] [ANN] U-Boot v2019.07-rc4 released

2019-06-10 Thread Tom Rini
Hey all, It's release day and here is v2019.07-rc4. At this point, I know we have some regression fixes for i.MX that are coming, and I'm expecting a fix to the build time failure for tinker-rk3288. To repeat myself about DM migration deadlines, first, let me say again, that DM is not required

Re: [U-Boot] [PULL] u-boot-atmel-fixes-2019.07-a

2019-06-10 Thread Tom Rini
On Mon, Jun 10, 2019 at 06:26:16AM +, eugen.hris...@microchip.com wrote: > > Hello Tom, > > Please pull tag u-boot-atmel-fixes-2019.07-a , the first set of fixes > for u-boot-atmel for 2019.07 release. > > The fixes include small SPL fixes for the sama5d2 ICP board, and nand > flash fixes

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

2019-06-10 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] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-10 Thread Peng Fan
> partitions > > On 6/10/19 7:59 AM, Peng Fan wrote: > >> Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing > >> boot partitions > >> > >> Hi Marek, Peng, > >> > >> On 03/06/19 12:04 PM, Peng Fan wrote: > >>> > Subject: [PATCH] mmc: Avoid HS400 mode when accessing boot >

[U-Boot] [PATCH 2/2] spi: Add SPI controller driver for UniPhier SoCs

2019-06-10 Thread Kunihiko Hayashi
Add SPI controller driver implemented in Socionext UniPhier SoCs. This controller has the SPI master mode only. Signed-off-by: Kunihiko Hayashi --- drivers/spi/Kconfig| 8 + drivers/spi/Makefile | 1 + drivers/spi/uniphier_spi.c | 443 +++

[U-Boot] [PATCH 0/2] Add support for UniPhier SPI controller

2019-06-10 Thread Kunihiko Hayashi
This series adds support for SPI controller and its pin-mux settings implemented in UniPhier SoCs. Kunihiko Hayashi (2): pinctrl: uniphier: Add SPI pin-mux settings spi: Add SPI controller driver for UniPhier SoCs drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 8 + drivers/pinctrl/unip

[U-Boot] [PATCH 1/2] pinctrl: uniphier: Add SPI pin-mux settings

2019-06-10 Thread Kunihiko Hayashi
Add pin-mux settings for SPI controller. Signed-off-by: Kunihiko Hayashi --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 8 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 16 drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 4 drivers/pinctrl/uniphie

Re: [U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-06-10 Thread Ley Foon Tan
On Mon, Jun 10, 2019 at 8:07 PM Marek Vasut wrote: > > On 6/10/19 8:07 AM, Ley Foon Tan wrote: > [...] > > [...] > > > @@ -523,8 +527,20 @@ static int designware_i2c_xfer(struct udevice > > *bus, struct i2c_msg *msg, > > static int designware_i2c_set_bus_speed(struct udevic

Re: [U-Boot] [PATCH 0/3] Intel FPGA PCIe fixes

2019-06-10 Thread Ley Foon Tan
On Fri, May 24, 2019 at 10:30 AM Ley Foon Tan wrote: > > This patchset fix issues in Intel FPGA PCIe driver. > - Fix TLP polling timeout > - Fix enumerating mult-function PCIe device issue > - Fix PCIe switch read config register issue > > Ley Foon Tan (3): > pci: intel: Increase TLP polling cou

Re: [U-Boot] [PATCH 1/5] env: allow undefined CONFIG_SYS_MMC_ENV_DEV

2019-06-10 Thread Tom Rini
On Mon, Jun 10, 2019 at 10:35:36AM +0100, Andre Przywara wrote: > On Sat, 8 Jun 2019 09:13:52 -0400 > Tom Rini wrote: > > Hi Tom, > > thanks for having a look! > > > On Sat, Jun 08, 2019 at 02:26:54AM +0100, Andre Przywara wrote: > > > So far we are required to always define the CONFIG_SYS_MMC_

[U-Boot] Need some help with verified u-boot (Signature verification failed)

2019-06-10 Thread Rayees Shamsuddin
Hi, I am trying to get verified u-boot working on a Tegra TX2 board. I get an error while trying to verify the signature. I am not quite sure how to proceed forward to resolve this. Any help would be appreciated. U-boot version: U-Boot 2016.07-dirty (Jun 07 2019 - 10:46:18 -0700) aarch64-linux-

Re: [U-Boot] [PATCH v4 12/13] clk: Port Linux common clock framework

2019-06-10 Thread Lukasz Majewski
Hi Stefano, > > This commit brings the files from Linux kernel to provide clocks > > support as it is used on the Linux kernel with common clock > > framework [CCF] setup. The directory structure has been preserved. > > The ported code only supports reading information from PLL, MUX, > > Divider,

[U-Boot] [PATCH 0/2] efi_loader: implement event queue

2019-06-10 Thread Heinrich Schuchardt
Up to now we have only been using a flag queued for events. But this does not satisfy the requirements of the UEFI spec. Events must be notified in the sequence of decreasing TPL level and within a TPL level in the sequence of signaling. Implement a queue for signaled events. Adjust the test case

[U-Boot] [PATCH 1/2] efi_selftest: correct event group test

2019-06-10 Thread Heinrich Schuchardt
If any member of the event group is signaled, all members must be set to signaled and their notification functions have to be queued. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_event_groups.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/l

[U-Boot] [PATCH 2/2] efi_loader: implement event queue

2019-06-10 Thread Heinrich Schuchardt
Up to now we have only been using a flag queued for events. But this does not satisfy the requirements of the UEFI spec. Events must be notified in the sequence of decreasing TPL level and within a TPL level in the sequence of signaling. Implement a queue for signaled events. Signed-off-by: Heinr

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

2019-06-10 Thread Stefano Babic
On 10/06/19 21:18, Shyam Saini wrote: Thanks for this work - this is still missing in current U-Boot. I will merge this for the upcoming release - letting this in, we could win some more testers helping to adjust if there are some issues. >>> >>> Thanks. Looks like it is FINALLY maki

Re: [U-Boot] [PATCH 1/2 v3] net: introduce MDIO DM class for MDIO devices

2019-06-10 Thread Joe Hershberger
On Mon, Jun 3, 2019 at 11:11 AM Alex Marginean wrote: > > Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as > stand-alone devices. Useful in particular for systems that support > DM_ETH and have a stand-alone MDIO hardware block shared by multiple > Ethernet interfaces. > > Signe

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

2019-06-10 Thread Joe Hershberger
Hi all, On Sun, Jun 9, 2019 at 8:45 PM Ken Ma wrote: > > Dear Nevo > > My team was cut off last year, so I could not continue it. > If you could, please help give it a go. > > The patches passed review, but a sandbox driver is missed from Simon Glass > comments, so the patches are not merged. >

Re: [U-Boot] [PATCH 2/2 v3] test: dm: add MDIO test

2019-06-10 Thread Joe Hershberger
On Mon, Jun 3, 2019 at 11:13 AM Alex Marginean wrote: > > A very simple test for DM_MDIO, mimicks a register write/read through the > sandbox bus to a dummy PHY. > > Signed-off-by: Alex Marginean Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH 1/2 v3] net: introduce MDIO DM class for MDIO devices

2019-06-10 Thread Joe Hershberger
On Mon, Jun 3, 2019 at 11:11 AM Alex Marginean wrote: > > Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as > stand-alone devices. Useful in particular for systems that support > DM_ETH and have a stand-alone MDIO hardware block shared by multiple > Ethernet interfaces. > > Signe

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

2019-06-10 Thread Sergey Kubushyn
On Mon, 10 Jun 2019, Stefano Babic wrote: On 10/06/19 19:35, Sergey Kubushyn wrote: On Mon, 10 Jun 2019, Stefano Babic wrote: Hi Jagan, Shyam, [dd] Thanks for this work - this is still missing in current U-Boot. I will merge this for the upcoming release - letting this in, we could win

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

2019-06-10 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 --- drivers/mmc/sdhci.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/dri

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

2019-06-10 Thread Shyam Saini
> >> Thanks for this work - this is still missing in current U-Boot. I will > >> merge this for the upcoming release - letting this in, we could win some > >> more testers helping to adjust if there are some issues. > > > > Thanks. Looks like it is FINALLY making it into the main tree... > > > Neve

[U-Boot] [PATCH v8 08/14] mmc: am654_sdhci: Add Support for PHY

2019-06-10 Thread Faiz Abbas
Add support in the driver for handling phy specific registers. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/Kconfig | 1 + drivers/mmc/am654_sdhci.c | 225 -- 2 files changed, 219 insertions(+), 7 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH v8 12/14] configs: am65x: Add configs to support environment in eMMC

2019-06-10 Thread Faiz Abbas
Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas --- 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_a53_defconfig b/configs/am6

[U-Boot] [PATCH v8 11/14] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-06-10 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 --- drivers/mmc/am654_sdhci.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am65

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

2019-06-10 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 --- include/configs/am65x_evm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/am65x_evm.h b

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

2019-06-10 Thread Faiz Abbas
Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas --- 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..43d2ccc5ed 100644 --- a/configs

[U-Boot] [PATCH v8 10/14] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-10 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 --- drivers/mmc/sdhci.c | 28

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

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

[U-Boot] [PATCH v8 09/14] configs: am65x_evm: Enable CONFIG_REGMAP

2019-06-10 Thread Faiz Abbas
Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- 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_defconfig index ff41d66e4d..3

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

2019-06-10 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 --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 +++ arch/arm/dts/k3-am654-r5-base-board.dts

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

2019-06-10 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 --- drivers/mmc

[U-Boot] [PATCH v8 02/14] mmc: am654_sdhci: Remove quirks

2019-06-10 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 --- drivers/mmc/am654_sdhci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index 2d08fe3347..a8c

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

2019-06-10 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 v8 03/14] regmap: Add API regmap_init_mem_index()

2019-06-10 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 --- drivers/core/regmap.c | 42 ++ i

[U-Boot] [PATCH v8 00/14] Add Support for eMMC in AM65x-evm

2019-06-10 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 2/2] i.MX6: nand: add nandbcb command for imx

2019-06-10 Thread Stefano Babic
On 10/06/19 19:35, Sergey Kubushyn wrote: > On Mon, 10 Jun 2019, Stefano Babic wrote: > >> Hi Jagan, Shyam, > > [dd] > >> Thanks for this work - this is still missing in current U-Boot. I will >> merge this for the upcoming release - letting this in, we could win some >> more testers helping t

[U-Boot] [PATCH] ARM: davinci: da850: Manual pinmux only when PINCTRL not available

2019-06-10 Thread Adam Ford
With a recent update to the pinctrl-single driver and the fact that the da850evm has both DM and OF_CONTROL working in both SPL and U-Boot, some of the manual pinmuxing can be setup to only be activated when either the driver doesn't have DM for it, or when CONFIG_PINMUX isn't available (only durin

[U-Boot] [PATCH] pinctrl: pinctrl-single: Add 'pinctrl-single, bits' support

2019-06-10 Thread Adam Ford
The TI Davinci (da850/l138/am1808) use pinctrl-single,bits for pinmuxing peripherals. This patch allosw the pinctrl-single driver to parse the pinctrl-single,bits options and correctly setup devices. Signed-off-by: Adam Ford diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctr

[U-Boot] [PATCH] MIPS: add compile time definition of L2 cache size

2019-06-10 Thread Ramon Fried
If configuration is set to skip low level init, automatic probe of L2 cache size is not performed and the size is set to 0. Flushing or invalidating the L2 cache will fail in this case. Add a static configuration (SYS_DCACHE_LINE_SIZE) with default set to 0. Signed-off-by: Ramon Fried --- arch/

[U-Boot] [PATCH v2 2/2] MIPS: add dma-mapping.h implementation

2019-06-10 Thread Ramon Fried
add implementation for dma_alloc_coherent(), dma_free_coherent(), dma_map_single() and dma_free_single() Signed-off-by: Ramon Fried --- v2: fix warning caused by missing casts. arch/mips/include/asm/dma-mapping.h | 48 + 1 file changed, 48 insertions(+) create mode

[U-Boot] [PATCH v2 1/2] MIPS: add empty arch/clk.h

2019-06-10 Thread Ramon Fried
The file is needed for compilation of various drivers (IE. macb). Add empty implementation so compilation succeeds. Signed-off-by: Ramon Fried --- v2: Moved the new file to the correct location. arch/mips/include/asm/arch/clk.h | 11 +++ 1 file changed, 11 insertions(+) create mode 100

Re: [U-Boot] Using fw_setenv to set negative numbers

2019-06-10 Thread Ken Sloat
> -Original Message- > From: Anatolij Gustschin > Sent: Wednesday, June 5, 2019 12:22 PM > To: Ken Sloat > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Using fw_setenv to set negative numbers > > [This is an EXTERNAL EMAIL] > > > On Wed, 5 Jun 2019 1

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

2019-06-10 Thread Sergey Kubushyn
On Mon, 10 Jun 2019, Stefano Babic wrote: Hi Jagan, Shyam, [dd] Thanks for this work - this is still missing in current U-Boot. I will merge this for the upcoming release - letting this in, we could win some more testers helping to adjust if there are some issues. Thanks. Looks like it is

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

2019-06-10 Thread Stefano Babic
Hi Jagan, Shyam, On 06/06/19 10:59, Shyam Saini wrote: > 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 platfor

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

2019-06-10 Thread Stefano Babic
On 06/06/19 10:59, Shyam Saini wrote: > 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] pat

Re: [U-Boot] [EXT] Re: [PATCH v1] net: use block layer in net driver

2019-06-10 Thread Joe Hershberger
On Sun, Jun 2, 2019 at 9:28 PM Yinbo Zhu wrote: > > > > > -Original Message- > > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > > Sent: 2019年6月1日 19:16 > > To: Yinbo Zhu > > Cc: York Sun ; u-boot@lists.denx.de; Xiaobo Xie > > ; Jiafei Pan ; Ran Wang > > > > Subject: [EXT] Re:

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

2019-06-10 Thread Faiz Abbas
Hi Andreas, On 10/06/19 8:44 PM, Andreas Dannenberg wrote: > Hi Faiz, > > On Fri, Jun 07, 2019 at 09:07:32AM +0530, Lokesh Vutla wrote: >> >> >> 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

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

2019-06-10 Thread Andreas Dannenberg
Hi Faiz, On Fri, Jun 07, 2019 at 09:07:32AM +0530, Lokesh Vutla wrote: > > > 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 t

Re: [U-Boot] [PATCH] ARM: imx: cm_fx6: Drop ad-hoc SATA binding

2019-06-10 Thread Marek Vasut
On 6/10/19 4:24 PM, Stefano Babic wrote: > Hi Marek, > > On 12/05/19 22:43, Marek Vasut wrote: >> Drop the ad-hoc AHCI binding code, this is superseded by >> CONFIG_DWC_AHSATA_AHCI=y resp. drivers/ata/dwc_ahsata.c >> >> Signed-off-by: Marek Vasut >> Cc: Christopher Spinrath >> Cc: Fabio Estevam

Re: [U-Boot] [PATCH] ARM: imx: cm_fx6: Drop ad-hoc SATA binding

2019-06-10 Thread Stefano Babic
Hi Marek, On 12/05/19 22:43, Marek Vasut wrote: > Drop the ad-hoc AHCI binding code, this is superseded by > CONFIG_DWC_AHSATA_AHCI=y resp. drivers/ata/dwc_ahsata.c > > Signed-off-by: Marek Vasut > Cc: Christopher Spinrath > Cc: Fabio Estevam > Cc: Igor Grinberg > Cc: Nikita Kiryanov > Cc: S

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

2019-06-10 Thread Marek Vasut
On 6/10/19 3:17 PM, Lukasz Majewski wrote: > Hi Marek, > >> On 6/10/19 2:15 PM, Lukasz Majewski wrote: >>> On Mon, 10 Jun 2019 14:09:30 +0200 >>> Marek Vasut wrote: >>> On 6/10/19 8:16 AM, Lukasz Majewski wrote: > Dear Marek, > > The following changes since commit > 6d27

[U-Boot] [PATCH] Fix watchdog timeout setup for mt7623n (banana-pi r2)

2019-06-10 Thread shannon
Fixes a bugged implementation of watchdog reset for mediatek cores Changeset 06985289d452ad2423145cfed8cece61a7f8cec6 "watdchdog: Implement generic watchdog_reset() version" brought this bug to light Moves reconfiguration call to mtk_wdt_reset to a more appropriate location in mtk_wdt_start S

Re: [U-Boot] Pull request: u-boot-staging

2019-06-10 Thread Anatolij Gustschin
On Mon, 10 Jun 2019 09:42:48 -0400 Tom Rini tr...@konsulko.com wrote: > Since I'm expecting a PR from Stefano that includes the changes for > mx6sabre* to fit within SPL limits (and hoping he grabs the change to > make exceeding the limit a build error), shouldn't this just come from > him with al

Re: [U-Boot] Pull request: u-boot-staging

2019-06-10 Thread Tom Rini
On Mon, Jun 10, 2019 at 01:26:08PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull FEC driver fix for v2019.07. > > Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/542223249 > > Thanks, > Anatolij > > The following changes since commit 38c2a8a00132b4dcc6a0bb5baf5146b9eb9eb

Re: [U-Boot] Bring tinker-rk3288 back into SPL size limit?

2019-06-10 Thread Jagan Teki
On Sat, Jun 8, 2019 at 11:35 PM Tom Rini wrote: > > Hey, > > With Heinrich's series to enforce a size limit on SPL and Simon > Goldschmidt's enhancements on top of that, we're now seeing that > tinker-rk3288 has an SPL that is too large to function. And it's now > also causing the build to fail.

Re: [U-Boot] Bring tinker-rk3288 back into SPL size limit?

2019-06-10 Thread Philipp Tomsich
+Kever. > On 08.06.2019, at 20:05, Tom Rini wrote: > > Hey, > > With Heinrich's series to enforce a size limit on SPL and Simon > Goldschmidt's enhancements on top of that, we're now seeing that > tinker-rk3288 has an SPL that is too large to function. And it's now > also causing the build to

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

2019-06-10 Thread Lukasz Majewski
Hi Marek, > On 6/10/19 2:15 PM, Lukasz Majewski wrote: > > On Mon, 10 Jun 2019 14:09:30 +0200 > > Marek Vasut wrote: > > > >> On 6/10/19 8:16 AM, Lukasz Majewski wrote: > >>> Dear Marek, > >>> > >>> The following changes since commit > >>> 6d277fb0ed145f82dd50cc6e99d2fa553a588c3b: > >>> > >>

Re: [U-Boot] [PATCH] net: fec_mxc: not access reserved register on i.MX8

2019-06-10 Thread Anatolij Gustschin
Hi Stefano, On Mon, 10 Jun 2019 15:02:37 +0200 Stefano Babic sba...@denx.de wrote: ... > I have this in u-boot-imx, too, but I do not think it is a problem when > we send PR to Tom. OK, thanks! Yes, it shouldn't be a problem. -- Anatolij ___ U-Boot ma

Re: [U-Boot] [PATCH] net: fec_mxc: not access reserved register on i.MX8

2019-06-10 Thread Stefano Babic
Hi Anatolji, On 10/06/19 13:24, Anatolij Gustschin wrote: > On Mon, 15 Apr 2019 05:18:33 + > Peng Fan peng@nxp.com wrote: > >> We should not access reserved register on i.MX8, otherwise met SERROR >> >> Signed-off-by: Peng Fan >> --- >> drivers/net/fec_mxc.c | 2 +- >> 1 file changed, 1

Re: [U-Boot] [RESEND Patch] net: mscc: refactor mscc_miim

2019-06-10 Thread Daniel Schwierzeck
Am 09.06.19 um 15:27 schrieb Horatiu Vultur: > Because all MSCC SoC use the same MDIO bus, put the implementation in > one common file(mscc_miim) and make all the other MSCC network drivers to > use these functions. > > Signed-off-by: Horatiu Vultur > --- > drivers/net/mscc_eswitch/Makefile

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

2019-06-10 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - mpc8xxx spi driver fixes (Mario) - mpc8xxx spi dm conversion (Mario, Jagan) - SPI DM Migration update (Jagan) Travis-CI: https://travis-ci.org/openedev/u-boot-amarula/builds/543612089 Changes for v2: - include "ids8313: Disable SPI" patch thanks, Jagan.

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

2019-06-10 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - mpc8xxx spi driver fixes (Mario) - mpc8xxx spi dm conversion (Mario, Jagan) - SPI DM Migration update (Jagan) Travis-CI: https://travis-ci.org/openedev/u-boot-amarula/builds/543612089 Changes for v2: - include "ids8313: Disable SPI" patch thanks, Jagan.

Re: [U-Boot] [PATCH] ids8313: Disable SPI

2019-06-10 Thread Jagan Teki
On Fri, Jun 7, 2019 at 3:05 PM Mario Six wrote: > > With the recent SPI changes, the ids8313 board won't compile anymore. > > Until further information from the manufacturer, disable SPI support, so > that the board will at least compile again. > > Signed-off-by: Mario Six > --- Applied to u-boo

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

2019-06-10 Thread Marek Vasut
On 6/10/19 2:15 PM, Lukasz Majewski wrote: > On Mon, 10 Jun 2019 14:09:30 +0200 > Marek Vasut wrote: > >> On 6/10/19 8:16 AM, Lukasz Majewski wrote: >>> Dear Marek, >>> >>> The following changes since commit >>> 6d277fb0ed145f82dd50cc6e99d2fa553a588c3b: >>> >>> spl: Correct SPL_SIZE_LIMIT Kconf

Re: [U-Boot] [PATCH v1 07/11] DTS: Add imx6q-display5-u-boot.dtsi file with u-boot specific properties

2019-06-10 Thread Lukasz Majewski
Hi Adam, > On Sun, Jun 9, 2019 at 3:55 PM Lukasz Majewski wrote: > > > > This file setups UART5 based serial to be used as pre-relocation > > console in the U-Boot proper. > > > > On purpose pinux configuration is omitted here as it has been > > already done in SPL. For early pre-relocation code

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

2019-06-10 Thread Lukasz Majewski
On Mon, 10 Jun 2019 14:09:30 +0200 Marek Vasut wrote: > On 6/10/19 8:16 AM, Lukasz Majewski wrote: > > Dear Marek, > > > > The following changes since commit > > 6d277fb0ed145f82dd50cc6e99d2fa553a588c3b: > > > > spl: Correct SPL_SIZE_LIMIT Kconfig option (2019-06-08 07:49:00 > > -0400) > > >

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

2019-06-10 Thread Marek Vasut
On 6/10/19 8:16 AM, Lukasz Majewski wrote: > Dear Marek, > > The following changes since commit > 6d277fb0ed145f82dd50cc6e99d2fa553a588c3b: > > spl: Correct SPL_SIZE_LIMIT Kconfig option (2019-06-08 07:49:00 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-dfu

Re: [U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-06-10 Thread Marek Vasut
On 6/10/19 8:07 AM, Ley Foon Tan wrote: [...] [...] > @@ -523,8 +527,20 @@ static int designware_i2c_xfer(struct udevice *bus, > struct i2c_msg *msg, > static int designware_i2c_set_bus_speed(struct udevice *bus, unsigned > int speed) > { > struct dw_i2c

[U-Boot] [RFC 4/4] colibri_vf: enable DM_VIDEO

2019-06-10 Thread Igor Opaniuk
From: Igor Opaniuk Enable DM_VIDEO for Colibri VF. Signed-off-by: Igor Opaniuk --- configs/colibri_vf_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index 3a267bdbc6..445176aa64 100644 --- a/configs/coli

[U-Boot] [RFC 1/4] video: fsl_dcu_fb: refactor init functions

2019-06-10 Thread Igor Opaniuk
From: Igor Opaniuk Move dcu-related code to fsl_dcu_probe_common, keep in video_hw_init() only legacy video stack (filling GraphicPanel struct etc.). Add wrappers for all init functions, that will let to provide struct fb_info as an additional param (needed for further moving it from the global

[U-Boot] [RFC 2/4] video: fsl_dcu_fb: add DM_VIDEO support

2019-06-10 Thread Igor Opaniuk
From: Igor Opaniuk Extend the driver to build with DM_VIDEO enabled. DTS files must additionally include 'u-boot,dm-pre-reloc' property in soc and child nodes to enable driver binding to fsl_dcu_fb device. Currently display timings aren't obtained from DT. Signed-off-by: Igor Opaniuk --- boar

[U-Boot] [RFC 3/4] ARM: dts: colibri_vf: Add dcu0 node

2019-06-10 Thread Igor Opaniuk
From: Igor Opaniuk Add dumb node for NXP Display Control Unit0(DCU), which permits DM_ENABLED converted driver to be probed. Currently no display timings are provided in this node. Signed-off-by: Igor Opaniuk --- arch/arm/dts/vf-colibri-u-boot.dtsi | 4 arch/arm/dts/vf-colibri.dtsi

[U-Boot] [RFC 0/4] Convert fsl_dcu_fb to DM_VIDEO

2019-06-10 Thread Igor Opaniuk
From: Igor Opaniuk This series of patches refactors and extends NXP DCU video driver to be built with DM_VIDEO enabled. DTS files must additionally include 'u-boot,dm-pre-reloc' property in soc and child nodes to enable driver binding to fsl_dcu_fb device. Current limitations: configuration (dis

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-10 Thread Marek Vasut
On 6/10/19 7:59 AM, Peng Fan wrote: >> Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot >> partitions >> >> Hi Marek, Peng, >> >> On 03/06/19 12:04 PM, Peng Fan wrote: >>> Subject: [PATCH] mmc: Avoid HS400 mode when accessing boot partitions According to JEDEC

[U-Boot] Pull request: u-boot-staging

2019-06-10 Thread Anatolij Gustschin
Hi Tom, please pull FEC driver fix for v2019.07. Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/542223249 Thanks, Anatolij The following changes since commit 38c2a8a00132b4dcc6a0bb5baf5146b9eb9eb2d2: Merge tag 'efi-2019-07-rc4' of git://git.denx.de/u-boot-efi (2019-06-02 18:19:4

Re: [U-Boot] [PATCH] net: fec_mxc: not access reserved register on i.MX8

2019-06-10 Thread Anatolij Gustschin
On Mon, 15 Apr 2019 05:18:33 + Peng Fan peng@nxp.com wrote: > We should not access reserved register on i.MX8, otherwise met SERROR > > Signed-off-by: Peng Fan > --- > drivers/net/fec_mxc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-staging/ag...@denx.de,

Re: [U-Boot] [PATCH v1 07/11] DTS: Add imx6q-display5-u-boot.dtsi file with u-boot specific properties

2019-06-10 Thread Adam Ford
On Sun, Jun 9, 2019 at 3:55 PM Lukasz Majewski wrote: > > This file setups UART5 based serial to be used as pre-relocation > console in the U-Boot proper. > > On purpose pinux configuration is omitted here as it has been already > done in SPL. For early pre-relocation code we only need the serial

[U-Boot] [PATCH v2 1/3] armv8: ls2088aqds: Add bootcmd for TFA boot

2019-06-10 Thread Wasim Khan
Add bootcmd for IFC NOR boot and SD boot. Signed-off-by: Wasim Khan --- Changes in v2: - Corrected Copyright info include/configs/ls2080aqds.h | 45 ++-- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/include/configs/ls2080aqds.h b

Re: [U-Boot] [PATCH 2/3] pico-imx6ul: MAINTAINERS: Unify all board entries

2019-06-10 Thread Stefano Babic
On 10/06/19 11:49, sba...@denx.de wrote: >> It is easier to consolidate all boards into a single entry. >> Signed-off-by: Fabio Estevam > > Applied to u-boot-imx, master, thanks ! > As note: I have added configs/pico-imx7d_bl33_defconfig to fix Travis. Regards, Stefano -- ===

[U-Boot] [PATCH v4 02/13] dm: Fix documentation entry as there is

2019-06-10 Thread sbabic
> There is no UCLASS_CLOCK uclass defined. Instead we do use the UCLASS_CLK. > Signed-off-by: Lukasz Majewski > Reviewed-by: Simon Glass > Reviewed-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH v2 2/3] armv8: ls2088aqds: Fix MC firmware loading during SD boot

2019-06-10 Thread Wasim Khan
During SD boot, MC firmware and DPC are copied from SD card to DDR. Size reserved between MC and DPC firmware on DDR is 1MB. If the size of MC firmware(load address 0x8000) is more than 1 MB then part of MC firmware will be overwritten by DPC firmware (load address 0x8010). Fix: Update the

[U-Boot] [PATCH V2 1/7] ARM: dts: imx: novena: Import Novena DT

2019-06-10 Thread sbabic
> Import iMX6Q Novena device tree from Linux 5.1-rc7 37624b58542f . > Enable DT control in full U-Boot . > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Stefano Babic > Cc: Vagrant Cascadian Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[U-Boot] [PATCH v2 3/3] armv8: ls2088ardb: Fix MC firmware loading during SD boot

2019-06-10 Thread Wasim Khan
During SD boot, MC firmware and DPC are copied from SD card to DDR. Size reserved between MC and DPC firmware on DDR is 1MB. If the size of MC firmware(load address 0x8000) is more than 1 MB then part of MC firmware will be overwritten by DPC firmware (load address 0x8010). Fix: Update the

[U-Boot] Please pull u-boot-video

2019-06-10 Thread Anatolij Gustschin
Hi Tom, please pull video fixes and mxsfb DM_VIDEO conversion for v2019.07. Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/541462360 Thanks, Anatolij The following changes since commit 38c2a8a00132b4dcc6a0bb5baf5146b9eb9eb2d2: Merge tag 'efi-2019-07-rc4' of git://git.denx.de/u-bo

[U-Boot] [PATCH 3/3] pico-imx6ul: MAINTAINERS: Add pico-dwarf entry

2019-06-10 Thread sbabic
> pico-dwarf-imx6ul_defconfig does not have an entry in MAINTAINERS file, > so add it to avoid a build warning. > Reported-by: Stefano Babic > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to

2019-06-10 Thread sbabic
> The information about pressed key is relevant in performing correct > update and recovery scenarios via USB pendrive. > This commit modifies envs to provide it. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

  1   2   >