Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-05 Thread Patrice CHOTARD
Hi Anatolij On 03/05/2018 11:51 PM, Anatolij Gustschin wrote: > On Fri, 2 Mar 2018 16:44:01 +0100 > yannick fertre yannick.fer...@st.com wrote: > >> Version 2: >> - Replace debug log by pr_error, pr_warn or pr_info. >> - Rework bridge between ltdc & dsi panel >> - Rework backligh management

Re: [U-Boot] [PATCH 2/2] usb: xhci-dwc3: Enable USB3 PHY when available

2018-03-05 Thread Bin Meng
Hi Vignesh, On Mon, Mar 5, 2018 at 7:27 PM, Vignesh R wrote: > DWC3 USB3 controllers will need USB3 PHY to be enabled, in addition to > USB2 PHY, to be functional. Therefore enable USB3 PHY when available. > > Signed-off-by: Vignesh R > --- >

Re: [U-Boot] [PATCH 1/2] usb: xhci-dwc3: Power on USB PHY before using

2018-03-05 Thread Bin Meng
On Mon, Mar 5, 2018 at 7:27 PM, Vignesh R wrote: > It is wrong that expect phy init to also power on the PHY. Therefore, > explicitly, call generic_phy_power_on() after generic_phy_power_init() in > order to power on PHY before using it. > > Signed-off-by: Vignesh R

[U-Boot] [PATCH] treewide: Fix gdsys mail addresses

2018-03-05 Thread Mario Six
From: Mario Six The @gdsys.cc addresses are supposed to be used for mailing lists. Switch all occurrences of @gdsys.de mail addresses to their @gdsys.cc equivalent. Also, Dirk's address was wrong in one place; fix that as well. Signed-off-by: Mario Six ---

[U-Boot] [PATCH] core: ofnode: Fix translation for #size-cells == 0

2018-03-05 Thread Mario Six
Commit 286ede6 ("drivers: core: Add translation in live tree case") made dev_get_addr always use proper bus translations for addresses read from the device tree. But this leads to problems with certain busses, e.g. I2C busses, which run into an error during translation, and hence stop working. It

Re: [U-Boot] [PATCH v10 03/27] mtd: add SPI-NOR core support

2018-03-05 Thread Jagan Teki
On Wed, Feb 28, 2018 at 3:12 PM, Prabhakar Kushwaha wrote: > [Resending on correct patch of the patch-set] > > Dear Jagan, > > >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jagan >> Teki >> Sent: Thursday, December 28,

Re: [U-Boot] [PATCH v10 03/27] mtd: add SPI-NOR core support

2018-03-05 Thread Prabhakar Kushwaha
Dear Jagan, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, February 28, 2018 5:40 PM > To: Prabhakar Kushwaha ; Jagan Teki > ; Cyrille Pitchen > >

Re: [U-Boot] [PATCH 0/3] clk: at91: add usb and plladiv drivers

2018-03-05 Thread Wenyou Yang
Hi, Do you have any comments? On 2/9/2018 11:34 AM, Wenyou Yang wrote: In order to provide the clocks UHP48MHz and UHP12MHz to the USB Host OHCI, add the USB clock and PLLADIV clock driver. Wenyou Yang (3): clk: at91: add USB Host clock driver clk: at91: add PLLADIV driver clk:

Re: [U-Boot] [PATCH 1/2] mmc: add HS400 support

2018-03-05 Thread Peng Fan
Hi, On Mon, Mar 05, 2018 at 05:29:08PM +0100, Jean-Jacques Hiblot wrote: >Hi Peng, > >I'm glad you are adding HS400 support. Thanks. > > >On 05/03/2018 10:11, Peng Fan wrote: >>Add HS400 support. >>Selecting HS400 needs first select HS199 according to spec, so use >>a dedicated function for

