Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-15 Thread Bin Meng
On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: > > Due to constant influx of more and more weird and broken USB sticks, > do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 > > usb: storage: scsiglue: further describe our 240 sector limit > > Just so we have some sort

Re: [U-Boot] [PATCH] board: atmel: common: remove year from print message

2019-09-15 Thread Eugen.Hristev
On 28.08.2019 11:34, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > Remove 2017 from being printed at boot video console. > This is outdated. > To avoid this situation, remove the year completely. > > Signed-off-by: Eugen Hristev > --- Applied to u-boot-atmel/next __

Re: [U-Boot] [PATCH] board: atmel: sama5d27_wlsom1_ek: fix SPL OFFS on SPI

2019-09-15 Thread Eugen.Hristev
On 11.09.2019 16:02, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > Fixes redefinition of CONFIG_SYS_SPI_U_BOOT_OFFS > This is now a Kconfig > > Fixes: 3e541a6e8fba ("board: atmel: sama5d2_wlsom1_ek: add qspi support and > qspi boot config") > Signed-off-by: Eugen Hristev > --- >

Re: [U-Boot] [PATCH] configs: sama5d27_wlsom1_ek: add CONFIG_SPL_AT91_MCK_BYPASS

2019-09-15 Thread Eugen.Hristev
On 04.09.2019 11:19, Eugen Hristev - M18282 wrote: > From: Eugen Hristev Applied to u-boot-atmel/next ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] imx: fix missing MAINTAINERS pico boards

2019-09-15 Thread Peng Fan
Hi Stefano, +u-boot mail list. > Subject: [PATCH] imx: fix missing MAINTAINERS pico boards > > Add missing files pico-nymph-imx7d_defconfig and > c>onfigs/pico-dwarf-imx7d_defconfig > > Signed-off-by: Stefano Babic > CC: Fabio Estevam > CC: Otavio Salvador > --- > board/technexion/pico-imx7

Re: [U-Boot] [PATCH v4 3/4] SDP: fix wrong usb request size and add high speed endpoint descriptor

2019-09-15 Thread Sherry Sun
Hi Lukasz, Ping. Any comments on V4? Best regards Sherry Sun > > Because the buffer length of sdp usb request is 65, we have to allocate > 65 bytes not 64 bytes. Otherwise there is potential buffer overflow. > > So the wMaxPacketSize of fullspeed can't meet the needs. Add HS endpoint > descrip

Re: [U-Boot] [PATCH] core: device: support multiple power domains for one device

2019-09-15 Thread Peng Fan
> Subject: [PATCH] core: device: support multiple power domains for one device Ping.. Thanks, Peng. > > When device has multiple power domains, power_domain_get could not able > to support that. So let's iterate each power domain and enable it. > > Signed-off-by: Peng Fan > --- > drivers/core

[U-Boot] [PATCH 17/17] imx: add i.MX8MN DDR4 board support

