Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-08-14 Thread Eugeniu Rosca
Hi Keerthy, On Wed, Aug 14, 2019 at 01:53:50PM +0530, Keerthy wrote: > Eugeniu, > > Could you kindly help me with the steps to reproduce the issue? Sure. My pleasure. See [0]. > I am sending out a fix patch to convert all the size instances to fdt_size_t > type. > > I have posted:

Re: [U-Boot] [EXT] Re: [PATCH v4 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年8月14日 15:38 > To: Chuanhua Han > Cc: Wolfgang Denk ; Shengzhou Liu ; > Ruchika Gupta ; Jagan Teki ; > Simon Glass ; Prabhakar Kushwaha > ; U-Boot-Denx > Subject: [EXT] Re: [U-Boot] [PATCH v4 2/5] dm: spi: Convert Freescale ESPI >

[U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Ye Li
On latest iMX platforms like iMX7D/iMX6UL/iMX8MQ, the QSPI controller is updated to have TDH field in FLSHCR register. According to reference manual, this TDH must be set to 1 when DDR_EN is set. Otherwise, the TX DDR delay logic won't be enabled. Another issue in DDR mode is the MCR register

[U-Boot] [PATCH 5/6] spi: fsl_qspi: Add support for QSPI on iMX7ULP

2019-08-14 Thread Ye Li
Add the compatible string and driver data for iMX7ULP platform Signed-off-by: Ye Li --- drivers/spi/fsl_qspi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 8950412..f3cf8e6 100644 --- a/drivers/spi/fsl_qspi.c +++

[U-Boot] [PATCH 4/6] spi: fsl_qspi: Update to use driver data

2019-08-14 Thread Ye Li
Add the driver data for each compatible string. So we can remove the SOC config and use driver data instead. Signed-off-by: Ye Li --- drivers/spi/fsl_qspi.c | 113 ++--- 1 file changed, 79 insertions(+), 34 deletions(-) diff --git

[U-Boot] [PATCH 2/6] spi: fsl_qspi: Fix erase issue to adapt spi-mem

2019-08-14 Thread Ye Li
After switched to spi-mem, the data format passed by xfer is changed for erase. The address of erase is moved to data phase in SPI_XFER_END. Update the driver to fix the erase issue Signed-off-by: Ye Li --- drivers/spi/fsl_qspi.c | 17 + 1 file changed, 13 insertions(+), 4

[U-Boot] [PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

2019-08-14 Thread Keerthy
Currently the size parameter is defined as u64 type. Correct the size type of of_get_address to fdt_size_t so that both 64 bit and 32 bit architectures are taken care of. The initial bug report: https://patchwork.ozlabs.org/patch/1090094/#2212555 Fixes: e679d03b08fb ("core: ofnode: Add

Re: [U-Boot] [PATCH 03/15] rockchip: rk3288: Print reset reason

2019-08-14 Thread Wadim Egorov
On 14.08.19 11:40, Jagan Teki wrote: > On Mon, Aug 5, 2019 at 6:00 PM Kever Yang wrote: >> >> On 2019/7/29 下午3:46, Jagan Teki wrote: >>> Print the reason for reset instead of storing it into >>> env variable in rk3288. >>> >>> This would help to find the reset reason directly >>> on U-Boot

Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月14日 18:53 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI DM flash > for > non-DM SPL > >

[U-Boot] [PATCH] davinci: omapl138-lcdk: Remove empty compiler directives

2019-08-14 Thread Adam Ford
There is an #ifdef with nothing inside it any longer. This patch removes this empty #ifdef Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index 08881f039d..27a51d6a78 100644 --- a/board/davinci/da8xxevm/omapl138_lcdk.c +++

Re: [U-Boot] [PATCH V2 01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158

2019-08-14 Thread Daniel Schwierzeck
Am 13.08.19 um 18:45 schrieb Philippe Reynes: > From: Kursad Oney > > This IP exists in both MIPS and ARM cores, so we also > allow to use this driver on bcm6858 and bcm63158. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes > --- > drivers/spi/Kconfig | 2 +- > 1 file

[U-Boot] [PATCH V3 05/10] dt: bcm63158: Add hsspi controller

2019-08-14 Thread Philippe Reynes
From: Kursad Oney This change adds the hsspi controller to the 63158 dtsi. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- arch/arm/dts/bcm63158.dtsi | 25 + 1 file changed, 25 insertions(+) Changelog: v3: - no change v2: - no change diff --git

[U-Boot] [PATCH V3 03/10] spi: bcm63xx_hsspi: switch to raw I/O functions.

2019-08-14 Thread Philippe Reynes
From: Kursad Oney Make the driver compatible with both big and little endian SOCs. Replace big-endian calls with their raw equivalents, expect for writing the command to FIFO. That still has to be in big-endian format. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes ---

[U-Boot] [PATCH V3 08/10] dt: bcm6858: add hsspi controller

2019-08-14 Thread Philippe Reynes
This commit add a hsspi controller in the bcm6858 device tree. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- arch/arm/dts/bcm6858.dtsi | 25 + 1 file changed, 25 insertions(+) Changelog: v3: - no change v2: - no change diff --git

Re: [U-Boot] [PATCH 5/6] bmips: bcm63268: add support for brcmnand

2019-08-14 Thread Daniel Schwierzeck
Am 13.08.19 um 21:19 schrieb Álvaro Fernández Rojas: > BCM63268 uses 4.0 HW nand controller, which is currently supported by > brcmnand driver. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm63268.dtsi | 18 ++ > 1 file changed, 18 insertions(+) > >

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Ashish Kumar
> -Original Message- > From: Schrempf Frieder > Sent: Wednesday, August 14, 2019 5:41 PM > To: Ashish Kumar ; Ye Li ; > ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode >

[U-Boot] [PATCH] Convert CONFIG_MX_CYCLIC to Kconfig

2019-08-14 Thread Adam Ford
This converts the following to Kconfig: CONFIG_MX_CYCLIC Signed-off-by: Adam Ford diff --git a/cmd/Kconfig b/cmd/Kconfig index 041de1d831..05872fa0d7 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -611,6 +611,20 @@ config CMD_MEMORY base - print or set address offset

[U-Boot] [PATCH V3 01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158

2019-08-14 Thread Philippe Reynes
From: Kursad Oney This IP exists in both MIPS and ARM cores, so we also allow to use this driver on bcm6858 and bcm63158. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changelog: v3: - no change v2: -

Re: [U-Boot] [PATCH 1/6] nand: brcm: add BCM6368 support

2019-08-14 Thread Daniel Schwierzeck
Am 13.08.19 um 21:19 schrieb Álvaro Fernández Rojas: > This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/mtd/nand/raw/Kconfig | 6 + > drivers/mtd/nand/raw/brcmnand/Makefile | 1 + >

[U-Boot] [PATCH V3 04/10] spi: bcm63xx_hsspi: Continue init when using no reset and fixed-clock.

2019-08-14 Thread Philippe Reynes
From: Kursad Oney The Broadcom ARM implementations do not yet have a clock framework so one can use a fixed clock as the root clock of the hsspi block. The fixed clock does not have an "enable" routine, since it's always enabled. So when we hit this issue, getting an ENOSYS return, do not bail

[U-Boot] [PATCH V3 06/10] dt: bcm963158: add a spi-nor device

2019-08-14 Thread Philippe Reynes
From: Kursad Oney This change adds a spi nor flash device to the bcm963158 board. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- arch/arm/dts/bcm963158.dts | 12 1 file changed, 12 insertions(+) Changelog: v3: - no change v2: - no change diff --git

Re: [U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-14 Thread Kursad Oney
Hi Daniel, On Wed, Aug 14, 2019 at 9:19 AM Philippe Reynes wrote: > > From: Kursad Oney > > wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions > which would default to big-endian on BE systems. Create the generic > equivalents to use the native endianness. > > Signed-off-by:

[U-Boot] [PATCH V3 10/10] bcm968580xref: enable spi-nor support

2019-08-14 Thread Philippe Reynes
This commit enable the support of the spi-nor for the broadcom reference board bcm968580xref. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- configs/bcm968580xref_ram_defconfig | 9 + 1 file changed, 9 insertions(+) Changelog: v3: - no change v2: - no change diff --git

[U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-14 Thread Philippe Reynes
From: Kursad Oney wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions which would default to big-endian on BE systems. Create the generic equivalents to use the native endianness. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- include/wait_bit.h | 2 ++ 1 file

[U-Boot] [PATCH V3 07/10] configs: Add hsspi/spi support to bcm963158.

2019-08-14 Thread Philippe Reynes
From: Kursad Oney This commit enable the support of the spi-nor for the broadcom reference board bcm963158. Signed-off-by: Kursad Oney Reviewed-by: Philippe Reynes --- configs/bcm963158_ram_defconfig | 7 +++ 1 file changed, 7 insertions(+) Changelog: v3: - no change v2: - no change

[U-Boot] [PATCH V3 09/10] dt: bcm968580xref: add a spi-nor device

2019-08-14 Thread Philippe Reynes
This commit add a spi-nor device in the bcm96850xref device tree. Signed-off-by: Philippe Reynes Reviewed-by: Kursad Oney --- arch/arm/dts/bcm968580xref.dts | 12 1 file changed, 12 insertions(+) Changelog: v3: - no change v2: - no change diff --git

[U-Boot] [PATCH] Convert CONFIG_ARCH_CPU_INIT to Kconfig

2019-08-14 Thread Adam Ford
This converts the following to Kconfig: CONFIG_ARCH_CPU_INIT Signed-off-by: Adam Ford diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index be2c96a93d..77905b93c6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -329,6 +329,12 @@ config SYS_CACHELINE_SIZE default 64 if

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Ye Li
Hi Frieder, > Caution: EXT Email > > Hi Ye, > > On 14.08.19 12:08, Ye Li wrote: >> On latest iMX platforms like iMX7D/iMX6UL/iMX8MQ, the QSPI controller >> is updated to have TDH field in FLSHCR register. According to reference >> manual, this TDH must be set to 1 when DDR_EN is set. Otherwise,

Re: [U-Boot] [EXT] [PATCH 2/6] spi: fsl_qspi: Fix erase issue to adapt spi-mem

2019-08-14 Thread Ye Li
Hi Ashish, > > >> -Original Message- >> From: U-Boot On Behalf Of Ye Li >> Sent: Wednesday, August 14, 2019 3:39 PM >> To: ja...@amarulasolutions.com >> Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- >> uboot-imx >> Subject: [EXT] [U-Boot] [PATCH 2/6] spi: fsl_qspi: Fix erase issue to

Re: [U-Boot] [PATCH 2/7] net: mvpp2: Replace SMI implementation with marvell MDIO API

2019-08-14 Thread Joe Hershberger
On Fri, Aug 2, 2019 at 12:54 PM wrote: > > From: Ken Ma > > Since marvell MDIO driver is added, SMI function implementation in > mvpp2 driver can be removed and NETA driver can use marvell MDIO API > directly. > This replacement also fixes 2 old issues: > 1. Each pp2 port device should have its

Re: [U-Boot] [PATCH 3/7] net: mvpp2: mark phy as invalid in case of missing appropriate driver

2019-08-14 Thread Joe Hershberger
On Fri, Aug 2, 2019 at 12:54 PM wrote: > > From: Grzegorz Jaszczyk > > If the phy doesn't match with any existing u-boot drivers the phy > framework will connect it to generic one which uid == 0x. In > this case act as if the phy wouldn't be declared in dts. Otherwise in > case of 3310

Re: [U-Boot] [PATCH 4/7] net: mvpp2: no deref null

2019-08-14 Thread Joe Hershberger
On Fri, Aug 2, 2019 at 12:54 PM wrote: > > From: Nevo Hed > > phy_dev ptr is set from return of phy_connect() and is used before > test to see if NULL. Obviously since the test already sxists someoen > made the determination that this NULL is possible. > > Signed-off-by: Nevo Hed > --- > >

Re: [U-Boot] [PATCH] Convert CONFIG_MX_CYCLIC to Kconfig

2019-08-14 Thread David Lechner
On 8/14/19 7:54 AM, Adam Ford wrote: This converts the following to Kconfig: CONFIG_MX_CYCLIC Signed-off-by: Adam Ford Acked-by: David Lechner ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 7/7] net: mvpp2: MVPP2 now needs MVMDIO

2019-08-14 Thread Joe Hershberger
On Tue, Aug 6, 2019 at 10:52 AM wrote: > > From: Nevo Hed > > Changes to mvpp2.c require the MVMDIO module which in turn uses > DM_MDIO. > > Signed-off-by: Nevo Hed Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-14 Thread Stephen Warren
On 8/13/19 8:06 PM, Kever Yang wrote: Hi Stephen, On 2019/8/14 上午4:54, Stephen Warren wrote: On 8/13/19 3:39 AM, Simon Glass wrote: +Stephen Hi Kever, On Tue, 13 Aug 2019 at 03:35, Kever Yang wrote: Hi Simon, I got fail in test/py sandbox_spl, and the log says: E OSError: [Errno

Re: [U-Boot] [PATCH] test/py: Fix MMC/SD block write test dependency

2019-08-14 Thread Stephen Warren
On 8/14/19 12:12 AM, Michal Simek wrote: On 13. 08. 19 23:21, Stephen Warren wrote: On 8/1/19 10:48 PM, Michal Simek wrote: Test is using random command which has own Kconfig symbol CMD_RANDOM which already depends on CMD_MEMORY. That's why replace cmd_memory by cmd_random. This might not

Re: [U-Boot] [PATCH 1/7] net: mvpp2x: fix traffic stuck after PHY start error

2019-08-14 Thread Joe Hershberger
On Wed, Aug 14, 2019 at 10:36 AM Joe Hershberger wrote: > > On Fri, Aug 2, 2019 at 12:54 PM wrote: > > > > From: Stefan Chulski > > > > Issue: > > - Network stuck if autonegotion fails > > > > Issue root cause: > > - During port open procedure if autonegotion fails, configuration of > >

Re: [U-Boot] [PATCH v3 5/7] arm: dts: armada-cp110-*dtsi: add xmdio nodes

2019-08-14 Thread Joe Hershberger
On Tue, Aug 6, 2019 at 10:52 AM wrote: > > From: Nevo Hed > > Based on upstream-linux > See https://github.com/torvalds/linux/commit/f66b2aff. > > However made the XSMI register window 0x16 (22) bytes per my reading > of the functional spec. Similar commits in Marvels own repo bump it > to

Re: [U-Boot] [PATCH v3 1/7] net: mvpp2x: fix traffic stuck after PHY start error

2019-08-14 Thread Joe Hershberger
On Tue, Aug 6, 2019 at 10:52 AM wrote: > > From: Stefan Chulski > > Issue: > - Network stuck if autonegotion fails. > > Issue root cause: > > - When autonegotiation fails during port open procedure, the packet > processor configuration does not finish and open procedure exits > with error. >

Re: [U-Boot] [PATCH v3 6/7] net: mvpp2: use new MVMDIO driver

2019-08-14 Thread Joe Hershberger
On Tue, Aug 6, 2019 at 10:52 AM wrote: > > From: Nevo Hed > > An earlier commit in this changeset is taken from Marvells repos but > was based on an MVMDIO implementation that never made it into U-Boot. > With this patch the mvpp2 driver switches to use the new MVMDIO driver > that is based on a

Re: [U-Boot] instruction "xchgb" for x86_64

2019-08-14 Thread Simon Glass
Hi, (James please can you use plain-text email for the mailing list?) On Wed, 14 Aug 2019 at 01:35, Bin Meng wrote: > > Hi James, > > On Wed, Aug 14, 2019 at 1:08 PM James Wang > wrote: >> >> Hi Simon, >> >> >> >> This is James and am working on u-boot to bring back MinGW tool chain for >>

Re: [U-Boot] [PATCH v2] arm: socfpga: gen5: don't zero bss in board_init_f()

2019-08-14 Thread Simon Goldschmidt
Marek, Am 12.07.2019 um 20:03 schrieb Simon Goldschmidt: The socfpga gen5 SPL manually zeroed bss in board_init_f(). Now that the DDR driver does not use bss any more, bss is not used before board_init_r() and we can remove this hack. bss is normally zeroed by crt0.S, but after board_init_f(),

Re: [U-Boot] [PATCH] Revert "net: macb: Fixed reading MII_LPA register"

2019-08-14 Thread Joe Hershberger
Hi Radu, Is there something you can switch on to select the correct register on the appropriate platform? On Wed, Aug 14, 2019 at 5:31 AM Bin Meng wrote: > > This reverts commit 1b0c9914cc75d1570359181ebd493cd5746cb0ed. > > Commit 1b0c9914cc75 ("net: macb: Fixed reading MII_LPA register") >

Re: [U-Boot] [PATCH v2 3/3] rk8xx: add a sysreset driver for poweroff

2019-08-14 Thread Simon Glass
Hi Kever, On Tue, 13 Aug 2019 at 20:46, Kever Yang wrote: > > Hi Urja, Simon, > > This patch is not able to pass the sandbox_spl test, it reports: > [1]26463 segmentation fault (core dumped) ./u-boot > > The driver looks good to me, no idea what cause the issue. > > Thanks, > - Kever > >

Re: [U-Boot] [PATCH 1/4 v5] watchdog: Implement generic watchdog_reset() version

2019-08-14 Thread Simon Glass
Hi, On Wed, 14 Aug 2019 at 00:22, Stefan Roese wrote: > > Hi Simon, > > (added Simon Glass and Bin to Cc) > > On 13.08.19 22:16, Simon Goldschmidt wrote: > > Am 25.04.2019 um 09:17 schrieb Stefan Roese: > >> This patch tries to implement a generic watchdog_reset() function that > >> can be used

Re: [U-Boot] [RFC PATCH] rockchip, Makefile: add u-boot-tpl-with-spl.img target

2019-08-14 Thread Simon Glass
Hi Chris, On Tue, 13 Aug 2019 at 03:52, Chris Webb wrote: > > Simon Glass wrote: > > > Chris Webb wrote: > >> My worry about using binman for cracking such a simple nut is the > >> dependencies it pulls in that wouldn't otherwise be needed: the > >> documentation suggests at least lzma-alone,

Re: [U-Boot] [PATCH V3 01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158

2019-08-14 Thread Daniel Schwierzeck
Am 14.08.19 um 15:18 schrieb Philippe Reynes: > From: Kursad Oney > > This IP exists in both MIPS and ARM cores, so we also > allow to use this driver on bcm6858 and bcm63158. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes > --- > drivers/spi/Kconfig | 2 +- > 1 file

Re: [U-Boot] [PATCH 09/22] imx8m: update imx-regs for i.MX8MM

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:15, Peng Fan wrote: > i.MX8MM has similar architecture with i.MX8MQ, but it has totally > different PLL design and some register layout change. > > Note: Some registers in this file are not updated because not used now. I think this is a bad idea. There seem to be many differences

Re: [U-Boot] [PATCH v2 1/4] clk: aspeed: Add support for SD clock

2019-08-14 Thread Cédric Le Goater
On 13/08/2019 21:31, Eddie James wrote: > Add code to enable the SD clock on the ast2500 SoC. > > Signed-off-by: Eddie James Reviewed-by: Cédric Le Goater Thanks, C. > --- > arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 +++ > drivers/clk/aspeed/clk_ast2500.c | 27 >

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-14 Thread Marek Vasut
On 8/13/19 11:53 AM, Marek Vasut wrote: > On 8/13/19 11:34 AM, Simon Glass wrote: >> On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: >>> >>> The time lines set force in doc/driver-model/migration.rst for different >>> subsystems to move to the driver model have been passed. >>> >>> I ran

Re: [U-Boot] [PATCH v2 2/4] mmc: Add Aspeed SD controller driver

2019-08-14 Thread Cédric Le Goater
On 13/08/2019 21:31, Eddie James wrote: > Add support for the Aspeed SD host controller engine. It looks correct and simple enough. Some comments below. > > Signed-off-by: Eddie James > --- > drivers/mmc/Kconfig| 11 +++ > drivers/mmc/Makefile | 1 + >

Re: [U-Boot] [PATCH v2 4/4] ARM: dts: ast2500: Add SDHCI nodes

2019-08-14 Thread Cédric Le Goater
On 13/08/2019 21:31, Eddie James wrote: > Add nodes for the Aspeed SD controllers with their necessary properties. > > Signed-off-by: Eddie James Reviewed-by: Cédric Le Goater Thanks, C. > --- > arch/arm/dts/ast2500-evb.dts | 14 ++ > arch/arm/dts/ast2500-u-boot.dtsi | 16

Re: [U-Boot] [PATCH v2 1/4] USB: gadget: Add the cadence USB3 gadget driver

2019-08-14 Thread Marek Vasut
On 8/14/19 2:16 PM, sherry sun wrote: > From: Sherry Sun > > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 > and some changes have also been made to adapt to U-Boot. > > Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode). > The CDNS3 gadget driver support DM

Re: [U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-14 Thread Daniel Schwierzeck
Am 14.08.19 um 15:29 schrieb Kursad Oney: > Hi Daniel, > > On Wed, Aug 14, 2019 at 9:19 AM Philippe Reynes > wrote: >> >> From: Kursad Oney >> >> wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions >> which would default to big-endian on BE systems. Create the generic >>

Re: [U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-14 Thread Daniel Schwierzeck
Am 14.08.19 um 15:18 schrieb Philippe Reynes: > From: Kursad Oney > > wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions > which would default to big-endian on BE systems. Create the generic > equivalents to use the native endianness. > > Signed-off-by: Kursad Oney >

Re: [U-Boot] [PATCH V3 03/10] spi: bcm63xx_hsspi: switch to raw I/O functions.

2019-08-14 Thread Daniel Schwierzeck
Am 14.08.19 um 15:18 schrieb Philippe Reynes: > From: Kursad Oney > > Make the driver compatible with both big and little endian SOCs. > Replace big-endian calls with their raw equivalents, expect for > writing the command to FIFO. That still has to be in big-endian > format. > >

Re: [U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-08-14 Thread Kursad Oney
Hi Daniel, On Wed, Aug 14, 2019 at 10:43 AM Daniel Schwierzeck wrote: > > > > Am 14.08.19 um 15:29 schrieb Kursad Oney: > > Hi Daniel, > > > > On Wed, Aug 14, 2019 at 9:19 AM Philippe Reynes > > wrote: > >> > >> From: Kursad Oney > >> > >> wait_for_bit_le32 and wait_for_bit_le16 use the raw

Re: [U-Boot] [PATCH v2 3/4] aspeed: Support SD controller on the ast2500 board

2019-08-14 Thread Cédric Le Goater
On 13/08/2019 21:31, Eddie James wrote: > Initialize the MMC subsystem on the ast2500 board. Compile MMC and the > Aspeed SD controller on the ast2500 EVB. > > Signed-off-by: Eddie James > --- > arch/arm/include/asm/gpio.h | 3 ++- > arch/arm/mach-aspeed/ast2500-board.c | 3 +++ >

Re: [U-Boot] [PATCH v2 2/4] USB: host: Add the USB3 host driver

2019-08-14 Thread Marek Vasut
On 8/14/19 2:16 PM, sherry sun wrote: > From: Sherry Sun > > Add the USB3 host driver for NXP imx8 platform, and the > cadence IP is in it. The USB3 host driver support DM > mode, it will probe USB3 host node in dts. We already have a generic xhci driver, so why do we need that massive custom

Re: [U-Boot] [PATCH 1/7] net: sh_eth: Add R8A77980 V3H gether support

2019-08-14 Thread Joe Hershberger
On Wed, Jul 31, 2019 at 10:25 AM Marek Vasut wrote: > > The R8A77980 V3H gether needs a few minor adjustments to the sh_eth > driver, add them to support ethernet on R8A77980. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Nobuhiro Iwamatsu Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/7] net: sh_eth: Fix 64bit build warnings

2019-08-14 Thread Joe Hershberger
On Wed, Jul 31, 2019 at 10:25 AM Marek Vasut wrote: > > Fix various type warnings when building this driver for 64bit machine. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Nobuhiro Iwamatsu Acked-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 1/7] net: mvpp2x: fix traffic stuck after PHY start error

2019-08-14 Thread Joe Hershberger
On Fri, Aug 2, 2019 at 12:54 PM wrote: > > From: Stefan Chulski > > Issue: > - Network stuck if autonegotion fails > > Issue root cause: > - During port open procedure if autonegotion fails, configuration of > packet processor won't be finished and open procedure exits with error. > - However

Re: [U-Boot] [PATCH 2/7] net: mvpp2: Replace SMI implementation with marvell MDIO API

2019-08-14 Thread Nevo Hed
On Wed, Aug 14, 2019 at 11:39 AM Joe Hershberger wrote: > > On Fri, Aug 2, 2019 at 12:54 PM wrote: > > > > From: Ken Ma > > > > - > > -static int mvpp2_recv(struct udevice *dev, int flags, uchar **packetp) > > +int mvpp2_recv(struct udevice *dev, int flags, uchar **packetp) > > Why does this

Re: [U-Boot] [EXT] Re: [PATCH v4 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-14 Thread Jagan Teki
On Wed, Aug 14, 2019 at 3:31 PM Chuanhua Han wrote: > > > > > -Original Message- > > From: Jagan Teki > > Sent: 2019年8月14日 15:38 > > To: Chuanhua Han > > Cc: Wolfgang Denk ; Shengzhou Liu ; > > Ruchika Gupta ; Jagan Teki ; > > Simon Glass ; Prabhakar Kushwaha > > ; U-Boot-Denx > >

[U-Boot] kernel-doc vs Doxygen

2019-08-14 Thread Sam Protsenko
Hi everyone, Quick question: which comment style is allowed in U-Boot, kernel-doc or Doxygen one? I have noticed that both are used currently (and I've sent some patches with doxy comments myself). Please tell me if somebody is actually running either kernel-doc or Doxygen to generate the U-Boot

Re: [U-Boot] [PATCH 2/7] net: mvpp2: Replace SMI implementation with marvell MDIO API

2019-08-14 Thread Joe Hershberger
On Wed, Aug 14, 2019 at 12:09 PM Nevo Hed wrote: > > On Wed, Aug 14, 2019 at 11:39 AM Joe Hershberger > wrote: > > > > On Fri, Aug 2, 2019 at 12:54 PM wrote: > > > > > > From: Ken Ma > > > > > > > - > > > -static int mvpp2_recv(struct udevice *dev, int flags, uchar **packetp) > > > +int

Re: [U-Boot] [PATCH 22/22] imx: Add i.MX8MM EVK board support.

2019-08-14 Thread Schrempf Frieder
On 09.08.19 06:15, Peng Fan wrote: > Add board and SoC dts > Add ddr training code > support SD/MMC/GPIO/PINCTRL/UART > > Signed-off-by: Peng Fan > --- > arch/arm/dts/Makefile |3 +- > arch/arm/dts/imx8mm-evk-u-boot.dtsi| 92 ++ >

Re: [U-Boot] [PATCH 00/22] i.MX8MM support

2019-08-14 Thread Schrempf Frieder
Hi Peng, On 09.08.19 06:14, Peng Fan wrote: > This is a splitted and updated patch from > https://patchwork.ozlabs.org/cover/1128799/ which is to support both > i.MX8MM and i.MX8MN. I have sent you feedback for some of the patches. My own board is working, but there are still a few things to

<    1   2