[U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-05 Thread Tom Rini
Hey all, It's release day and I've released v2018.03-rc4. I've included a few different regression fixes I've seen along with some fixes and cleanups. I would like to do the release on March 12th, and likely will so long as no big regressions show up. I am worried about the RPi3 issue I've seen

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

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 09:33:12PM +0100, Marek Vasut wrote: > Hi, > > below is the final PR for 2018.03 from me. It adds R8A77965 M3N and a > matching board. All that are mostly various IDs, since on this level the > SoC is ~compatible with 7796 . There are two critical fixes though, the > PFC

Re: [U-Boot] [PATCH 00/16] arm: stm32mp1: add initial support for STM32MP157

2018-03-05 Thread Vikas Manocha
Hi Patrick, On 03/05/2018 06:24 AM, Patrick Delaunay wrote: > > This patch-set adds initial support of STMicroelectronics STM32MP157 > microprocessor (MPU) > - add new arm arch stm32mp1 (based on armv7) > - support for stm32mp157 SOC (based on Cortex-A7) > - add minimal support for board

Re: [U-Boot] Whitelist scripting

2018-03-05 Thread Tuomas Tynkkynen
Hi, On Mon, 5 Mar 2018 14:08:20 -0600 Adam Ford wrote: ... > > What I was hoping to do was help clean the whitelist table by first > searching for #defines that are never used anywhere and/or are dead.I > will be the first person to admit that I am not very good with shell

[U-Boot] [PATCH 3/3] ARM: Drop unreferenced CONFIG_* defines named after boards

2018-03-05 Thread Tuomas Tynkkynen
The following config symbols are only defined once and never referenced anywhere else: CONFIG_AT91SAM9263EK CONFIG_AT91SAM9RLEK CONFIG_BARIX_IPAM390 CONFIG_BOARD_H2200 CONFIG_EP9301 CONFIG_KZM_A9_GT CONFIG_PICOSAM CONFIG_PLATINUM_PICON CONFIG_PLATINUM_TITANIUM CONFIG_PM9261 CONFIG_PM9263

[U-Boot] [PATCH 1/3] MIPS: Drop unreferenced CONFIG_* defines

2018-03-05 Thread Tuomas Tynkkynen
The following config symbols are only defined once and never referenced anywhere else: CONFIG_DBAU1X00 CONFIG_PB1X00 Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen

[U-Boot] [PATCH 2/3] ARM: Drop unreferenced CONFIG_* defines named after SoCs

2018-03-05 Thread Tuomas Tynkkynen
The following config symbols are only defined once and never referenced anywhere else: CONFIG_ARM926EJS CONFIG_CPUAT91 CONFIG_EXYNOS5800 CONFIG_SYS_CORTEX_R4 Most of them are config symbols named after the respective SoCs which seems to have been a standard practice at some point.

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-05 Thread Anatolij Gustschin
On Fri, 2 Mar 2018 16:44:01 +0100 yannick fertre yannick.fer...@st.com wrote: > Version 2: > - Replace debug log by pr_error, pr_warn or pr_info. > - Rework bridge between ltdc & dsi panel > - Rework backligh management (with or witout gpio) > - Rework panel otm8009a > - Add new panel raydium

Re: [U-Boot] [PATCH v2 0/9] splash screen on the stm32f746 disco board

2018-03-05 Thread Anatolij Gustschin
On Fri, 2 Mar 2018 15:59:20 +0100 yannick fertre yannick.fer...@st.com wrote: > Version 2: > - Add patch to display bitmap stmicroelectronics_uboot_logo_8bit_rle > - Add patch to defconfig to add splash screen > - Rename panel in dts. > > Version 1: > - Initial commit > > This serie contains

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-05 Thread Jon Cormier
Because someone was wondering what the usb speed was in linux. My kernel is based on 3.2. Note I have USB DMA disabled so that doesn't help the speed. Not sure if u-boot is using DMA but I'd guess not. ADB over usb $ time adb -s 16019491 push userdata.img /mnt/obb/ userdata.img: 1 file pushed.

Re: [U-Boot] U-Boot

2018-03-05 Thread Mariano Coromac
I changed fdt_high but got the same result. I wrote my device tree, added it into the makefile and copy the sama5d2.config with my board name. I also got rid of all the unnecessary stuff. I'm now using the correct .dtb file (in arch/arm/boot/dts/) My device tree stdout-path does point into my

[U-Boot] [PATCH] ARM: qemu-arm: Increase CONFIG_SYS_CBSIZE

2018-03-05 Thread Tuomas Tynkkynen
CONFIG_SYS_CBSIZE determines the maximum length of the kernel command line, and the default value of 256 is too small for booting some Linux images in the wild. Signed-off-by: Tuomas Tynkkynen -- Hoping to get this in 2018.03. --- include/configs/qemu-arm.h | 2 ++ 1

[U-Boot] Default CONFIG_SYS_CBSIZE too low

2018-03-05 Thread Tuomas Tynkkynen
Hi, I was playing around with qemu_arm and qemu_arm64 and noticed some images using the distro bootcmd infrastructure failed to boot there due to the buffer for kernel command line arguments (which is determined by CONFIG_SYS_CBSIZE) was too small. I found this odd given the images worked on some

[U-Boot] [PATCH] Cleanup Whitelist entries

2018-03-05 Thread Adam Ford
There are several items in the whitelist which don't appear to be used anywhere outside of the whitelist itself. These include: CONFIG_IMX_NAND CONFIG_MXS_AUART CONFIG_MXS_AUART_BASE CONFIG_NORFLASH_PS32BIT CONFIG_QSPI CONFIG_REV3 CONFIG_SIMU CONFIG_STV0991 CONFIG_SYS_MEMORY_TOP

Re: [U-Boot] [PATCH v3 13/13] configs: ls1012a: add pfe configuration for LS1012A

2018-03-05 Thread Joe Hershberger
On Sat, Mar 3, 2018 at 11:43 AM, Calvin Johnson wrote: > Add configurations for PFE. > > Signed-off-by: Calvin Johnson > Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 10/13] armv8: fsl-lsch2: add pfe macros and update ccsr_scfg structure

