Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-14 Thread Michal Simek
On 15. 03. 19 7:51, Simon Goldschmidt wrote: > On Fri, Mar 15, 2019 at 7:44 AM Michal Simek wrote: >> >> On 14. 03. 19 21:57, Simon Goldschmidt wrote: >>> This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. >> >> You should also put subject of that patch here. It is much easier to >> che

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-14 Thread Simon Goldschmidt
On Fri, Mar 15, 2019 at 7:44 AM Michal Simek wrote: > > On 14. 03. 19 21:57, Simon Goldschmidt wrote: > > This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. > > You should also put subject of that patch here. It is much easier to > check what was that. The subject of the commit is in t

[U-Boot] Pull request for UEFI system for v2019.04-rc4

2019-03-14 Thread Heinrich Schuchardt
The following changes since commit e8e3f2d2d48f97b2c79b698eccedce8f4f880993: Merge branch '2019-03-08-master-imports' (2019-03-08 18:04:13 -0500) are available in the Git repository at: https://github.com/xypron2/u-boot tag efi-2019-04-rc4-3 for you to fetch changes up to e616100eab84464f09

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-14 Thread Michal Simek
On 14. 03. 19 21:57, Simon Goldschmidt wrote: > This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. You should also put subject of that patch here. It is much easier to check what was that. M ___ U-Boot mailing list U-Boot@lists.denx.de https:

Re: [U-Boot] Clearfog Base PCI-E not working

