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

2019-08-14 Thread Sherry Sun
Hi Marek, > > Hi Marek, > > > > > 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

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月15日 2:03 > To: Chuanhua Han > Cc: Wolfgang Denk ; Shengzhou Liu ; > Ruchika Gupta ; Jagan Teki ; > Simon Glass ; Prabhakar Kushwaha > ; U-Boot-Denx ; > Xiaowei Bao > Subject: Re: [EXT] Re: [U-Boot] [PATCH v4 2/5] dm: spi: Convert

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日 19:39 > 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 > >

Re: [U-Boot] [U-Boot-Custodians] RFC: Migration target date for DM_ETH

2019-08-14 Thread Joe Hershberger
Hi Heinrich, On Fri, Aug 9, 2019 at 4:41 PM Heinrich Schuchardt wrote: > > On 8/9/19 7:02 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 9 Aug 2019 at 00:31, Heinrich Schuchardt wrote: > >> > >> Currently dozens of boards still do not use the driver model for the > >> network devices.

[U-Boot] [PATCH v2 4/6] cbfs: Move result variable into the struct

2019-08-14 Thread Simon Glass
Move the result variable into the struct also, so that it can be used when BSS is not available. Add a function to read it. Note that all functions sill use the BSS version of the data. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/cbfs.c | 4 ++--

[U-Boot] [PATCH v2 6/6] cbfs: Rename camel-case variables

2019-08-14 Thread Simon Glass
Rename some camel-case variables to match U-Boot style. Camel case is not generally allowed in U-Boot. Rename this variable to fit in with the style. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None fs/cbfs/cbfs.c | 44 ++-- 1

[U-Boot] [PATCH v2 3/6] cbfs: Move static variables into a struct

2019-08-14 Thread Simon Glass
At present there are a number of static variables in BSS. This cannot work with SPL, at least until BSS is available in board_init_r(). Move the variables into a struct, so it is possible to malloc() it and use it before BSS is available. Signed-off-by: Simon Glass --- Changes in v2: - Make

[U-Boot] [PATCH v2 5/6] cbfs: Add functions to support multiple CBFSs

2019-08-14 Thread Simon Glass
Sometimes an image has multiple CBFS. The current CBFS API is limited to handling only one at time. Also it keeps track of the CBFS internally in BSS, which does not work before relocation, for example. Add a few new functions to overcome these limitations. Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 2/6] cbfs: Move declarations above functions

2019-08-14 Thread Simon Glass
At present this file has a function at the top, above declarations. This is normally avoided, so fix it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None fs/cbfs/cbfs.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/fs/cbfs/cbfs.c

[U-Boot] [PATCH v2 1/6] cbfs: Allow CBFS to be used in SPL

2019-08-14 Thread Simon Glass
Add a new Kconfig option to enable CBFS in SPL. This can be useful when the memory-init code is in CBFS. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Fix typo in Kconfig help fs/Makefile | 1 + fs/cbfs/Kconfig | 12 2 files changed, 13 insertions(+)

[U-Boot] [PATCH v2 0/6] cbfs: Allow use before relocation / BSS

2019-08-14 Thread Simon Glass
At present CBFS cannot be used in SPL before BSS is available. This is inconvenient if CBFS holds the FSP code needed to init SDRAM. The problem is fairly easy to fix, by putting all static variables into a struct that can be allocated. This series updates CBFS towards this goal, but does not

Re: [U-Boot] [PATCH 3/6] cbfs: Move static variables into a struct

2019-08-14 Thread Simon Glass
Hi Bin, On Wed, 14 Aug 2019 at 02:40, Bin Meng wrote: > > Hi Simon, > > On Wed, Aug 14, 2019 at 11:09 AM Simon Glass wrote: > > > > At present there are a number of static variables in BSS. This cannot work > > with SPL, at least until BSS is available in board_init_r(). > > > > Move the

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

2019-08-14 Thread Sherry Sun
Hi Marek, > > 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

Re: [U-Boot] [PATCH 20/22] arm: dts: import i.MX8MM dtsi

2019-08-14 Thread Peng Fan
> Subject: Re: [PATCH 20/22] arm: dts: import i.MX8MM dtsi > > On 09.08.19 06:15, Peng Fan wrote: > > Import i.MX8MM dtsi from Linux Kernel, commit <0a8ad0ffa4d8> ("Merge > > tag 'for-linus-5.3-ofs1' of > > git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux") > > > > Signed-off-by: Peng

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