2018-03-05 Thread Joe Hershberger
On Sat, Mar 3, 2018 at 11:43 AM, Calvin Johnson wrote: > SoC specific PFE macros are defined and structure ccsr_scfg > is updated with members defined for PFE. > > Signed-off-by: Calvin Johnson > Signed-off-by: Anjaneyulu Jagarlmudi

Re: [U-Boot] [PATCH v3 09/13] board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb

2018-03-05 Thread Joe Hershberger
On Sat, Mar 3, 2018 at 11:43 AM, Calvin Johnson wrote: > This patch enables ethernet support for ls1012a2g5rdb. > > Signed-off-by: Calvin Johnson > Signed-off-by: Bhaskar Upadhaya Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-05 Thread Ruslan Bilovol
On Mon, Mar 5, 2018 at 6:00 PM, Jonathan Cormer wrote: > On Sat, 2018-03-03 at 12:00 +, u-boot-requ...@lists.denx.de wrote: >> >> On 1 March 2018 at 16:33, Tom Rini wrote: >> > >> > On Thu, Mar 01, 2018 at 04:10:44PM +0200, Ruslan Bilovol wrote:

Re: [U-Boot] [PATCH v3 06/13] board: freescale: ls1012aqds: enable network support on ls1012aqds

2018-03-05 Thread Joe Hershberger
On Sat, Mar 3, 2018 at 11:43 AM, Calvin Johnson wrote: > This patch enables ethernet support for ls1012aqds. > > Signed-off-by: Calvin Johnson > Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 05/13] drivers: net: pfe_eth: LS1012A PFE headers

2018-03-05 Thread Joe Hershberger
On Sat, Mar 3, 2018 at 11:43 AM, Calvin Johnson wrote: > Contains all the pfe header files. > > Signed-off-by: Calvin Johnson > Signed-off-by: Anjaneyulu Jagarlmudi > > --- > > Changes in v3: > -Move pfe_eth header files

[U-Boot] Whitelist scripting

2018-03-05 Thread Adam Ford
I went through my boards to look for junk #defines in the header that do nothing and/or are dead. I then created a pretty poor script that runs through and scans the whitelist and greps the code searching for C code that uses the defines. I started isolating sections and found that in some places

[U-Boot] [PATCH v5 11/15] bmips: bcm6348: add support for bcm6348-enet

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6348.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6348.dtsi

Re: [U-Boot] [RFC v3 01/15] dma: move dma_ops to dma-uclass.h

2018-03-05 Thread Álvaro Fernández Rojas
Hi Grygorii, Thanks for reporting that, it should be fixed on v5. Regards, Álvaro. El 05/03/2018 a las 20:35, Grygorii Strashko escribió: On 02/22/2018 10:18 AM, Simon Glass wrote: On 21 February 2018 at 09:10, Álvaro Fernández Rojas wrote: Move dma_ops to a separate