2019-03-14 Thread Stefan Roese
On 14.03.19 17:37, Влад Мао wrote: I found mismatched entries in DTS: In armada-388-clearfog.dts: pcie-controller { status = "okay"; But in armada-385.dtsi we have: pciec: pcie { compatible = "marvell,armada-370-pcie"; After fixing it, PCIE does sh

Re: [U-Boot] passing info from SPL to U-Boot

2019-03-14 Thread Heiko Schocher
Hello Simon, Am 14.03.2019 um 11:02 schrieb Simon Glass: Hi Heiko, On Tue, 12 Mar 2019 at 02:50, Heiko Schocher wrote: Hello Simon, Tom, Am 12.03.2019 um 09:21 schrieb Heiko Schocher: Hello Simon, Tom, I am just stumbeld on an am437x basd board over the problem to pass the bootmode from S

[U-Boot] mpc85xx, mpc86xx: device tree model

2019-03-14 Thread Prabhakar Kushwaha
Hi Tom, I am seeing following type of build warnings for MMC. += WARNING == +This board does not use CONFIG_DM_MMC. Please update +the board to use CONFIG_DM_MMC before the v2019.04 release. +Failure to update by the deadline may result in board removal. +S

Re: [U-Boot] passing info from SPL to U-Boot

2019-03-14 Thread Heiko Schocher
Hello Tom, Am 13.03.2019 um 19:19 schrieb Tom Rini: On Wed, Mar 13, 2019 at 10:18:06AM +0100, Heiko Schocher wrote: Hello Stefano, Am 13.03.2019 um 09:51 schrieb Stefano Babic: Hi Heiko, On 13/03/19 08:44, Heiko Schocher wrote: Hello Wolfgang, Am 12.03.2019 um 18:46 schrieb Wolfgang Denk:

Re: [U-Boot] [PATCH] Revert "env: add spi_flash_read_env function"

2019-03-14 Thread Heiko Schocher
Hello Horatiu, Am 14.03.2019 um 13:53 schrieb Horatiu Vultur: Hi Heiko, I managed to reproduce the issue that you described. Fine, thanks for testing! Don't you think it is a little bit too harsh to remove the commit completely? I am unsure here ... I am not sure but how many cases are

[U-Boot] [PATCH v3 3/3] ARM: board: meson: add p200 board

2019-03-14 Thread Mohammad Rasim
Signed-off-by: Mohammad Rasim --- board/amlogic/odroid-c2/MAINTAINERS | 1 + board/amlogic/odroid-c2/README.p200 | 103 configs/p200_defconfig | 41 +++ 3 files changed, 145 insertions(+) create mode 100644 board/amlogic/odroid-c2/README.p200

[U-Boot] [PATCH v3 2/3] ARM: board: meson: add p201 board

2019-03-14 Thread Mohammad Rasim
Signed-off-by: Mohammad Rasim Acked-by: Neil Armstrong --- board/amlogic/p201/MAINTAINERS | 5 ++ board/amlogic/p201/Makefile| 5 ++ board/amlogic/p201/README.p201 | 103 + board/amlogic/p201/p201.c | 43 ++ configs/p201_defconfig

[U-Boot] [PATCH v3 0/3] ARM: meson: add p200 and p201 boards

2019-03-14 Thread Mohammad Rasim
This adds support for p200 and p201 reference boards from amlogic Mohammad Rasim (3): ARM: dts: meson: add p200 and p201 boards ARM: board: meson: add p201 board ARM: board: meson: add p200 board arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-p200.dts| 99 +++

[U-Boot] [PATCH v3 1/3] ARM: dts: meson: add p200 and p201 boards

2019-03-14 Thread Mohammad Rasim
This adds the device trees for p200 and p201 boards. Synced from kernel 5.0.0 Commit a667cb7a94d4 ("Merge branch 'akpm' (patches from Andrew)") Signed-off-by: Mohammad Rasim Acked-by: Neil Armstrong --- arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-p200.dts | 99

Re: [U-Boot] [PATCH v1] dfu: Avoid declaring unused variables and absent parameters

2019-03-14 Thread Lukasz Majewski
Hi Tom, Andy, > On Thu, Mar 14, 2019 at 10:19:58PM +0200, Andy Shevchenko wrote: > > On Mon, Mar 04, 2019 at 04:04:44PM +0200, Andy Shevchenko wrote: > > > The compiler is not happy when neither USB nor TFTP transport for > > > DFU defined: > > > > > > cmd/dfu.c: In function ‘do_dfu’: > > > cmd

Re: [U-Boot] [PATCH v2 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Andy Shevchenko
On Thu, Mar 14, 2019 at 09:13:34PM +0100, Heinrich Schuchardt wrote: > Since commit f51a226436a87 ("efi_loader: provide freestanding library") in > parallel builds errors > > lib/efi_selftest/../efi_loader/efi_freestanding.o: > file not recognized: File truncated > > occur. Obviously make

Re: [U-Boot] [PATCH v1] dfu: Avoid declaring unused variables and absent parameters

2019-03-14 Thread Tom Rini
On Thu, Mar 14, 2019 at 10:19:58PM +0200, Andy Shevchenko wrote: > On Mon, Mar 04, 2019 at 04:04:44PM +0200, Andy Shevchenko wrote: > > The compiler is not happy when neither USB nor TFTP transport for DFU > > defined: > > > > cmd/dfu.c: In function ‘do_dfu’: > > cmd/dfu.c:31:8: warning: unused v

Re: [U-Boot] [PATCH 5/7] riscv: add support for multi-hart systems

2019-03-14 Thread Auer, Lukas
Hi Rick, On Tue, 2019-03-12 at 09:15 +0800, Rick Chen wrote: > Hi Lukas > > Auer, Lukas 於 2019年3月11日 週一 > 上午2:12寫道: > > On Sun, 2019-03-10 at 20:24 +0530, Anup Patel wrote: > > > On Sun, Mar 10, 2019 at 7:28 PM Auer, Lukas > > > wrote: > > > > Hi Rick, > > > > > > > > On Thu, 2019-03-07 at 17:

[U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-14 Thread Simon Goldschmidt
This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. The 'eeprom' command has been converted to work with DM_I2C in a patch submitted around the same time as this commit: commit 0c07a9b4078d ("eeprom: Add device model based I2C support to eeprom command") Signed-off-by: Simon Goldschmid

Re: [U-Boot] [PATCH v1] dfu: Avoid declaring unused variables and absent parameters

2019-03-14 Thread Andy Shevchenko
On Mon, Mar 04, 2019 at 04:04:44PM +0200, Andy Shevchenko wrote: > The compiler is not happy when neither USB nor TFTP transport for DFU defined: > > cmd/dfu.c: In function ‘do_dfu’: > cmd/dfu.c:31:8: warning: unused variable ‘devstring’ [-Wunused-variable] > char *devstring = argv[3]; >

Re: [U-Boot] [PATCH v2 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Tom Rini
On Thu, Mar 14, 2019 at 09:13:34PM +0100, Heinrich Schuchardt wrote: > Since commit f51a226436a87 ("efi_loader: provide freestanding library") in > parallel builds errors > > lib/efi_selftest/../efi_loader/efi_freestanding.o: > file not recognized: File truncated > > occur. Obviously mak

[U-Boot] [PATCH v2 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Heinrich Schuchardt
Since commit f51a226436a87 ("efi_loader: provide freestanding library") in parallel builds errors lib/efi_selftest/../efi_loader/efi_freestanding.o: file not recognized: File truncated occur. Obviously make cannot correctly sequence parallel builds with a dependency like ../efi_loader/efi

Re: [U-Boot] [PATCH v2 3/3] ARM: board: meson: add p200 board

2019-03-14 Thread Neil Armstrong
Hi, Le 14/03/2019 18:00, Mohammad Rasim a écrit : > > Signed-off-by: Mohammad Rasim > --- > board/amlogic/odroid-c2/README.p200 | 103 > configs/p200_defconfig | 41 +++ > 2 files changed, 144 insertions(+) > create mode 100644 board/amlogic/o

Re: [U-Boot] [PATCH v2 2/3] ARM: board: meson: add p201 board

2019-03-14 Thread Neil Armstrong
Hi, Le 14/03/2019 18:00, Mohammad Rasim a écrit : > > Signed-off-by: Mohammad Rasim > --- > board/amlogic/p201/MAINTAINERS | 6 ++ > board/amlogic/p201/Makefile| 5 ++ > board/amlogic/p201/README.p201 | 103 + > board/amlogic/p201/p201.c | 43 ++

Re: [U-Boot] [PATCH v2 1/3] ARM: dts: meson: add p200 and p201 boards

2019-03-14 Thread Neil Armstrong
Hi, Le 14/03/2019 18:00, Mohammad Rasim a écrit : > This adds the device trees for p200 and p201 boards. > Synced from kernel 5.0.0 revision a667cb7a94d48a483fb5d6006fe04a440f1a42ce. Commits should be described using the 12bytes identifier, like the Fixes tag. You can update it if you resend, and

Re: [U-Boot] [PATCH 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Heinrich Schuchardt
On 3/14/19 8:46 PM, Andy Shevchenko wrote: > On Thu, Mar 14, 2019 at 7:17 PM Heinrich Schuchardt > wrote: >> On 3/14/19 8:19 AM, Andy Shevchenko wrote: >>> On Thu, Mar 14, 2019 at 8:43 AM Heinrich Schuchardt >>> wrote: > new file mode 12 index 000..4b7edd52bd9 --- /d

Re: [U-Boot] [PATCH 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Andy Shevchenko
On Thu, Mar 14, 2019 at 7:17 PM Heinrich Schuchardt wrote: > On 3/14/19 8:19 AM, Andy Shevchenko wrote: > > On Thu, Mar 14, 2019 at 8:43 AM Heinrich Schuchardt > > wrote: > >> new file mode 12 > >> index 000..4b7edd52bd9 > >> --- /dev/null > >> +++ b/lib/efi_selftest/efi_freestandin

Re: [U-Boot] [PATCH] arndale: fix unknown status

2019-03-14 Thread Tom Rini
On Thu, Mar 14, 2019 at 09:23:53AM +0100, Krzysztof Kozlowski wrote: > On Thu, 14 Mar 2019 at 09:15, Minkyu Kang wrote: > > > > Hi, > > > > On 14/03/2019 16:38, Krzysztof Kozlowski wrote: > > > On Thu, 14 Mar 2019 at 05:10, Minkyu Kang wrote: > > >> > > >> On 14/03/2019 09:44, Minkyu Kang wrote:

Re: [U-Boot] [PATCH 01/10] board: tbs2910: Fix default environment

2019-03-14 Thread Stefano Babic
On 14/03/19 20:16, Soeren Moch wrote: > On 01.03.19 13:10, Soeren Moch wrote: >> Especially fix usb keyboard support. Other changes are only for >> beautification. >> >> Signed-off-by: Soeren Moch >> --- >> Cc: Stefano Babic >> Cc: u-boot@lists.denx.de > Stefano, > > apparently you decided to

Re: [U-Boot] [PATCH 01/10] board: tbs2910: Fix default environment

2019-03-14 Thread Soeren Moch
On 01.03.19 13:10, Soeren Moch wrote: > Especially fix usb keyboard support. Other changes are only for > beautification. > > Signed-off-by: Soeren Moch > --- > Cc: Stefano Babic > Cc: u-boot@lists.denx.de Stefano, apparently you decided to pull fixes for v2019.04 and DM conversions for v2019.07

[U-Boot] [PATCH v2 3/3] ARM: board: meson: add p200 board

2019-03-14 Thread Mohammad Rasim
Signed-off-by: Mohammad Rasim --- board/amlogic/odroid-c2/README.p200 | 103 configs/p200_defconfig | 41 +++ 2 files changed, 144 insertions(+) create mode 100644 board/amlogic/odroid-c2/README.p200 create mode 100644 configs/p200_defconfig

[U-Boot] [PATCH v2 2/3] ARM: board: meson: add p201 board

2019-03-14 Thread Mohammad Rasim
Signed-off-by: Mohammad Rasim --- board/amlogic/p201/MAINTAINERS | 6 ++ board/amlogic/p201/Makefile| 5 ++ board/amlogic/p201/README.p201 | 103 + board/amlogic/p201/p201.c | 43 ++ configs/p201_defconfig | 41 + 5 f

[U-Boot] [PATCH v2 1/3] ARM: dts: meson: add p200 and p201 boards

2019-03-14 Thread Mohammad Rasim
This adds the device trees for p200 and p201 boards. Synced from kernel 5.0.0 revision a667cb7a94d48a483fb5d6006fe04a440f1a42ce. Signed-off-by: Mohammad Rasim --- arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-p200.dts | 99 arch/arm/dts/meson-gxbb-p201.dts |

[U-Boot] [PATCH v2 0/3] ARM: meson: add p200 and p201 boards

2019-03-14 Thread Mohammad Rasim
This adds support for p200 and p201 reference boards from amlogic Mohammad Rasim (3): ARM: dts: meson: add p200 and p201 boards ARM: board: meson: add p201 board ARM: board: meson: add p200 board arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-p200.dts| 99 ++

[U-Boot] [PATCH] common: image-android-dt: Fix out-of-bounds access

2019-03-14 Thread Eugeniu Rosca
Currently, 'dtimg' allows users to check indexes equal to dt_entry_count [1]. Forbid that [2]. [1] Behavior w/o the patch: => ext2load mmc 0:1 0x4800 dtb.img 105695 bytes read in 5 ms (20.2 MiB/s) => dtimg dump 0x4800 dt_table_header: magic = d7b7ab1e total_size

Re: [U-Boot] [PATCH 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Heinrich Schuchardt
On 3/14/19 8:19 AM, Andy Shevchenko wrote: > On Thu, Mar 14, 2019 at 8:43 AM Heinrich Schuchardt > wrote: >> >> Since commit f51a226436a87 ("efi_loader: provide freestanding library") in >> parallel builds errors >> >> lib/efi_selftest/../efi_loader/efi_freestanding.o: >> file not recogni

[U-Boot] Clearfog Base PCI-E not working

2019-03-14 Thread Влад Мао
I found mismatched entries in DTS: In armada-388-clearfog.dts: pcie-controller { status = "okay"; But in armada-385.dtsi we have: pciec: pcie { compatible = "marvell,armada-370-pcie"; After fixing it, PCIE does show up as expected. __

[U-Boot] [PATCH 0/2] ARM: meson: add p200 and p201 boards

2019-03-14 Thread Mohammad Rasim
This adds support for p200 and p201 reference boards from amlogic Mohammad Rasim (2): ARM: dts: meson: add p200 and p201 boards ARM: board: meson: add p200 and p201 boards arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-p200.dts| 99 +++ arch/arm/dts/meson-g

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-14 Thread Ismael Luceno Cortes
On 14/Mar/2019 16:09, Marek Vasut wrote: > On 3/14/19 1:57 PM, Ismael Luceno Cortes wrote: > > On 14/Mar/2019 12:55, Marek Vasut wrote: > >> On 3/14/19 12:44 PM, Ismael Luceno Cortes wrote: > >>> On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote: > Signed-off-by: Ismael Luceno > --- > >>>

Re: [U-Boot] Revert "env: add spi_flash_read_env function"

2019-03-14 Thread Tom Rini
On Wed, Mar 13, 2019 at 12:15:45PM +0100, Heiko Schocher wrote: > This reverts commit 9a9d66f5eff0f443de4c2c6ca3e27771ed14b1b4. > > because it breaks fw_setenv and U-Boot interworking, if > U-Boot environment is stored in a SPI-NOR. > > Reproduce it with: > boot linux with empty Environment and

Re: [U-Boot] Where to add maintainers for pwm?

2019-03-14 Thread Tom Rini
On Wed, Mar 13, 2019 at 11:08:07AM +0100, Micke Prag wrote: > Hi, > > I am implementing a pwm driver for my SoC (MediaTek MT7688). When > running patman it complaints about: > :0: warning: added, moved or deleted file(s), does MAINTAINERS > need updating? > > I cannot find any maintainers file f

Re: [U-Boot] Pull request: u-boot-imx u -boot-imx-201900313

2019-03-14 Thread Tom Rini
On Wed, Mar 13, 2019 at 10:39:53AM +0100, Stefano Babic wrote: > Hi Tom, > > several local (I mean, just for boards) fixes for release. Conversion to > DM was merged for several boards into my -next and will be part of my PR > after release. > > Travis build : https://travis-ci.org/sbabic/u-boot

Re: [U-Boot] [PATCH] Revert "fs: fat: support write with non-zero offset"

2019-03-14 Thread Tom Rini
On Thu, Mar 14, 2019 at 02:50:39PM +0530, Faiz Abbas wrote: > This reverts commit cb8af8af5ba03ae8e0a7315b66bfcc46d5c55627. > > fatwrites after this patch corrupt images. A fatwrite followed by a > fatload and compare yields different data. > > Reproduce it with: > =>fatwrite mmc 0 0x8200 te

Re: [U-Boot] [PATCH 1/2] ARM: dts: meson: add p200 and p201 boards

2019-03-14 Thread Mohammad Rasim
On 19/03/14 04:05, Neil Armstrong wrote: > Hi Mohammad, > > Thanks for patches, > > Can you specify from which kernel release you sync'ed the DT ? kernel version: 5.0.0 revision: a667cb7a94d48a483fb5d6006fe04a440f1a42ce Should I include this information in V2? > > On 14/03/2019 14:52, Mohammad Ras

[U-Boot] [5/5] arm: ti: boot: Implement Android boot using DT image format

2019-03-14 Thread Eugeniu Rosca
Hi Sam, On April 16, 2018, 8:32 p.m., Sam Protsenko wrote: [..] > 1. Prepare dtb.img and dtbo.img images, generated with mkdtimg tool (can >be found in Android sources, see prebuilts/misc/linux-x86/libufdt). >Example: > > $ ./mkdtimg create dtb.img\ >

Re: [U-Boot] [PATCH 0/2] ARM: meson: add p200 and p201 boards

2019-03-14 Thread Neil Armstrong
Hi, seems you mismatched the To entry as : "u-b...@lists.denx.deu-boot-amlogic"@groups.io Not sure the u-boot ML received the patches. Neil On 14/03/2019 15:02, Mohammad Rasim wrote: > This adds support for p200 and p201 reference boards from amlogic > > Mohammad Rasim (2): > ARM: dts: meson

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-14 Thread Marek Vasut
On 3/14/19 1:57 PM, Ismael Luceno Cortes wrote: > On 14/Mar/2019 12:55, Marek Vasut wrote: >> On 3/14/19 12:44 PM, Ismael Luceno Cortes wrote: >>> On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote: Signed-off-by: Ismael Luceno --- drivers/usb/host/usb-uclass.c | 2 +- 1 file ch

Re: [U-Boot] [PATCH 2/2] ARM: board: meson: add p200 and p201 boards

2019-03-14 Thread Neil Armstrong
Hi Mohammad, This look very good, can you split the into 2 patches ? 1 for the p200 defconfig and a separate one for p201 ? Thanks, Neil On 14/03/2019 14:54, Mohammad Rasim wrote: > Signed-off-by: Mohammad Rasim > --- > board/amlogic/odroid-c2/README.p200 | 103

Re: [U-Boot] [PATCH 1/2] ARM: dts: meson: add p200 and p201 boards

2019-03-14 Thread Neil Armstrong
Hi Mohammad, Thanks for patches, Can you specify from which kernel release you sync'ed the DT ? On 14/03/2019 14:52, Mohammad Rasim wrote: > Signed-off-by: Mohammad Rasim > --- > arch/arm/dts/Makefile | 2 + > arch/arm/dts/meson-gxbb-p200.dts | 99 > arch/arm/dts/m

[U-Boot] [PATCH] configs: am335x_evm: Add CONFIG_BLK

2019-03-14 Thread Faiz Abbas
With DM_MMC and DM_USB enabled, enable CONFIG_BLK. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 1 - configs/am335x_hs_evm_defconfig | 1 - configs/am335x_hs_evm_uart_defconfig | 1 - 3 files changed, 3 deletions(-) diff --git a/configs/am335x_evm_defconfig b/config

[U-Boot] [PATCH v5 13/13] m68k: add dspi chip-select support

2019-03-14 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello Changes for v5: - new patch --- arch/m68k/cpu/mcf5227x/Makefile | 2 +- arch/m68k/cpu/mcf5227x/dspi.c | 43 + arch/m68k/cpu/mcf5227x/start.S| 3 +- arch/m68k/cpu/mcf5445x/Makefile | 2 +- arch/m68k/cpu/mcf5445x/dspi.c

[U-Boot] [PATCH v5 09/13] drivers: serial: mcfuart: add DT support

2019-03-14 Thread Angelo Dureghello
This patch adds devicetree support to the mcfuart.c driver and removes non DM code. Reviewed-by: Simon Glass Signed-off-by: Angelo Dureghello --- Changes for v2: - remove non DM code Changes for v3: - none Changes for v4: - none Changes for v5: - none --- drivers/serial/Kconfig | 8 +++ dri

[U-Boot] [PATCH v5 06/13] drivers: spi: cf_spi: add Kconfig option

2019-03-14 Thread Angelo Dureghello
This patch adds cf_spi DM Kconfig option. Reviewed-by: Simon Glass Signed-off-by: Angelo Dureghello --- Changes for v2: - new patch Changes for v3: - re-put SOFT_SPI in place, options are out of alphabetical order Changes for v4: - none Changes for v5: - none --- drivers/spi/Kconfig | 6 ++

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-14 Thread Ismael Luceno Cortes
On 14/Mar/2019 12:55, Marek Vasut wrote: > On 3/14/19 12:44 PM, Ismael Luceno Cortes wrote: > > On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote: > >> Signed-off-by: Ismael Luceno > >> --- > >> drivers/usb/host/usb-uclass.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff

Re: [U-Boot] [PATCH] Revert "env: add spi_flash_read_env function"

2019-03-14 Thread Horatiu Vultur
Hi Heiko, I managed to reproduce the issue that you described. Don't you think it is a little bit too harsh to remove the commit completely? I am not sure but how many cases are where UBoot doesn't store anything in flash? And then lets the linux to update the flash. Or is wouldn't better to up

Re: [U-Boot] [RESEND][PATCH v1 3/4] board: stm32mp1: Add tx_fifo_sz_array support

2019-03-14 Thread Marek Vasut
On 3/14/19 11:51 AM, Patrice Chotard wrote: > Allows to use an array of tx-fifo-size defined in device tree > as following: >g-tx-fifo-size = <128 128 64 64 64 64 32 32>; > > Signed-off-by: Patrice Chotard > --- > > board/st/stm32mp1/stm32mp1.c | 11 +-- > 1 file changed, 9 insertio

Re: [U-Boot] [RESEND][PATCH v1 2/4] usb: dwc2_udc_otg: Add tx_fifo_sz array support

2019-03-14 Thread Marek Vasut
On 3/14/19 11:51 AM, Patrice Chotard wrote: > All TX fifo size can be different, add tx_fifo_sz_array[] > into dwc2_plat_otg_data to be able to set them. > > tx_fifo_sz_array[] is 17 Bytes long and can contains max 16 > tx fifo size (synopsys IP supports max 16 IN endpoints). > First entry of tx_f

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-14 Thread Marek Vasut
On 3/14/19 12:44 PM, Ismael Luceno Cortes wrote: > On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote: >> Signed-off-by: Ismael Luceno >> --- >> drivers/usb/host/usb-uclass.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host

[U-Boot] [PATCH v5 05/13] configs: enable use of DT for all m68k boards

2019-03-14 Thread Angelo Dureghello
Enable DT usage for all m68k boards. To provide a working single binary, the dts has been kept as embedded. Signed-off-by: Angelo Dureghello --- Changes for v2: - new patch Changes for v3: - none Changes for v4: - remove CONFIG_OF_EMBED=y Changes for v5: - none --- configs/M5208EVBE_defconfig

[U-Boot] [PATCH v5 02/13] m68k: architecture changes to support fdt

2019-03-14 Thread Angelo Dureghello
This patch adds fdt support to the m68k architecture. Reviewed-by: Simon Glass Signed-off-by: Angelo Dureghello --- Changes for v2: - add OF_CONTROL, DM and DM_SERIAL as default config options for all cpu families Changes for v3: - none Changes for v4: - bisectability, moved SUPPORT_OF_CONTROL

[U-Boot] [PATCH v5 07/13] drivers: spi: cf_spi: convert to driver model

2019-03-14 Thread Angelo Dureghello
Converting to driver model and removes non-dm code. Reviewed-by: Simon Glass Signed-off-by: Angelo Dureghello --- Changes for v2: - removed non DM code part - add default setup of CTAR registers - add DT CTAR register setup support Changes for v3: - changed commit head - removed spi_slave refere

Re: [U-Boot] [PATCH] usb: host: Print device name when scanning

2019-03-14 Thread Ismael Luceno Cortes
On 18/Feb/2019 09:23, Ismael Luceno Cortes wrote: > Signed-off-by: Ismael Luceno > --- > drivers/usb/host/usb-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c > index 611ea97a72..0575f5393b 100644 > --

Re: [U-Boot] [PATCH 1/3] ARM: rmobile: Switch CPU to non-secure HYP mode for r8a7790 based boards

2019-03-14 Thread Oleksandr
On 14.03.19 02:16, Marek Vasut wrote: On 2/12/19 8:52 PM, Oleksandr wrote: Hi, Hi [...] I was thinking about this whole PSCI situation and how it's all implemented today. Basically what we do is generate a separate reduced shred of U-Boot, which will remain resident in memory and which co

Re: [U-Boot] [linux-sunxi] [PATCH 1/3] arm: sunxi: Allow per-platform DRAM ZQ configuration on sun8i

2019-03-14 Thread Paul Kocialkowski
Hi Julian, On Thu, 2019-03-14 at 22:19 +1100, Julian Calaby wrote: > Hi Paul, > > On Thu, Mar 14, 2019 at 9:37 PM Paul Kocialkowski > wrote: > > A few sun8i platforms define specific default DRAM ZQ values, but they > > are not taken in account because of MACH_SUN8I being used for the 123 > > de

Re: [U-Boot] [linux-sunxi] [PATCH 1/3] arm: sunxi: Allow per-platform DRAM ZQ configuration on sun8i

2019-03-14 Thread Julian Calaby
Hi Paul, On Thu, Mar 14, 2019 at 9:37 PM Paul Kocialkowski wrote: > > A few sun8i platforms define specific default DRAM ZQ values, but they > are not taken in account because of MACH_SUN8I being used for the 123 > default first. > > Replace MACH_SUN8I with the list of platforms that don't have s

Re: [U-Boot] RPi Compute Module DTB naming scheme

2019-03-14 Thread Matthias Brugger
On 13/03/2019 22:14, Stefan Wahren wrote: > Hi, > > recently i stumbled upon this issue [1] in Arch Linux. The obvious issue is > the difference of the DTB naming between U-Boot und Linux. > > From my point of view is that the Compute Module is only a SoM and not > runnable standalone. So the

[U-Boot] [RESEND][PATCH v1 4/4] ARM: dts: stm32: Remove g-tx-fifo-size from stm32mp157c-ev1-u-boot

2019-03-14 Thread Patrice Chotard
As dwc2_udc_otg driver has been updated and is able to manage an array of tx-fifo-size, g-tx-fifo-size doesn't need to be overloaded anymore in u-boot DT file. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch

[U-Boot] [RESEND][PATCH v1 3/4] board: stm32mp1: Add tx_fifo_sz_array support

2019-03-14 Thread Patrice Chotard
Allows to use an array of tx-fifo-size defined in device tree as following: g-tx-fifo-size = <128 128 64 64 64 64 32 32>; Signed-off-by: Patrice Chotard --- board/st/stm32mp1/stm32mp1.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/board/st/stm32mp1/stm32mp1

[U-Boot] [RESEND][PATCH v1 2/4] usb: dwc2_udc_otg: Add tx_fifo_sz array support

2019-03-14 Thread Patrice Chotard
All TX fifo size can be different, add tx_fifo_sz_array[] into dwc2_plat_otg_data to be able to set them. tx_fifo_sz_array[] is 17 Bytes long and can contains max 16 tx fifo size (synopsys IP supports max 16 IN endpoints). First entry of tx_fifo_sz_array[] is the number of valid fifo size the arra

[U-Boot] [RESEND][PATCH v1 1/4] usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register

2019-03-14 Thread Patrice Chotard
Some DWC2 ip variant doesn't use 16 hardware endpoint as hardcoded in the driver. Bits INEps [29:26] of HWCFG4 register allows to get this information. Signed-off-by: Patrice Chotard --- drivers/usb/gadget/dwc2_udc_otg.c | 7 ++- drivers/usb/gadget/dwc2_udc_otg_priv.h | 1 - drivers/

[U-Boot] [RESEND][PATCH v1 0/4] usb: dwc2_udc_otg: Add tx_fifo_sz array support

2019-03-14 Thread Patrice Chotard
dwc2 bindings specifies that g-tx-fifo-size is an array of tx fifo size for endpoint (except ep0) as shown below: - g-tx-fifo-size = <256 128 128 64 64 32>; Current implementation apply the same fifo size to all tx fifo. In order to apply different fifo size, introduce a tx_fifo_sz array filled

[U-Boot] [PATCH v5 10/13] configs: remove CONFIG_SYS_DSPI_XX references

2019-03-14 Thread Angelo Dureghello
This patch removes CONFIG_SYS_DSPI_XX options from include/configs "m68k" .h board files, since CTAR registers are now set with default values in the cf_spi driver initialization, and configurable by devicetree. Note, these options cannot be totally removed from the whitelist, since still used fro

[U-Boot] [PATCH v5 04/13] m68k: enabling long jumps on mcf54x5 SoCs

2019-03-14 Thread Angelo Dureghello
Growing of binary size asks for long assembly jumps. Reviewed-by: Simon Glass Signed-off-by: Angelo Dureghello --- Changes for v2: - new patch Changes for v3: - none Changes for v4: - none Changes for v5: - none --- arch/m68k/cpu/mcf547x_8x/start.S | 6 -- 1 file changed, 4 insertions(+), 2

[U-Boot] [PATCH] arm: sunxi: Add support for the RerVision H3-DVK board

2019-03-14 Thread Paul Kocialkowski
This is an H3-based board that sticks close to the reference design. Supported features: * UART * DRAM * MMC * eMMC * Ethernet * USB host * USB peripheral * HDMI Signed-off-by: Paul Kocialkowski --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-h3-rervision-dvk.dts | 107

[U-Boot] [PATCH] phy: sun4i-usb: Fix PHY0 routing and passby configuration for MUSB

2019-03-14 Thread Paul Kocialkowski
Recent Allwinner platforms (starting with the H3) only use the MUSB controller for peripheral mode and use HCI for host mode. As a result, extra steps need to be taken to properly route USB signals to one or the other. More precisely, the following is required: * Routing the pins to either HCI/MUSB

[U-Boot] [PATCH 3/3] arm: sunxi: Enable DRAM ODT by default on H3/H5

2019-03-14 Thread Paul Kocialkowski
Most of the boards we support with H3/H5 enable DRAM on-die termination, which is consistent with the high DRAM clocks that are used. Make it the default (like it's done for other similar platforms) instead of defining it in each defconfig. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-sun

[U-Boot] [PATCH 2/3] arm: sunxi: Set the default DRAM ZQ value to 3881979 on H3/H5

2019-03-14 Thread Paul Kocialkowski
Most H3/H5 boards we support have the DRAM ZQ value set to 3881979, which is also consistent with the default set for the R40. Make this value the default on H3/H5 instead of 123. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-sunxi/Kconfig | 5 ++--- configs/bananapi_m2_p

[U-Boot] [PATCH 1/3] arm: sunxi: Allow per-platform DRAM ZQ configuration on sun8i

2019-03-14 Thread Paul Kocialkowski
A few sun8i platforms define specific default DRAM ZQ values, but they are not taken in account because of MACH_SUN8I being used for the 123 default first. Replace MACH_SUN8I with the list of platforms that don't have specific DRAM ZQ values, to avoid overwriting the default for those that do. Si

Re: [U-Boot] passing info from SPL to U-Boot

2019-03-14 Thread Simon Glass
Hi Heiko, On Tue, 12 Mar 2019 at 02:50, Heiko Schocher wrote: > > Hello Simon, Tom, > > Am 12.03.2019 um 09:21 schrieb Heiko Schocher: > > Hello Simon, Tom, > > > > I am just stumbeld on an am437x basd board over the problem to pass > > the bootmode from SPL to U-Boot. On am437x the bootmode info

[U-Boot] [PATCH] MAINTAINERS: Remove unsupported statuses - Odd Fixes and Obsolete

2019-03-14 Thread Krzysztof Kozlowski
The MAINTAINERS file was copied from Linux Kernel along with all its statuses of maintainership. However tools/genboardscfg.py accepts only Maintained, Supported and Orphan. Remove then the Odd Fixes and Obsolete from MAINTAINERS file to avoid confusion. Signed-off-by: Krzysztof Kozlowski ---

Re: [U-Boot] please pull u-boot-samsung master

2019-03-14 Thread Krzysztof Kozlowski
On Thu, 14 Mar 2019 at 01:32, Tom Rini wrote: > > On Tue, Mar 12, 2019 at 05:23:37PM +0900, Minkyu Kang wrote: > > > Hi Tom, > > > > The following changes since commit e8e3f2d2d48f97b2c79b698eccedce8f4f880993: > > > > Merge branch '2019-03-08-master-imports' (2019-03-08 18:04:13 -0500) > > > > a

[U-Boot] [PATCH] Revert "fs: fat: support write with non-zero offset"

2019-03-14 Thread Faiz Abbas
This reverts commit cb8af8af5ba03ae8e0a7315b66bfcc46d5c55627. fatwrites after this patch corrupt images. A fatwrite followed by a fatload and compare yields different data. Reproduce it with: =>fatwrite mmc 0 0x8200 test_32M 0x200; =>fatload mmc 0 0x8400 test_32M; =>cmp.b 8200 840

Re: [U-Boot] [PATCH] arndale: fix unknown status

2019-03-14 Thread Krzysztof Kozlowski
On Thu, 14 Mar 2019 at 09:15, Minkyu Kang wrote: > > Hi, > > On 14/03/2019 16:38, Krzysztof Kozlowski wrote: > > On Thu, 14 Mar 2019 at 05:10, Minkyu Kang wrote: > >> > >> On 14/03/2019 09:44, Minkyu Kang wrote: > >>> set status to Maintained > >>> > >>> Signed-off-by: Minkyu Kang > >>> Cc: Krzy

Re: [U-Boot] [PATCH 00/10] Update Stratix 10 SDRAM driver

2019-03-14 Thread Simon Goldschmidt
On Thu, Mar 14, 2019 at 9:21 AM Ley Foon Tan wrote: > > On Tue, 2019-03-12 at 12:08 +0100, Simon Goldschmidt wrote: > > On Tue, Mar 12, 2019 at 9:31 AM Ley Foon Tan > > wrote: > > > > > > > > > This patchset update Stratix 10 SDRAM driver to support: > > > - Multi-banks memory (Patch [1-8]) > > >

Re: [U-Boot] [PATCH 00/10] Update Stratix 10 SDRAM driver

2019-03-14 Thread Ley Foon Tan
On Tue, 2019-03-12 at 12:08 +0100, Simon Goldschmidt wrote: > On Tue, Mar 12, 2019 at 9:31 AM Ley Foon Tan > wrote: > > > > > > This patchset update Stratix 10 SDRAM driver to support: > > - Multi-banks memory (Patch [1-8]) > >   - Stratix 10 support up to 2 memory banks: > > Bank 0: Add

[U-Boot] [PATCH] ARM: zynq: Check zynq aes & rsa command parameters count

2019-03-14 Thread Michal Simek
From: T Karthik Reddy This patch checks for zynq aes & rsa commands max parameters count. Also checks minimum number of parameters count for aes command. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynq/cmds.c | 9 +++

[U-Boot] [PATCH] arm64: zynqmp: Use zynqmp_mmio_read/write functions

2019-03-14 Thread Michal Simek
From: T Karthik Reddy Changed the return type of reset_reason() to int from u32, because zynqmp_mmio_read/write() returns signed value on error. Replaced readl and writel functions with zynqmp_mmio_read & zynqmp_mmio_write functions to access RESET_REASON(CRL_APB) registers. Signed-off-by: T Kar

[U-Boot] [PATCH] i2c: i2c_cdns: Fix below warnings with checker tool

2019-03-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch fixes below warnings found with checker tool. The variable len in i2c_msg struct is of unsigned type and it is received as recv_count which is unsigned type but it is checked with < 0 which is always false, hence removed it. The local variable curr_recv

Re: [U-Boot] [PATCH] arndale: fix unknown status

2019-03-14 Thread Minkyu Kang
Hi, On 14/03/2019 16:38, Krzysztof Kozlowski wrote: > On Thu, 14 Mar 2019 at 05:10, Minkyu Kang wrote: >> >> On 14/03/2019 09:44, Minkyu Kang wrote: >>> set status to Maintained >>> >>> Signed-off-by: Minkyu Kang >>> Cc: Krzysztof Kozlowski >>> --- >>> board/samsung/arndale/MAINTAINERS | 2 +-

Re: [U-Boot] [PATCH 2/3] mmc: split fsl_esdhc driver for i.MX

2019-03-14 Thread Y.b. Lu
Hi Stefano, > -Original Message- > From: Stefano Babic > Sent: Wednesday, March 13, 2019 7:53 PM > To: Y.b. Lu ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/3] mmc: split fsl_esdhc driver for i.MX > > Hi Y.B lu, > > On 21/02/19 08:55, Y.b. Lu wrote: > > The fsl_esdhc driver wa

Re: [U-Boot] [PATCH] arndale: fix unknown status

2019-03-14 Thread Krzysztof Kozlowski
On Thu, 14 Mar 2019 at 05:10, Minkyu Kang wrote: > > On 14/03/2019 09:44, Minkyu Kang wrote: > > set status to Maintained > > > > Signed-off-by: Minkyu Kang > > Cc: Krzysztof Kozlowski > > --- > > board/samsung/arndale/MAINTAINERS | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > >

Re: [U-Boot] EXT: Re: [PATCH 13/13] bootcount: i2c: Delay after writing

2019-03-14 Thread Ray, Ian (GE Healthcare)
> On 13 Mar 2019, at 15.42, Stefano Babic wrote: > > On 13/03/19 14:01, Heiko Schocher wrote: >> Hello Stefano, >> >> Am 13.03.2019 um 11:04 schrieb Stefano Babic: >>> Hi Ian, >>> >>> On 31/01/19 15:21, Ian Ray wrote: Since 2018.11, the pattern of bootcount load and store has changed suc

Re: [U-Boot] [PATCH 1/1] efi_loader: fix build error for freestanding.o

2019-03-14 Thread Andy Shevchenko
On Thu, Mar 14, 2019 at 8:43 AM Heinrich Schuchardt wrote: > > Since commit f51a226436a87 ("efi_loader: provide freestanding library") in > parallel builds errors > > lib/efi_selftest/../efi_loader/efi_freestanding.o: > file not recognized: File truncated > > occur. Obviously make cannot c