2019-08-14 Thread Peng Fan
> Subject: Re: [PATCH 09/22] imx8m: update imx-regs for i.MX8MM > > 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

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

2019-08-14 Thread Peng Fan
Hi Frieder, > Subject: Re: [PATCH 00/22] i.MX8MM support > > Hi Peng, > > On 09.08.19 06:14, Peng Fan wrote: > > This is a splitted and updated patch from > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc > > > hwork.ozlabs.org%2Fcover%2F1128799%2Fdata=02%7C01%7Cpeng.fa

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

2019-08-14 Thread Peng Fan
> Subject: Re: [PATCH 22/22] imx: Add i.MX8MM EVK board support. > > 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 +-

Re: [U-Boot] [PATCH] arm: dts: sync dts for Allwinner H6

2019-08-14 Thread Clément Péron
Hi On Sun, 11 Aug 2019 at 22:42, Clément Péron wrote: > > Sync Kernel DTS for Allwinner H6 boards. > > commit Linux 5.3-rc4 > > Signed-off-by: Clément Péron > --- > arch/arm/dts/sun50i-h6-beelink-gs1.dts | 76 ++ > arch/arm/dts/sun50i-h6-pine-h64.dts| 12 >

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

2019-08-14 Thread Auer, Lukas
Hi Rick, On Wed, 2019-08-14 at 10:20 +0800, Rick Chen wrote: > Hi Lukas > > > > From: Tom Rini [mailto:tr...@konsulko.com] > > > Sent: Wednesday, August 14, 2019 12:50 AM > > > To: Open Source Project uboot > > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) > > > Subject: Re: [U-Boot] Pull

[U-Boot] [PATCH] jffs2: remove unused code files

2019-08-14 Thread Uwe Kleine-König
I failed to find where these two files are used and a few test compile runs with JFFS2 enabled succeeded also without these. --- The build-all script failed for me with $HOME/.buildman-toolchains/gcc-7.3.0-nolibc/arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.3.0/cc1: error

[U-Boot] [PATCH 2/2] mmc: Rename timeout parameters for clarification

2019-08-14 Thread Sam Protsenko
It's quite hard to figure out time units for various function that have timeout parameters. This leads to possible errors when one forgets to convert ms to us, for example. Let's rename those parameters correspondingly to 'timeout_us' and 'timeout_ms' to prevent such issues further. While at it,

[U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-14 Thread Sam Protsenko
mmc_wait_dat0() expects timeout argument to be in usec units. But some overlying functions operate on timeout in msec units. Convert timeout from msec to usec when passing it to mmc_wait_dat0(). This fixes 'avb' commands on BeagleBoard X15, because next chain was failing: get_partition() ->

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 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] [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] 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] 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 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