[U-Boot] [PATCH v5 12/15] bmips: enable ct-5361 enet support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/comtrend,ct-5361.dts| 12 configs/comtrend_ct5361_ram_defconfig | 8 +++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v5 10/15] bmips: enable f@st1704 enet support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/sagem,f...@st1704.dts | 12 configs/sagem_f@st1704_ram_defconfig | 9 - 2 files changed, 20 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH v5 14/15] bmips: enable hg556a enet support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/huawei,hg556a.dts | 12 configs/huawei_hg556a_ram_defconfig | 8 +++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v5 13/15] bmips: bcm6358: add support for bcm6348-enet

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6358.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358.dtsi

[U-Boot] [PATCH v5 09/15] bmips: bcm6338: add support for bcm6348-enet

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6338.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6338.dtsi b/arch/mips/dts/brcm,bcm6338.dtsi

[U-Boot] [PATCH v5 05/15] bmips: bcm6348: add bcm6348-iudma support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6348.dtsi | 16 include/dt-bindings/dma/bcm6348-dma.h | 17 + 2 files changed, 33 insertions(+) create mode

[U-Boot] [PATCH v5 08/15] net: add support for bcm6348-enet

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: Receive as much packets as possible from bcm6348-eth and cache them in net_rx_packets. This is needed in order to fix flow control issues. v4: Fix issues reported by Grygorii Strashko and other fixes: - Copy received dma buffer

[U-Boot] [PATCH v5 15/15] bmips: enable nb4-ser enet support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/sfr,nb4-ser.dts | 24 configs/sfr_nb4-ser_ram_defconfig | 8 +++- 2 files changed, 31 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH v5 03/15] dma: add bcm6348-iudma support

2018-03-05 Thread Álvaro Fernández Rojas
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs. Signed-off-by: Álvaro Fernández Rojas --- v5: Several fixes and improvements: - Remove unused defines. - Increment rx descriptors. - Fix flow control issues. - Error checking now depends on hw. -

[U-Boot] [PATCH v5 07/15] phy: add support for internal phys

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes include/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/phy.h b/include/phy.h index 0543ec10c2..8f3e53db01 100644 --- a/include/phy.h +++

[U-Boot] [PATCH v5 06/15] bmips: bcm6358: add bcm6348-iudma support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6358.dtsi | 18 ++ include/dt-bindings/dma/bcm6358-dma.h | 17 + 2 files changed, 35 insertions(+) create

[U-Boot] [PATCH v5 04/15] bmips: bcm6338: add bcm6348-iudma support

2018-03-05 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6338.dtsi | 14 ++ include/dt-bindings/dma/bcm6338-dma.h | 15 +++ 2 files changed, 29 insertions(+) create mode

[U-Boot] [PATCH v5 02/15] dma: add channels support

2018-03-05 Thread Álvaro Fernández Rojas
This adds channels support for dma controllers that have multiple channels which can transfer data to/from different devices (enet, usb...). Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v5: remove unneeded dma.h include v4: no

[U-Boot] [PATCH v5 01/15] dma: move dma_ops to dma-uclass.h

2018-03-05 Thread Álvaro Fernández Rojas
Move dma_ops to a separate header file, following other uclass implementations. While doing so, this patch also improves dma_ops documentation. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass --- v5: fix build of ti-edma3 (reported by

[U-Boot] [PATCH v5 00/15] bmips: add bcm6348-enet support

2018-03-05 Thread Álvaro Fernández Rojas
In order to add bcm6348-enet support, dma-uclass must be extended to support dma channels and reworked to operate like the other dm uclass (clk, reset...). v5: Fix issues reported by Grygorii Strashko and other fixes: - Fix build of ti-edma3. - Remove unused bcm6348-iudma defines. - Increment

Re: [U-Boot] [RFC v4 01/15] dma: move dma_ops to dma-uclass.h

2018-03-05 Thread Grygorii Strashko
Hi On 03/03/2018 02:59 AM, Álvaro Fernández Rojas wrote: > Move dma_ops to a separate header file, following other uclass > implementations. > While doing so, this patch also improves dma_ops documentation. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Simon Glass

Re: [U-Boot] [RFC v3 01/15] dma: move dma_ops to dma-uclass.h

2018-03-05 Thread Grygorii Strashko
On 02/22/2018 10:18 AM, Simon Glass wrote: > On 21 February 2018 at 09:10, Álvaro Fernández Rojas > wrote: >> Move dma_ops to a separate header file, following other uclass >> implementations. >> While doing so, this patch also improves dma_ops documentation. >> >>

Re: [U-Boot] MPC8315ERDB: Enable DHCP support

2018-03-05 Thread Marek Vasut
On 03/05/2018 07:54 PM, Tom Rini wrote: > On Sun, Mar 04, 2018 at 07:17:52PM +0100, Marek Vasut wrote: > >> From: Ed Bartosh >> >> Enable DHCP support for this board. >> >> Signed-off-by: Ed Bartosh >> Signed-off-by: Marek Vasut

Re: [U-Boot] net: phy: marvell: Fix style violations

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860805/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 1/1] MAINTAINERS: bring sections into alphabetic order

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 08:15:51AM +0100, Heinrich Schuchardt wrote: > POWER should be after ONENAND > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] net: e1000: Fix e1000_igb semaphore handling