2019-09-15 Thread Peng Fan
Support pinctrl/clk/sdhc, include ddr4 timing data. Log: U-Boot SPL 2019.10-rc3-00356-g497c500423-dirty (Sep 16 2019 - 10:54:58 +0800) Normal Boot Trying to boot from BOOTROM image offset 0x8000, pagesize 0x200, ivt offset 0x0 U-Boot 2019.10-rc3-00356-g497c500423-dirty (Sep 16 2019 - 10:54:58 +08

[U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN

2019-09-15 Thread Peng Fan
Add dtsi for i.MX8MN Signed-off-by: Peng Fan --- arch/arm/dts/imx8mn-pinfunc.h| 646 arch/arm/dts/imx8mn.dtsi | 712 +++ include/dt-bindings/clock/imx8mn-clock.h | 215 ++ 3 files changed, 1573 insertion

[U-Boot] [PATCH 15/17] imx8m: add i.MX8MN ddr4 image cfg file

2019-09-15 Thread Peng Fan
Add cfg file for i.MX8MN DDR4 Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/imximage-8mn-ddr4.cfg | 17 + 1 file changed, 17 insertions(+) create mode 100644 arch/arm/mach-imx/imx8m/imximage-8mn-ddr4.cfg diff --git a/arch/arm/mach-imx/imx8m/imximage-8mn-ddr4.cfg b/arch/a

[U-Boot] [PATCH 14/17] clk: imx: add i.MX8MN ccf driver

2019-09-15 Thread Peng Fan
Add i.MX8MM ccf driver support. Modifed from Linux Kernel 5.3.0-rc1, drop some entries that not used in U-Boot and adapt to U-Boot CCF style. Signed-off-by: Peng Fan Cc: Lukasz Majewski --- drivers/clk/imx/Kconfig | 16 ++ drivers/clk/imx/Makefile | 2 + drivers/clk/imx/clk-imx8mn.c

[U-Boot] [PATCH 13/17] tools: imx8m_image: support ddr4 firmware

2019-09-15 Thread Peng Fan
some boards use ddr4, not lpddr4, so we need to check ddr4 firmware. Signed-off-by: Peng Fan --- tools/imx8m_image.sh | 10 ++ 1 file changed, 10 insertions(+) diff --git a/tools/imx8m_image.sh b/tools/imx8m_image.sh index 08a6a48180..603ba6e8f4 100755 --- a/tools/imx8m_image.sh +++ b/t

[U-Boot] [PATCH 12/17] pinctrl: imx8m: support i.MX8MN

2019-09-15 Thread Peng Fan
Support i.MX8MN in imx8m pinctrl driver Signed-off-by: Peng Fan --- drivers/pinctrl/nxp/pinctrl-imx8m.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/nxp/pinctrl-imx8m.c b/drivers/pinctrl/nxp/pinctrl-imx8m.c index 8bb03b7a62..b3844314b3 100644 --- a/drivers/pinctrl/nxp/pin

[U-Boot] [PATCH 11/17] tools: imx8mimage: add ROM VERSION

2019-09-15 Thread Peng Fan
The IVT offset is changed on i.MX8MN. Use ROM_VERSION to pass the v1 or v2 to mkimage. v1 is for iMX8MQ and iMX8MM v2 is for iMX8M Nano (iMX8MN) Signed-off-by: Peng Fan --- include/imximage.h | 1 + tools/imx8mimage.c | 24 ++-- 2 files changed, 23 insertions(+), 2 deletions

[U-Boot] [PATCH 10/17] imx8mn: add get_boot_device

2019-09-15 Thread Peng Fan
No ROM INFO structure on iMX8MN, use new ROM API to get boot device from ROM. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c i

[U-Boot] [PATCH 09/17] imx: cpu: restrict get_boot_device

2019-09-15 Thread Peng Fan
i.MX8MN has its own get_boot_device, so restrict with i.MX8MQ and i.MX8MM. Signed-off-by: Peng Fan --- arch/arm/mach-imx/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index 1a36bc54fc..9df3f40b54 100644 --- a/arch/arm/

[U-Boot] [PATCH 08/17] imx: add rom api support

2019-09-15 Thread Peng Fan
i.MX8MN support loading images with rom api, so we implement reuse board_return_to_bootrom to let ROM loading images. Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/sys_proto.h | 33 arch/arm/mach-imx/Kconfig | 4 + arch/arm/mach-imx/Makefile|

[U-Boot] [PATCH 06/17] imx8mn: add pin header

2019-09-15 Thread Peng Fan
Add pin header for i.MX8MN Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx8mn_pins.h | 763 ++ 1 file changed, 763 insertions(+) create mode 100644 arch/arm/include/asm/arch-imx8m/imx8mn_pins.h diff --git a/arch/arm/include/asm/arch-imx8m/imx8mn_pins.h

[U-Boot] [PATCH 07/17] imx: spl: use spl_board_boot_device for i.MX8MN

2019-09-15 Thread Peng Fan
i.MX8MN follow same logic as i.MX8MM, so use spl_board_boot_device Signed-off-by: Peng Fan --- arch/arm/mach-imx/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 7ada60d7a2..15abf98649 100644 --- a/arch/arm/mach-imx

[U-Boot] [PATCH 05/17] imx: add i.MX8MN PE property

2019-09-15 Thread Peng Fan
i.MX8MN does not have LVTTL, it has a PE property Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/iomux-v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h b/arch/arm/include/asm/mach-imx/iomux-v3.h index 720e8f7043..3d5586

[U-Boot] [PATCH 03/17] imx8m: add clk support for i.MX8MN

2019-09-15 Thread Peng Fan
i.MX8MN has similar architecture with i.MX8MM, so it could reuse the clock code of i.MX8MM, but i.MX8MN has different CCM root configurations, so need a separate root entry. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/clock.h| 2 +- arch/arm/include/asm/arch-imx8m/clock_

[U-Boot] [PATCH 04/17] imx8mn: set BYPASS ID SWAP to avoid AXI bus errors

2019-09-15 Thread Peng Fan
Set the BYPASS ID SWAP bit (GPR10 bit 1) in order for GPU not to generated AXI bus errors with TZC380 enabled. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc

[U-Boot] [PATCH 02/17] imx8mn: support get_cpu_rev

2019-09-15 Thread Peng Fan
Add a dummy cpu type and support get_cpu_rev for i.MX8MN Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/include/asm/mach-imx/sys_proto.h | 1 + arch/arm/mach-imx/cpu.c | 2 ++ arch/arm/mach-imx/imx8m/soc.c | 4 +++- 4 files cha

[U-Boot] [PATCH 01/17] imx: add i.MX8MN kconfig entry

2019-09-15 Thread Peng Fan
Add i.MX8MN kconfig entry Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index f520075875..b0932f1647 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm

[U-Boot] [PATCH 00/17] Add i.MX8MN support

2019-09-15 Thread Peng Fan
This patchset is to support i.MX8MN This is a splitted patchset from http://u-boot.10912.n7.nabble.com/PATCH-00-52-Support-i-MX8MM-N-td374879.html with clk converted to ccf. i.MX8MN has similar architecture as i.MX8MM, but it supports romapi load and no HDMI. This patchset is developed based on i.

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-09-15 Thread Breno Matheus Lima
Hi Igor, Em qui, 12 de set de 2019 às 10:55, Igor Opaniuk escreveu: > > Hy Bryan, Breno, > > On Tue, Jul 30, 2019 at 5:33 PM Bryan O'Donoghue > wrote: > > > > > > > > On 30/07/2019 15:26, Igor Opaniuk wrote: > > > Anyway, let me go through this article one more time, > > > and I'll get back to y

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

2019-09-15 Thread Jagan Teki
Hi Tom, Please pull this for v2019.10 release. Summary: - fix mvebu_a3700_spi clock prescale (Marek Behún) - unmark MXS_SPI, DEPRECATED (Lukasz) - add spi_write_then_read (Jagan) - fix SST26* flash ICs (Eugeniy) - fix soft_spi data abort (Christophe) The following changes since commit 23b93e33ad

Re: [U-Boot] [PATCH] mmc: dw_mmc: Clean up variable name

2019-09-15 Thread Peng Fan
> Subject: [PATCH] mmc: dw_mmc: Clean up variable name Please at least write some commit message here. Thanks, Peng. > > Signed-off-by: Michael Trimarchi > --- > drivers/mmc/dw_mmc.c | 4 ++-- > include/dwmmc.h | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git

[U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-15 Thread Marek Vasut
Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 usb: storage: scsiglue: further describe our 240 sector limit Just so we have some sort of documentation as to why we limit our Mass Storage transfe

[U-Boot] [PULL] u-boot-sh/master

2019-09-15 Thread Marek Vasut
The following changes since commit 87d5b225585f341ea8e926a2c26fb72585fc9d0c: MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers (2019-09-13 10:14:45 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to b32882dadbcbef9e

[U-Boot] [PATCH] mmc: dw_mmc: Clean up variable name

2019-09-15 Thread Michael Trimarchi
Signed-off-by: Michael Trimarchi --- drivers/mmc/dw_mmc.c | 4 ++-- include/dwmmc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index ebe7bcdd90..e5b532a862 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @

[U-Boot] [PATCH] rockchip: dts: rk3288-tinker: Fix peripheral that need to be configured at boot

2019-09-15 Thread Michael Trimarchi
Tinker board needs to mux all the sdmmc gpio and activate the regulator connected to bank 7. Remove all the bank that are not in use an mark dm,spl the part that need to run there Signed-off-by: Michael Trimarchi --- arch/arm/dts/rk3288-tinker-u-boot.dtsi | 26 +++--- configs

Re: [U-Boot] [PATCH] Update MAINTAINERS to include environment files

2019-09-15 Thread Wolfgang Denk
Dear Joe, In message <20190913195448.39407-1-joe.hershber...@ni.com> you wrote: > To be maintained by me (Joe) and Wolfgang Denx > > Signed-off-by: Joe Hershberger > --- > > MAINTAINERS | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index e752e4b

[U-Boot] [PATCH] dm: pinctrl: Skip not associated gpio phandle and rise an error message

2019-09-15 Thread Michael Trimarchi
Skip not associated gpio phandle let register the other gpios and the error message add some information to debug the problem using a decompiled version of the dts dtc -I dtb -O dts -o devicetree.dts spl/u-boot-spl.dtb Signed-off-by: Michael Trimarchi --- drivers/pinctrl/pinctrl-uclass.c | 14 +