[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] [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 > >

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] [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

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] 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 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] [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 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] 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] 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 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] [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 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 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 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 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: 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: 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 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 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 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 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] 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] [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 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 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] [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 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 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 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] [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] [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] 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 >

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] 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] [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(+) > >

[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 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

[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 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

[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 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 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 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 + >

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] 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 +++

[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

Re: [U-Boot] Configs resync question

2019-08-14 Thread Adam Ford
On Wed, Aug 14, 2019 at 7:32 AM Tom Rini wrote: > > On Wed, Aug 14, 2019 at 07:05:08AM -0500, Adam Ford wrote: > > > Tom, > > > > Are you planning any config resync's soon? I was trying to make some > > migrations with the moveconfig tool, but I noticed it changes more > > than just the one item

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

2019-08-14 Thread sherry sun
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 mode. CONFIG_DM_USB_GADGET should be enabled when use

[U-Boot] [PATCH v2 3/4] phy: Add USB PHY driver for the cadence USB3

2019-08-14 Thread sherry sun
From: Sherry Sun The cdns3-usb-phy driver supports both host and peripheral mode of usb driver which use cadence usb3 IP. Signed-off-by: Sherry Sun --- drivers/phy/Kconfig | 8 ++ drivers/phy/Makefile| 1 + drivers/phy/cdns3-usb-phy.c | 242

[U-Boot] [PATCH v2 4/4] USB: gadget: core: introduce ->udc_set_speed() method

2019-08-14 Thread sherry sun
From: Sherry Sun This patch was copied from kernel commit: 67fdfda4a99ed. Sometimes, the gadget driver we want to run has max_speed lower than what the UDC supports. In such situations, UDC might want to make sure we don't try to connect on speeds not supported by the gadget driver because that

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

2019-08-14 Thread sherry sun
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. Signed-off-by: Sherry Sun --- drivers/usb/host/Kconfig | 9 ++ drivers/usb/host/Makefile| 1 +

[U-Boot] [PATCH v2 0/4] USB: Add cadence USB3 gadget driver and host driver

2019-08-14 Thread sherry sun
From: Sherry Sun These patches introduce new Cadence USBSS driver to U-Boot. The first patch is to add the Cadence USB3 IP(CDNS3) core and driver for the usb gadget. The second patch introduce the xhci-imx8 usb host driver separately. The third patch introduce the cdns3 phy driver which can be

[U-Boot] [PATCH V2] Convert CONFIG_FSL_USDHC to Kconfig

2019-08-14 Thread Adam Ford
This converts the following to Kconfig: CONFIG_FSL_USDHC Signed-off-by: Adam Ford --- V2: Based on re-sync'd defconfigs Remove references to non-FSL boards diff --git a/configs/apalis-imx8qm_defconfig b/configs/apalis-imx8qm_defconfig index 46a0a2a975..6a259381c2 100644 ---

Re: [U-Boot] Configs resync question

2019-08-14 Thread Tom Rini
On Wed, Aug 14, 2019 at 07:05:08AM -0500, Adam Ford wrote: > Tom, > > Are you planning any config resync's soon? I was trying to make some > migrations with the moveconfig tool, but I noticed it changes more > than just the one item I want to change. I can do it and push it > myself, but in

[U-Boot] Beaglebone black booting from usb

2019-08-14 Thread Awadhesh
Hi, I want to set uboot setting such that it should boot from usb if correct usb device found else boot from sd/mmc I am searching net and forum but wonder that I am not getting support. You can please help us to set uboot setting for the same. Thanks & Regards, Awadhesh

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

2019-08-14 Thread Schrempf Frieder
Sorry, I hit the "Send" button too early ;) On 14.08.19 14:07, Frieder Schrempf wrote: > Hi Ashish, > > On 14.08.19 14:02, Ashish Kumar wrote: >> >> >>> -Original Message- >>> From: U-Boot On Behalf Of Schrempf >>> Frieder >>> Sent: Wednesday, August 14, 2019 5:07 PM >>> To: Ye Li ;

Re: [U-Boot] Configs resync question

2019-08-14 Thread Tom Rini
On Wed, Aug 14, 2019 at 07:05:08AM -0500, Adam Ford wrote: > Tom, > > Are you planning any config resync's soon? I was trying to make some > migrations with the moveconfig tool, but I noticed it changes more > than just the one item I want to change. I can do it and push it > myself, but in

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

2019-08-14 Thread Schrempf Frieder
Hi Ashish, On 14.08.19 14:02, Ashish Kumar wrote: > > >> -Original Message- >> From: U-Boot On Behalf Of Schrempf Frieder >> Sent: Wednesday, August 14, 2019 5:07 PM >> To: Ye Li ; ja...@amarulasolutions.com >> Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- >> uboot-imx >> Subject:

[U-Boot] Configs resync question

2019-08-14 Thread Adam Ford
Tom, Are you planning any config resync's soon? I was trying to make some migrations with the moveconfig tool, but I noticed it changes more than just the one item I want to change. I can do it and push it myself, but in the past, my attempts were denied because you wanted to do it. thanks

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: U-Boot On Behalf Of Schrempf Frieder > Sent: Wednesday, August 14, 2019 5:07 PM > To: Ye Li ; ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: [EXT] Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode

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

2019-08-14 Thread Ashish Kumar
> -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 adapt > spi- > mem >

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

2019-08-14 Thread Lukasz Majewski
On Wed, 14 Aug 2019 11:10:46 + Chuanhua Han wrote: > > -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: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Schrempf Frieder
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, the TX > DDR delay logic won't be enabled.

[U-Boot] [PATCH v2 4/4] 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 --- Changes in v2: - None 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 d759e98..8e2a09d 100644 ---

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

2019-08-14 Thread Eugeniu Rosca
Superseded by https://patchwork.ozlabs.org/patch/1146933/ ("core: of_addr: Correct the size type of of_get_address to fdt_size_t") ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

  1   2   >