2018-03-05 Thread Joe Hershberger
Hi Bernhard, https://patchwork.ozlabs.org/patch/873696/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: smsc: Add SMSC LAN8741 support

2018-03-05 Thread Joe Hershberger
Hi Arno, https://patchwork.ozlabs.org/patch/865881/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] NET: designware: fix clock enable

2018-03-05 Thread Joe Hershberger
Hi Eugeniy, https://patchwork.ozlabs.org/patch/869785/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: DTS: Re-sync logicpd-som-lv with Linux 4.16-rc3

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 04:16:33AM -0600, Adam Ford wrote: > This should clean up a warning about a missing phy-cells > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/logicpd-som-lv.dtsi > b/arch/arm/dts/logicpd-som-lv.dtsi > index 46dae55..c1aa7a4 100644

Re: [U-Boot] omap3_logic: Remove unnecessary undefs

2018-03-05 Thread Tom Rini
On Sun, Mar 04, 2018 at 03:05:38PM -0600, Adam Ford wrote: > Due to evolution of the MMC driver and better support, let's > remove unnecessary undefs. > > Signed-off-by: Adam Ford > > diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h > index

Re: [U-Boot] [U-Boot,3/3] Atmel TPM: Fix potential buffer overruns

2018-03-05 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:56:37PM -0500, Jeremy Boone wrote: > From: Jeremy Boone > > Ensure that the Atmel TPM driver performs sufficient > validation of the length returned in the TPM response header. > This patch prevents memory corruption if the header contains

Re: [U-Boot] [PATCH] Devboards.de DBM-SoC1 BOARD: Add S line

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 10:21:19AM -0500, Tom Rini wrote: > This was missing the 'S' line causing a warning from genboardscfg.py > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] scripts/spelling.txt: Sync script with kernel 4.16-rc4

2018-03-05 Thread Tom Rini
On Sun, Mar 04, 2018 at 10:55:19PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Keep spelling.txt in sync with the version from kernel 4.16-rc4. > > Signed-off-by: Fabio Estevam > Reviewed-by: Heinrich Schuchardt

Re: [U-Boot] gpio: pca953x_gpio: Support label setting from DT

2018-03-05 Thread Tom Rini
On Thu, Mar 01, 2018 at 02:45:04PM +0100, Mario Six wrote: > The PCA953x driver uses "gpio@%x_" as the GPIO bank name, where "%x" is > instantiated with the I2C address of the chip. While this works, it > becomes very confusing if a board has multiple PCAs with the same > address on different I2C

Re: [U-Boot] spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the U-boot CONFIG

2018-03-05 Thread Tom Rini
On Fri, Feb 16, 2018 at 09:17:44PM +0530, Faiz Abbas wrote: > Rename CONFIG_SPL_USBETH_SUPPORT to CONFIG_SPL_USB_ETHER. > > This enables users to block text using CONFIG_IS_ENABLED() instead > of resorting to #if ladders with SPL and non-SPL cases. > > Signed-off-by: Faiz Abbas

Re: [U-Boot] ti_armv7_omap: Remove comment remnant

2018-03-05 Thread Tom Rini
On Sun, Mar 04, 2018 at 02:54:15PM -0600, Adam Ford wrote: > With the migration to Kconfig, the I2C block no longer exists in here. > Let's clean up the comment. > > Signed-off-by: Adam Ford > > diff --git a/include/configs/ti_armv7_omap.h b/include/configs/ti_armv7_omap.h

Re: [U-Boot] [U-Boot, 1/1] input: indicate that code page 437 is used

2018-03-05 Thread Tom Rini
On Fri, Mar 02, 2018 at 09:11:35PM +0100, Heinrich Schuchardt wrote: > Add a comment indicating that the German key map assumes code page 437. > > Add support for character ² (square sign) in the German key map. > > Signed-off-by: Heinrich Schuchardt Applied to

Re: [U-Boot] [U-Boot, 1/3] STMicro TPM: Fix potential buffer overruns

2018-03-05 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:56:35PM -0500, Jeremy Boone wrote: > From: Jeremy Boone > > This patch prevents integer underflow when the length was too small, > which could lead to memory corruption. > > Signed-off-by: Jeremy Boone

Re: [U-Boot] pinctrl: Kconfig: Fix typo

2018-03-05 Thread Tom Rini
On Fri, Mar 02, 2018 at 09:56:00AM +0100, Marek Behún wrote: > Signed-off-by: Marek Behun Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] MPC8315ERDB: Enable DHCP support

2018-03-05 Thread Tom Rini
On Sun, Mar 04, 2018 at 07:17:52PM +0100, Marek Vasut wrote: > From: Ed Bartosh > > Enable DHCP support for this board. > > Signed-off-by: Ed Bartosh > Signed-off-by: Marek Vasut > Signed-off-by: Tom Rini

Re: [U-Boot] tools/env: allow equal sign as key value separation

2018-03-05 Thread Tom Rini
On Thu, Mar 01, 2018 at 02:06:32PM +0100, Stefan Agner wrote: > From: Stefan Agner > > Treat the first equal sign as a key/value separation too. This makes > the script files compatible with mkenvimage input file format. It > won't support variables with equal signs

Re: [U-Boot] libfdt: move headers to and

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 01:20:11AM +0900, Masahiro Yamada wrote: > Thomas reported U-Boot failed to build host tools if libfdt-devel > package is installed because tools include libfdt headers from > /usr/include/ instead of using internal ones. > > This commit moves the header code: >

Re: [U-Boot] [U-Boot, 2/3] Infineon TPM: Fix potential buffer overruns

2018-03-05 Thread Tom Rini
On Mon, Feb 12, 2018 at 05:56:36PM -0500, Jeremy Boone wrote: > From: Jeremy Boone > > Ensure that the Infineon I2C and SPI TPM driver performs adequate > validation of the length extracted from the TPM response header. > This patch prevents integer underflow when

Re: [U-Boot] tools: Include U-Boot libfdt headers from their actual path

2018-03-05 Thread Tom Rini
On Fri, Mar 02, 2018 at 11:13:42PM +0100, Paul Kocialkowski wrote: > There are no headers for libfdt in lib/libfdt, as they are instead > located in scripts/dtc/libfdt. Specifying lib/libfdt for headers > inclusion in host tools results in using the system libfdt headers, > which is not what we

Re: [U-Boot] phy: Fix style violations

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860804/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] cmd: mdio: Fix style violations

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860794/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: marvell 88e151x: Fix handling of bare RGMII interface type

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860763/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-05 Thread Peter Robinson
>>> Hi! >>> I'm trying to boot from u-boot on a Raspberry Pi 3. But for some reason >>> it >>> isn't autobooting on the SD-card. >>> >>> Is it possible to get more debug output on the screen console? I don't >>> have >>> a serial console at the moment. >>> The output on the screen is: >>> >>> Net:

Re: [U-Boot] net: tsec: Make live-tree compatible

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860790/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: tsec: Fix memory leak in error path

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860801/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: tsec: Fix style violations

2018-03-05 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/860795/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] Add xxhash hashing support

2018-03-05 Thread Wolfgang Denk
Dear Dmitry, In message <1520258115-29823-1-git-send-email-dun...@tecon.ru> you wrote: > From: Dmitry Dunaev > > --- It would be appropriate to provide an explantion of what you are doing here and why, which advantages it brings, what it costs (in terms of code size), etc. In

Re: [U-Boot] [PATCH 1/1] sunxi: video: mark framebuffer as EFI reserved memory

2018-03-05 Thread Heinrich Schuchardt
On 03/05/2018 08:19 AM, Anatolij Gustschin wrote: Hi Heinrich, On Sat, 3 Mar 2018 10:30:17 +0100 Heinrich Schuchardt xypron.g...@gmx.de wrote: Inform the EFI subsystem that the framebuffer memory is reserved. Without the patch the AllocatePool boot service allocates memory from the

Re: [U-Boot] [PATCH 1/2] mmc: add HS400 support

2018-03-05 Thread Jean-Jacques Hiblot
Hi Peng, I'm glad you are adding HS400 support. Thanks. On 05/03/2018 10:11, Peng Fan wrote: Add HS400 support. Selecting HS400 needs first select HS199 according to spec, so use a dedicated function for HS400. Add HS400 related macros. Remove the restriction of only using the low 6 bits of

[U-Boot] LS1043A-RDB GPIO

2018-03-05 Thread Joshua Wallace
Hi experts. I am new to u-boot and would like to share some concern. I will use GPIO on a custom board based on LS1043A so for now I’m using the NXP LS1043ARDB. When I enable GPIO in configs/ls1043ardb_defconfig cmd/gpio.c does not compile because of a strange inclusion. 1) My code is based on

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-05 Thread Jonathan Cormer
On Sat, 2018-03-03 at 12:00 +, u-boot-requ...@lists.denx.de wrote: >  > On 1 March 2018 at 16:33, Tom Rini wrote: > > > > On Thu, Mar 01, 2018 at 04:10:44PM +0200, Ruslan Bilovol wrote: > > > > > > Hi Lukasz, > > > > > > On Thu, Mar 1, 2018 at 12:53 PM, Lukasz Majewski

[U-Boot] [PATCH] Devboards.de DBM-SoC1 BOARD: Add S line

2018-03-05 Thread Tom Rini
This was missing the 'S' line causing a warning from genboardscfg.py Signed-off-by: Tom Rini --- board/devboards/dbm-soc1/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/devboards/dbm-soc1/MAINTAINERS b/board/devboards/dbm-soc1/MAINTAINERS index

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-05 Thread Tom Rini
On Sun, Mar 04, 2018 at 04:00:15PM +0200, Ruslan Bilovol wrote: > On Thu, Mar 1, 2018 at 4:33 PM, Tom Rini wrote: > > On Thu, Mar 01, 2018 at 04:10:44PM +0200, Ruslan Bilovol wrote: > >> Hi Lukasz, > >> > >> On Thu, Mar 1, 2018 at 12:53 PM, Lukasz Majewski

Re: [U-Boot] [PATCH v10 2/4] cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 05:43:36PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > cmd_ubifs_umount() function would be called directly instead of involving > whole command machinery in generic firmware loader, so checking on > ubifs_initialized

Re: [U-Boot] [PATCH] Add xxhash hashing support

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 04:55:15PM +0300, dun...@tecon.ru wrote: > From: Dmitry Dunaev Please add some comments about why we're adding this support and where it's used. [snip] > common/image-fit.c | 7 ++ > include/image.h | 12 +++ > include/u-boot/xxhash.h |

[U-Boot] [PATCH 10/16] pmic: add stpmu1 support

2018-03-05 Thread Patrick Delaunay
This driver implements register read/write operations for STPMU1. The STPMU1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF and 2 power switches. It is accessed via an I2C interface. This device is used with STM32MP1 SoCs. Signed-off-by: Patrick Delaunay ---

Re: [U-Boot] [PATCH v10 3/4] cmd: ubifs: Factor out some checking codes into cmd_ubifs_mount()

2018-03-05 Thread Tom Rini
On Mon, Mar 05, 2018 at 05:43:37PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > cmd_ubifs_mount() function would be called directly instead of > involving whole command machinery for mounting ubifs in > generic firmware loader, so some checking

[U-Boot] [PATCH 13/16] clk: add driver for stm32mp1

2018-03-05 Thread Patrick Delaunay
add RCC clock driver for STMP32MP157 - base on driver model = UCLASS_CLK - support ops to enable, disable and get rate of all SOC clock needed by U-Boot Signed-off-by: Patrick Delaunay --- MAINTAINERS|1 + drivers/clk/Kconfig|8 +

[U-Boot] [PATCH 01/16] tools/mkimage: add support for STM32 image format

2018-03-05 Thread Patrick Delaunay
STM32MP157 bootrom needs a specific header for first boot stage. This patch adds support of this header in mkimage. Signed-off-by: Patrick Delaunay --- common/image.c | 1 + include/image.h| 1 + tools/Makefile | 1 + tools/stm32image.c | 148

[U-Boot] [PATCH 00/16] arm: stm32mp1: add initial support for STM32MP157

2018-03-05 Thread Patrick Delaunay
This patch-set adds initial support of STMicroelectronics STM32MP157 microprocessor (MPU) - add new arm arch stm32mp1 (based on armv7) - support for stm32mp157 SOC (based on Cortex-A7) - add minimal support for board evaluation board STM32MP157C-ED1 Patrick Delaunay (16): tools/mkimage: add

[U-Boot] [PATCH 08/16] arm: stm32: add new architecture for STM32MP family

2018-03-05 Thread Patrick Delaunay
- add new arch stm32mp for STM32 MPU/Soc based on Cortex A - support for stm32mp157 SOC - SPL is used as first boot stage loader - using driver model for all the drivers, even in SPL - all security feature are deactivated (ETZC and TZC) - reused STM32 MCU drivers when it is possible

[U-Boot] [PATCH 14/16] clk: stm32mp1: add clock tree initialization

2018-03-05 Thread Patrick Delaunay
add binding and code for clock tree initialization from device tree Signed-off-by: Patrick Delaunay --- doc/device-tree-bindings/clock/st,stm32mp1.txt | 226 ++ drivers/clk/clk_stm32mp1.c | 576 +

[U-Boot] [PATCH 16/16] board: st: add generic board for STM32MP1 family

2018-03-05 Thread Patrick Delaunay
Add first support for STM32MP157C-ED1 board with "Basic" boot chain 1/ Boot Rom: load SPL with STM32 image header in SYSRAM 2/ SPL: power up and initialize the DDR and load U-Boot image from SDCARD in DDR 3/ U-Boot: search and load extlinux.conf in SDCARD (DISTRO activated) Signed-off-by:

[U-Boot] [PATCH 12/16] reset: stm32: adapt driver for stm32mp1

2018-03-05 Thread Patrick Delaunay
- move to livetree and allow to get address to parent - add stm32mp1 compatible for probe Signed-off-by: Patrick Delaunay --- drivers/reset/Kconfig | 2 +- drivers/reset/stm32-reset.c | 36 ++-- 2 files changed, 31 insertions(+),

[U-Boot] [PATCH 07/16] stm32mp: stm32f7_i2c: use calloc instead of kmalloc

2018-03-05 Thread Patrick Delaunay
Kmalloc is using memalign allocation function. It is not necessary to align this structure so to save bytes, we move to calloc. And kmalloc function can't be used in SPL early stage (in board_init_f()) Signed-off-by: Patrick Delaunay --- drivers/i2c/stm32f7_i2c.c | 4

[U-Boot] [PATCH 09/16] ram: stm32mp1: add driver

2018-03-05 Thread Patrick Delaunay
Add driver and binding for stm32mp1 ddr controller and phy Signed-off-by: Patrick Delaunay --- MAINTAINERS | 1 + arch/arm/mach-stm32mp/include/mach/ddr.h | 12 + doc/device-tree-bindings/ram/st,stm32mp1-ddr.txt | 299

[U-Boot] [PATCH 11/16] pinctrl: stm32: update pincontrol for stmp32mp157

2018-03-05 Thread Patrick Delaunay
- add the 2 new compatible used by STM32MP157 "st,stm32mp157-pinctrl" "st,stm32mp157-z-pinctrl" - update the mask for the port Signed-off-by: Patrick Delaunay --- drivers/pinctrl/pinctrl_stm32.c | 9 +++-- 1 file changed, 7 insertions(+), 2

[U-Boot] [PATCH 15/16] dts: add device tree for STM32MP157C-ED1 board

2018-03-05 Thread Patrick Delaunay
Add minimal devicetree for STM32MP157C-ED1 board, with only the devices to allow boot from SDCARD: - RCC for clock and reset - UART4 for console - I2C and PMIC - DDR - SDMMC0 for SDCard Waiting Kernel upstream for alignment. Signed-off-by: Patrick Delaunay ---

  1   2   >