Re: [U-Boot] [PATCH] usb: dwc2: Add reset ctrl to driver

2018-08-15 Thread Ley Foon Tan
On Wed, Aug 15, 2018 at 6:13 PM, Marek Vasut wrote: > On 08/15/2018 08:01 PM, Ley Foon Tan wrote: >> Add code to reset all reset signals as in usb DT node. A reset property >> is an optional feature, so only print out a warning and do not fail if a >> reset property is not present. >> >> If a

Re: [U-Boot] [PATCH] arm: socfpga: Fix SYSMGR_FPGAINTF_EMACx bit mask

2018-08-15 Thread Marek Vasut
On 08/15/2018 08:20 PM, Ley Foon Tan wrote: > Bitmask for EMAC should be bit-0, EMAC1 bit-8 and EMAC2 bit-16. > > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/include/mach/system_manager_s10.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

[U-Boot] [PATCH] arm: zynq: Remove useless comments from config file

2018-08-15 Thread Michal Simek
Moving options to Kconfig some comments are useless now. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 8 1 file changed, 8 deletions(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 2506d2b80606..dded9cd3bf36 100644 ---

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-15 Thread Marek Vasut
On 08/14/2018 11:40 AM, Bin Meng wrote: > Hi Marek, > > On Tue, Aug 14, 2018 at 4:55 PM, Marek Vasut wrote: >> On 08/14/2018 03:46 AM, Bin Meng wrote: >>> Hi Marek, >>> >>> On Mon, Aug 13, 2018 at 9:46 PM, Marek Vasut wrote: On 08/13/2018 04:24 AM, Bin Meng wrote: > Hi Marek, >

Re: [U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top

2018-08-15 Thread Marek Vasut
On 08/15/2018 08:01 PM, Ley Foon Tan wrote: > Move reset manager node to top, so reset driver can be load before > other drivers. Peripheral drivers have dependency on reset framework > to reset the hardware. > > Signed-off-by: Ley Foon Tan This will break the next time you sync DTs with Linux,

Re: [U-Boot] [ANN] U-Boot v2018.09-rc2 released

2018-08-15 Thread Tom Rini
On Wed, Aug 15, 2018 at 07:14:16AM +0100, Peter Robinson wrote: > On Wed, Aug 15, 2018 at 7:13 AM, Jagan Teki > wrote: > > On Wed, Aug 15, 2018 at 11:40 AM, Peter Robinson > > wrote: > >> On Wed, Aug 15, 2018 at 6:55 AM, Jagan Teki > >> wrote: > >>> On Wed, Aug 15, 2018 at 2:35 AM, Peter

Re: [U-Boot] [PATCH] arm: socfpga: Fix SYSMGR_FPGAINTF_EMACx bit mask

2018-08-15 Thread Marek Vasut
On 08/15/2018 12:32 PM, Ley Foon Tan wrote: > On Wed, Aug 15, 2018 at 6:21 PM, Marek Vasut wrote: >> On 08/15/2018 08:20 PM, Ley Foon Tan wrote: >>> Bitmask for EMAC should be bit-0, EMAC1 bit-8 and EMAC2 bit-16. >>> >>> Signed-off-by: Ley Foon Tan >>> --- >>>

Re: [U-Boot] [PATCH v2] spi: Add SPI driver for MT76xx SoCs

2018-08-15 Thread Daniel Schwierzeck
On 15.08.2018 13:26, Stefan Roese wrote: > Hi Daniel, > > On 11.08.2018 18:59, Daniel Schwierzeck wrote: >> On 10.08.2018 08:56, Stefan Roese wrote: >>> This patch adds the SPI driver for the MediaTek MT7688 SoC (and >>> derivates). Its been tested on the LinkIt Smart 7688 and the Gardena >>>

Re: [U-Boot] CONFIG_MIPS_BOOT_CMDLINE_LEGACY usage ?

2018-08-15 Thread Stefan Roese
Hi Daniel, On 15.08.2018 15:01, Daniel Schwierzeck wrote: On 15.08.2018 10:23, Stefan Roese wrote: Hi Daniel, I'm wondering about the CONFIG_MIPS_BOOT_CMDLINE_LEGACY Kconfig option in MIPS. Why is this one called "legacy" and what should be used instead to pass the U-Boot bootargs to the

Re: [U-Boot] [PATCH V2] spl: Weed out CONFIG_SYS_TEXT_BASE usage

2018-08-15 Thread Marek Vasut
On 08/14/2018 08:25 PM, Simon Goldschmidt wrote: > On Tue, Aug 14, 2018 at 8:17 PM Marek Vasut wrote: >> >> On 08/14/2018 02:56 PM, Simon Goldschmidt wrote: >>> On Tue, Aug 14, 2018 at 2:05 PM Marek Vasut wrote: On 08/14/2018 12:22 PM, Simon Goldschmidt wrote: > On Tue, Aug 14,

Re: [U-Boot] [PATCH v2] spi: Add SPI driver for MT76xx SoCs

2018-08-15 Thread Stefan Roese
Hi Daniel, On 11.08.2018 18:59, Daniel Schwierzeck wrote: On 10.08.2018 08:56, Stefan Roese wrote: This patch adds the SPI driver for the MediaTek MT7688 SoC (and derivates). Its been tested on the LinkIt Smart 7688 and the Gardena Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart

Re: [U-Boot] [PATCH v4 4/5] arm: socfpga: fix SPL booting from fpga OnChip RAM

2018-08-15 Thread Marek Vasut
On 08/14/2018 10:26 PM, Simon Goldschmidt wrote: > On Tue, Aug 14, 2018 at 8:12 AM Simon Goldschmidt > wrote: >> >> >> >> Marek Vasut schrieb am Mo., 13. Aug. 2018, 22:36: >>> >>> On 08/13/2018 09:34 PM, Simon Goldschmidt wrote: To boot from fpga OnChip RAM, some changes are required in SPL

Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-15 Thread Marek Vasut
On 08/14/2018 10:19 PM, Simon Goldschmidt wrote: > On Tue, Aug 14, 2018 at 10:37 AM Marek Vasut wrote: >> >> On 08/14/2018 08:09 AM, Simon Goldschmidt wrote: >>> >>> >>> Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 13. >>> Aug. 2018, 22:36: >>> >>> On 08/13/2018 09:34 PM, Simon

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-15 Thread Marek Vasut
On 08/15/2018 08:05 PM, Ley Foon Tan wrote: > Add code to reset all reset signals as in gpio DT node. A reset property > is an optional feature, so only print out a warning and do not fail if a > reset property is not present. > > If a reset property is discovered, then use it to deassert, thus >

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-15 Thread Bin Meng
Hi Marek, On Wed, Aug 15, 2018 at 5:22 PM, Marek Vasut wrote: > On 08/14/2018 11:40 AM, Bin Meng wrote: >> Hi Marek, >> >> On Tue, Aug 14, 2018 at 4:55 PM, Marek Vasut wrote: >>> On 08/14/2018 03:46 AM, Bin Meng wrote: Hi Marek, On Mon, Aug 13, 2018 at 9:46 PM, Marek Vasut

[U-Boot] [PATCH] arm: socfpga: Fix SYSMGR_FPGAINTF_EMACx bit mask

2018-08-15 Thread Ley Foon Tan
Bitmask for EMAC should be bit-0, EMAC1 bit-8 and EMAC2 bit-16. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/system_manager_s10.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-socfpga/include/mach/system_manager_s10.h

[U-Boot] [PATCH] gpio: dwapb_gpio: Change to use dev_read_addr()

2018-08-15 Thread Ley Foon Tan
This changes the driver to use dev_read_addr() which is safe both for flat trees and live trees. Signed-off-by: Ley Foon Tan --- drivers/gpio/dwapb_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c index

[U-Boot] [PATCH] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-15 Thread Ley Foon Tan
Add code to reset all reset signals as in gpio DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon

[U-Boot] [PATCH] gpio: dwapb_gpio: Enable get_function support

2018-08-15 Thread Ley Foon Tan
Enabled get_function support for dwapb where the function will return the state of GPIO port. Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- drivers/gpio/dwapb_gpio.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpio/dwapb_gpio.c

Re: [U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top

2018-08-15 Thread Ley Foon Tan
On Wed, Aug 15, 2018 at 6:31 PM, Marek Vasut wrote: > On 08/15/2018 12:28 PM, Ley Foon Tan wrote: >> On Wed, Aug 15, 2018 at 6:13 PM, Marek Vasut wrote: >>> On 08/15/2018 08:01 PM, Ley Foon Tan wrote: Move reset manager node to top, so reset driver can be load before other drivers.

[U-Boot] CONFIG_MIPS_BOOT_CMDLINE_LEGACY usage ?

2018-08-15 Thread Stefan Roese
Hi Daniel, I'm wondering about the CONFIG_MIPS_BOOT_CMDLINE_LEGACY Kconfig option in MIPS. Why is this one called "legacy" and what should be used instead to pass the U-Boot bootargs to the Linux kernel? Thanks, Stefan ___ U-Boot mailing list

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-15 Thread Marek Vasut
On 08/14/2018 11:35 AM, Bin Meng wrote: [...] >> I think knowing where Linux does this >> would be instructive to figure out where we need to have some additional >> logic added OR we can make some cost/benefit analysis to see if it makes >> more sense overall to add compatibles

[U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top

2018-08-15 Thread Ley Foon Tan
Move reset manager node to top, so reset driver can be load before other drivers. Peripheral drivers have dependency on reset framework to reset the hardware. Signed-off-by: Ley Foon Tan --- arch/arm/dts/socfpga_stratix10.dtsi | 16 1 file changed, 8 insertions(+), 8

[U-Boot] [PATCH] usb: dwc2: Add reset ctrl to driver

2018-08-15 Thread Ley Foon Tan
Add code to reset all reset signals as in usb DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: Change to use dev_read_addr()

2018-08-15 Thread Marek Vasut
On 08/15/2018 08:05 PM, Ley Foon Tan wrote: > This changes the driver to use dev_read_addr() which is safe both for > flat trees and live trees. > > Signed-off-by: Ley Foon Tan Acked-by: Marek Vasut > --- > drivers/gpio/dwapb_gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: Enable get_function support

2018-08-15 Thread Marek Vasut
On 08/15/2018 08:05 PM, Ley Foon Tan wrote: > Enabled get_function support for dwapb where the function will > return the state of GPIO port. > > Signed-off-by: Chin Liang See > Signed-off-by: Ley Foon Tan > --- > drivers/gpio/dwapb_gpio.c | 15 +++ > 1 file changed, 15

Re: [U-Boot] [PATCH] usb: dwc2: Add reset ctrl to driver

2018-08-15 Thread Marek Vasut
On 08/15/2018 08:01 PM, Ley Foon Tan wrote: > Add code to reset all reset signals as in usb DT node. A reset property > is an optional feature, so only print out a warning and do not fail if a > reset property is not present. > > If a reset property is discovered, then use it to deassert, thus >

Re: [U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top

2018-08-15 Thread Ley Foon Tan
On Wed, Aug 15, 2018 at 6:13 PM, Marek Vasut wrote: > On 08/15/2018 08:01 PM, Ley Foon Tan wrote: >> Move reset manager node to top, so reset driver can be load before >> other drivers. Peripheral drivers have dependency on reset framework >> to reset the hardware. >> >> Signed-off-by: Ley Foon

Re: [U-Boot] [PATCH v2 2/2] board: sunxi: sun8i-v40: Add Bananapi M2 Berry support

2018-08-15 Thread Alan Beard
Hi Maxine and team, I want to run Fedora linux, from here: https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Spins/armhfp /images/ on the Banana Pi BPI-M2 Berry. (works fine on a Banana Pi original) I've waited six months for the patches to filter through to the Fedora team

Re: [U-Boot] [PATCH] arm: socfpga: Fix SYSMGR_FPGAINTF_EMACx bit mask

2018-08-15 Thread Ley Foon Tan
On Wed, Aug 15, 2018 at 6:21 PM, Marek Vasut wrote: > On 08/15/2018 08:20 PM, Ley Foon Tan wrote: >> Bitmask for EMAC should be bit-0, EMAC1 bit-8 and EMAC2 bit-16. >> >> Signed-off-by: Ley Foon Tan >> --- >> arch/arm/mach-socfpga/include/mach/system_manager_s10.h | 6 +++--- >> 1 file changed,

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-15 Thread Tom Rini
On Wed, Aug 15, 2018 at 06:19:25PM +0800, Bin Meng wrote: > Hi Marek, > > On Wed, Aug 15, 2018 at 5:22 PM, Marek Vasut wrote: > > On 08/14/2018 11:40 AM, Bin Meng wrote: > >> Hi Marek, > >> > >> On Tue, Aug 14, 2018 at 4:55 PM, Marek Vasut wrote: > >>> On 08/14/2018 03:46 AM, Bin Meng wrote: >

Re: [U-Boot] CONFIG_MIPS_BOOT_CMDLINE_LEGACY usage ?

2018-08-15 Thread Daniel Schwierzeck
Hi Stefan, On 15.08.2018 10:23, Stefan Roese wrote: > Hi Daniel, > > I'm wondering about the CONFIG_MIPS_BOOT_CMDLINE_LEGACY Kconfig > option in MIPS. Why is this one called "legacy" and what should > be used instead to pass the U-Boot bootargs to the Linux kernel? > > Thanks, > Stefan This

Re: [U-Boot] [PATCH 4/5 v2] mips: Add Gardena Smart-Gateway board support

2018-08-15 Thread Daniel Schwierzeck
On 10.08.2018 09:48, Stefan Roese wrote: > The Gardena Smart-Gateway boards have a MT7688 SoC with 128 MiB of RAM > and 8 MiB of flash (SPI NOR) and additional 128MiB SPI NAND storage. > > This patch also includes 2 targets. One is the target that can be > programmed into the SPI NOR flash and

Re: [U-Boot] [PATCH v6 1/8] dm: mmc: use block layer in mmc driver

2018-08-15 Thread York Sun
First of all, your subject is wrong. You are not making any change to dm or mmc. On 08/13/2018 12:09 AM, Yinbo Zhu wrote: > At present the MMC subsystem maintains its own list > of MMC devices. This cannot work with driver model > when CONFIG_BLK is enabled, use blk_dread to > replace previous

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-15 Thread Jagan Teki
On Wed, Aug 15, 2018 at 6:50 PM, Adam Ford wrote: > On Mon, Aug 13, 2018 at 6:50 PM Adam Ford wrote: >> >> On Mon, Aug 13, 2018 at 5:09 PM Adam Ford wrote: >> > >> > On Mon, Aug 13, 2018 at 1:29 PM Simon Goldschmidt >> > wrote: >> > > >> > > On Mon, Aug 13, 2018 at 3:46 PM Alex Kiernan >> >

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-15 Thread Adam Ford
On Mon, Aug 13, 2018 at 6:50 PM Adam Ford wrote: > > On Mon, Aug 13, 2018 at 5:09 PM Adam Ford wrote: > > > > On Mon, Aug 13, 2018 at 1:29 PM Simon Goldschmidt > > wrote: > > > > > > On Mon, Aug 13, 2018 at 3:46 PM Alex Kiernan > > > wrote: > > > > > > > > On Mon, Aug 13, 2018 at 1:40 PM Adam

Re: [U-Boot] [PATCH 4/5 v2] mips: Add Gardena Smart-Gateway board support

2018-08-15 Thread Stefan Roese
On 15.08.2018 16:36, Daniel Schwierzeck wrote: On 10.08.2018 09:48, Stefan Roese wrote: The Gardena Smart-Gateway boards have a MT7688 SoC with 128 MiB of RAM and 8 MiB of flash (SPI NOR) and additional 128MiB SPI NAND storage. This patch also includes 2 targets. One is the target that can

[U-Boot] [PATCH v3] spi: Add SPI driver for MT76xx SoCs

2018-08-15 Thread Stefan Roese
This patch adds the SPI driver for the MediaTek MT7688 SoC (and derivates). Its been tested on the LinkIt Smart 7688 and the Gardena Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart Gateway additionally with an SPI NAND on CS1. Note that the SPI controller only supports a max

Re: [U-Boot] [PATCH 01/10] dm: fdt: scan for devices under /firmware too

2018-08-15 Thread Rob Herring
On Wed, Aug 15, 2018 at 8:51 AM Michal Simek wrote: > > Hi Rob, > > On 15.8.2018 16:34, Tom Rini wrote: > > On Wed, Aug 15, 2018 at 04:30:15PM +0200, Michal Simek wrote: > >> On 15.8.2018 16:17, Tom Rini wrote: > >>> On Mon, Aug 13, 2018 at 05:53:38PM +0200, Jens Wiklander wrote: > >>> >

Re: [U-Boot] [PATCH 01/10] dm: fdt: scan for devices under /firmware too

2018-08-15 Thread Tom Rini
On Wed, Aug 15, 2018 at 09:31:30AM -0600, Rob Herring wrote: > On Wed, Aug 15, 2018 at 8:51 AM Michal Simek wrote: > > > > Hi Rob, > > > > On 15.8.2018 16:34, Tom Rini wrote: > > > On Wed, Aug 15, 2018 at 04:30:15PM +0200, Michal Simek wrote: > > >> On 15.8.2018 16:17, Tom Rini wrote: > > >>> On

Re: [U-Boot] [PATCH] [RFC] blk: Increase cache element size

2018-08-15 Thread Marek Vasut
On 08/15/2018 06:12 PM, Tom Rini wrote: > On Wed, Aug 15, 2018 at 06:04:50PM +0200, Marek Vasut wrote: > >> On 08/15/2018 04:30 PM, Tom Rini wrote: >>> On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: >>> Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet

Re: [U-Boot] CONFIG_MIPS_BOOT_CMDLINE_LEGACY usage ?

2018-08-15 Thread Daniel Schwierzeck
On 15.08.2018 15:13, Stefan Roese wrote: > Hi Daniel, > > On 15.08.2018 15:01, Daniel Schwierzeck wrote: >> On 15.08.2018 10:23, Stefan Roese wrote: >>> Hi Daniel, >>> >>> I'm wondering about the CONFIG_MIPS_BOOT_CMDLINE_LEGACY Kconfig >>> option in MIPS. Why is this one called "legacy" and

Re: [U-Boot] [PATCH 01/10] dm: fdt: scan for devices under /firmware too

2018-08-15 Thread Tom Rini
On Mon, Aug 13, 2018 at 05:53:38PM +0200, Jens Wiklander wrote: > Just as /chosen may contain devices /firmware may contain devices, scan > for devices under /firmware too. > > Signed-off-by: Jens Wiklander > --- > drivers/core/root.c | 15 ++- > 1 file changed, 10 insertions(+), 5

Re: [U-Boot] [PATCH 3/5 v2] mips: Add LinkIt Smart 7688 support

2018-08-15 Thread Daniel Schwierzeck
On 10.08.2018 09:48, Stefan Roese wrote: > The LinkIt Smart 7688 modules have a MT7688 SoC with 128 MiB of RAM > and 32 MiB of flash (SPI NOR). > > The mt7628a.dtsi file is imported from Linux v4.17. > > This patch also includes 2 targets. One is the target that can be > programmed into the

Re: [U-Boot] [PATCH] [RFC] blk: Increase cache element size

2018-08-15 Thread Tom Rini
On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet > the underlying block layer devices usually report support for 512B . In > most cases, the 512B support is emulated (ie. SD cards, SSDs, USB sticks > etc.) and

Re: [U-Boot] [PATCH 01/10] dm: fdt: scan for devices under /firmware too

2018-08-15 Thread Michal Simek
Hi Rob, On 15.8.2018 16:34, Tom Rini wrote: > On Wed, Aug 15, 2018 at 04:30:15PM +0200, Michal Simek wrote: >> On 15.8.2018 16:17, Tom Rini wrote: >>> On Mon, Aug 13, 2018 at 05:53:38PM +0200, Jens Wiklander wrote: >>> Just as /chosen may contain devices /firmware may contain devices, scan

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-15 Thread Adam Ford
On Wed, Aug 15, 2018 at 11:07 AM Jagan Teki wrote: > > On Wed, Aug 15, 2018 at 6:50 PM, Adam Ford wrote: > > On Mon, Aug 13, 2018 at 6:50 PM Adam Ford wrote: > >> > >> On Mon, Aug 13, 2018 at 5:09 PM Adam Ford wrote: > >> > > >> > On Mon, Aug 13, 2018 at 1:29 PM Simon Goldschmidt > >> >

Re: [U-Boot] [PATCH] [RFC] blk: Increase cache element size

2018-08-15 Thread Tom Rini
On Wed, Aug 15, 2018 at 06:20:16PM +0200, Marek Vasut wrote: > On 08/15/2018 06:12 PM, Tom Rini wrote: > > On Wed, Aug 15, 2018 at 06:04:50PM +0200, Marek Vasut wrote: > > > >> On 08/15/2018 04:30 PM, Tom Rini wrote: > >>> On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > >>> >

Re: [U-Boot] [PATCH] [RFC] blk: Increase cache element size

2018-08-15 Thread Tom Rini
On Wed, Aug 15, 2018 at 06:04:50PM +0200, Marek Vasut wrote: > On 08/15/2018 04:30 PM, Tom Rini wrote: > > On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > > > >> Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet > >> the underlying block layer devices usually

Re: [U-Boot] [PATCH] dm: core: fix devfdt_remap_addr_index()

2018-08-15 Thread Daniel Schwierzeck
On 14.08.2018 12:48, Cédric Le Goater wrote: > commit 30a90f56c3a2 ("dm: core: add functions to get memory-mapped I/O > addresses") introduced a devfdt_remap_addr_index() routine but it does > not make use of the index parameter. > > Signed-off-by: Cédric Le Goater > --- >

Re: [U-Boot] [PATCH 01/10] dm: fdt: scan for devices under /firmware too

2018-08-15 Thread Tom Rini
On Wed, Aug 15, 2018 at 04:30:15PM +0200, Michal Simek wrote: > On 15.8.2018 16:17, Tom Rini wrote: > > On Mon, Aug 13, 2018 at 05:53:38PM +0200, Jens Wiklander wrote: > > > >> Just as /chosen may contain devices /firmware may contain devices, scan > >> for devices under /firmware too. > >> > >>

Re: [U-Boot] [PATCH 01/10] dm: fdt: scan for devices under /firmware too

2018-08-15 Thread Michal Simek
On 15.8.2018 16:17, Tom Rini wrote: > On Mon, Aug 13, 2018 at 05:53:38PM +0200, Jens Wiklander wrote: > >> Just as /chosen may contain devices /firmware may contain devices, scan >> for devices under /firmware too. >> >> Signed-off-by: Jens Wiklander >> --- >> drivers/core/root.c | 15

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-08-15 Thread Alexander Graf
On 08/08/2018 04:24 AM, Henry Beberman wrote: -Original Message- From: Alexander Graf Sent: Tuesday, August 7, 2018 6:46 AM To: Tom Rini Cc: Stefano Babic ; Henry Beberman ; u-boot@lists.denx.de; Fabio Estevam Subject: Re: [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

[U-Boot] [PATCH v4] spi: Add SPI driver for MT76xx SoCs

2018-08-15 Thread Stefan Roese
This patch adds the SPI driver for the MediaTek MT7688 SoC (and derivates). Its been tested on the LinkIt Smart 7688 and the Gardena Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart Gateway additionally with an SPI NAND on CS1. Note that the SPI controller only supports a max

Re: [U-Boot] [PATCH v4] spi: Add SPI driver for MT76xx SoCs

2018-08-15 Thread Daniel Schwierzeck
On 15.08.2018 17:19, Stefan Roese wrote: > This patch adds the SPI driver for the MediaTek MT7688 SoC (and > derivates). Its been tested on the LinkIt Smart 7688 and the Gardena > Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart > Gateway additionally with an SPI NAND on CS1. > >

Re: [U-Boot] [PATCH] [RFC] blk: Increase cache element size

2018-08-15 Thread Marek Vasut
On 08/15/2018 04:30 PM, Tom Rini wrote: > On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > >> Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet >> the underlying block layer devices usually report support for 512B . In >> most cases, the 512B support is

Re: [U-Boot] [PATCH V2 1/3] pinctrl: bcm6838: add pinctrl support

2018-08-15 Thread Daniel Schwierzeck
On 13.08.2018 14:23, Philippe Reynes wrote: > Add pinctrl support for broadcom bcm6838 SoC. > > Signed-off-by: Philippe Reynes > --- > Changelog: > v2: > - rename property pins-count to brcm,pins-count (feedback Daniel Schwierzeck) > - rename property functions-count to brcm,functions-count

Re: [U-Boot] CONFIG_MIPS_BOOT_CMDLINE_LEGACY usage ?

2018-08-15 Thread Stefan Roese
On 15.08.2018 16:05, Daniel Schwierzeck wrote: On 15.08.2018 15:13, Stefan Roese wrote: Hi Daniel, On 15.08.2018 15:01, Daniel Schwierzeck wrote: On 15.08.2018 10:23, Stefan Roese wrote: Hi Daniel, I'm wondering about the CONFIG_MIPS_BOOT_CMDLINE_LEGACY Kconfig option in MIPS. Why is this

Re: [U-Boot] [PATCH 3/5 v2] mips: Add LinkIt Smart 7688 support

2018-08-15 Thread Stefan Roese
On 15.08.2018 16:30, Daniel Schwierzeck wrote: On 10.08.2018 09:48, Stefan Roese wrote: The LinkIt Smart 7688 modules have a MT7688 SoC with 128 MiB of RAM and 32 MiB of flash (SPI NOR). The mt7628a.dtsi file is imported from Linux v4.17. This patch also includes 2 targets. One is the

Re: [U-Boot] [PATCH V2] spl: Weed out CONFIG_SYS_TEXT_BASE usage

2018-08-15 Thread Simon Goldschmidt
Marek Vasut schrieb am Mi., 15. Aug. 2018, 10:57: > On 08/14/2018 08:25 PM, Simon Goldschmidt wrote: > > On Tue, Aug 14, 2018 at 8:17 PM Marek Vasut wrote: > >> > >> On 08/14/2018 02:56 PM, Simon Goldschmidt wrote: > >>> On Tue, Aug 14, 2018 at 2:05 PM Marek Vasut wrote: > > On

Re: [U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top

2018-08-15 Thread Marek Vasut
On 08/15/2018 12:28 PM, Ley Foon Tan wrote: > On Wed, Aug 15, 2018 at 6:13 PM, Marek Vasut wrote: >> On 08/15/2018 08:01 PM, Ley Foon Tan wrote: >>> Move reset manager node to top, so reset driver can be load before >>> other drivers. Peripheral drivers have dependency on reset framework >>> to

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: Enable get_function support

2018-08-15 Thread Ley Foon Tan
On Wed, Aug 15, 2018 at 6:12 PM, Marek Vasut wrote: > On 08/15/2018 08:05 PM, Ley Foon Tan wrote: >> Enabled get_function support for dwapb where the function will >> return the state of GPIO port. >> >> Signed-off-by: Chin Liang See >> Signed-off-by: Ley Foon Tan >> --- >>

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-15 Thread Marek Vasut
On 08/15/2018 12:19 PM, Bin Meng wrote: > Hi Marek, > > On Wed, Aug 15, 2018 at 5:22 PM, Marek Vasut wrote: >> On 08/14/2018 11:40 AM, Bin Meng wrote: >>> Hi Marek, >>> >>> On Tue, Aug 14, 2018 at 4:55 PM, Marek Vasut wrote: On 08/14/2018 03:46 AM, Bin Meng wrote: > Hi Marek, >

Re: [U-Boot] [PATCH v2] spi: Add SPI driver for MT76xx SoCs

2018-08-15 Thread Stefan Roese
On 15.08.2018 14:02, Daniel Schwierzeck wrote: On 15.08.2018 13:26, Stefan Roese wrote: Hi Daniel, On 11.08.2018 18:59, Daniel Schwierzeck wrote: On 10.08.2018 08:56, Stefan Roese wrote: This patch adds the SPI driver for the MediaTek MT7688 SoC (and derivates). Its been tested on the

Re: [U-Boot] [PATCH 3/5 v2] mips: Add LinkIt Smart 7688 support

2018-08-15 Thread Daniel Schwierzeck
On 10.08.2018 09:48, Stefan Roese wrote: > The LinkIt Smart 7688 modules have a MT7688 SoC with 128 MiB of RAM > and 32 MiB of flash (SPI NOR). > > The mt7628a.dtsi file is imported from Linux v4.17. > > This patch also includes 2 targets. One is the target that can be > programmed into the

[U-Boot] [PATCH] Revert "Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if defined""

2018-08-15 Thread Vagrant Cascadian
This reverts commit 2a1f4f1758b55589395f90f583aacb07ae6fcafe. Maybe there's a better way to fix this, but reverting this got odroid-xu4 booting agian: U-Boot 2018.09-rc2+dfsg-1~20180814~1 (Aug 14 2018 - 18:33:28 +) for ODROID-XU3/XU4/HC1 CPU: Exynos5422 @ 800 MHz Model: Odroid XU3 based

Re: [U-Boot] [PATCH v4 4/5] arm: socfpga: fix SPL booting from fpga OnChip RAM

2018-08-15 Thread Simon Goldschmidt
On Wed, Aug 15, 2018 at 10:57 AM Marek Vasut wrote: > > On 08/14/2018 10:26 PM, Simon Goldschmidt wrote: > > On Tue, Aug 14, 2018 at 8:12 AM Simon Goldschmidt > > wrote: > >> > >> > >> > >> Marek Vasut schrieb am Mo., 13. Aug. 2018, 22:36: > >>> > >>> On 08/13/2018 09:34 PM, Simon Goldschmidt

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-15 Thread Adam Ford
On Wed, Aug 15, 2018 at 8:20 AM Adam Ford wrote: > > On Mon, Aug 13, 2018 at 6:50 PM Adam Ford wrote: > > > > On Mon, Aug 13, 2018 at 5:09 PM Adam Ford wrote: > > > > > > On Mon, Aug 13, 2018 at 1:29 PM Simon Goldschmidt > > > wrote: > > > > > > > > On Mon, Aug 13, 2018 at 3:46 PM Alex Kiernan

[U-Boot] [PATCH V2] ARM: configs: Add da850evm_nand to boot from NAND

2018-08-15 Thread Adam Ford
The DA850-EVM supports booting from NAND when used with the UI expander board. da850evm_nand will create an ais file that can be burned to NAND and booted while storing the env in NAND along with some partitions tables for storing kernel, dtb and rootfs in NAND. Signed-off-by: Adam Ford --- V2:

[U-Boot] [PATCH] board: arm: bcmstb: Declare get_ticks in timer.h

2018-08-15 Thread Thomas Fitzsimmons
In an earlier proposed patch, bcmstb.c implemented timer_read_counter, but it was updated to implement get_ticks instead. This patch updates the declaration in timer.h accordingly. Signed-off-by: Thomas Fitzsimmons --- arch/arm/mach-bcmstb/include/mach/timer.h | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 1/5 v2] mips: Add basic MediaTek MT7620/88 support

2018-08-15 Thread Daniel Schwierzeck
On 10.08.2018 09:48, Stefan Roese wrote: > This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of > the code is copied from the MediaTek GitHub repository: > > https://github.com/MediaTek-Labs/linkit-smart-uboot.git > > Support for the LinkIt Smart 7688 module and the Gardena

[U-Boot] [PATCH] i2c: Drop CONFIG_SYS_I2C_MXS

2018-08-15 Thread Tuomas Tynkkynen
Last user of this driver went away in May 2017, in commit eb5ba3aefdf0f6 ("i2c: Drop use of CONFIG_I2C_HARD") Signed-off-by: Tuomas Tynkkynen --- drivers/i2c/Makefile | 1 - drivers/i2c/mxs_i2c.c | 319 -- 2 files changed, 320 deletions(-)

Re: [U-Boot] [PATCH v4 4/5] arm: socfpga: fix SPL booting from fpga OnChip RAM

2018-08-15 Thread Marek Vasut
On 08/15/2018 09:23 PM, Simon Goldschmidt wrote: > On Wed, Aug 15, 2018 at 10:57 AM Marek Vasut wrote: >> >> On 08/14/2018 10:26 PM, Simon Goldschmidt wrote: >>> On Tue, Aug 14, 2018 at 8:12 AM Simon Goldschmidt >>> wrote: Marek Vasut schrieb am Mo., 13. Aug. 2018, 22:36:

Re: [U-Boot] [PATCH] Revert "Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if defined""

2018-08-15 Thread Bin Meng
On Thu, Aug 16, 2018 at 4:02 AM, Vagrant Cascadian wrote: > This reverts commit 2a1f4f1758b55589395f90f583aacb07ae6fcafe. > Eh, this is a revert to a "revert" commit? > Maybe there's a better way to fix this, but reverting this got > odroid-xu4 booting agian: > Have we found out the real root

[U-Boot] [PATCH v2] gpio: dwapb_gpio: Enable get_function support

2018-08-15 Thread Ley Foon Tan
Enabled get_function support for dwapb where the function will return the state of GPIO port. Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- v2: Change to use "if (gpio & BIT(offset))" bit masking. --- drivers/gpio/dwapb_gpio.c | 14 ++ 1 file changed, 14

[U-Boot] [PATCH v2] usb: dwc2: Add reset ctrl to driver

2018-08-15 Thread Ley Foon Tan
Add code to reset all reset signals as in usb DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon

[U-Boot] [PATCH v2] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-15 Thread Ley Foon Tan
Add code to reset all reset signals as in gpio DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon

Re: [U-Boot] [PATCH v2 2/2] board: sunxi: sun8i-v40: Add Bananapi M2 Berry support

2018-08-15 Thread Jagan Teki
On Wed, Aug 15, 2018 at 3:22 AM, Alan Beard wrote: > Hi Maxine and team, > > I want to run Fedora linux, from here: > https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Spins/armhfp > /images/ > > on the Banana Pi BPI-M2 Berry. (works fine on a Banana Pi original) > > I've waited

Re: [U-Boot] [ANN] U-Boot v2018.09-rc2 released

2018-08-15 Thread Peter Robinson
On Wed, Aug 15, 2018 at 6:55 AM, Jagan Teki wrote: > On Wed, Aug 15, 2018 at 2:35 AM, Peter Robinson wrote: >> On Tue, Aug 14, 2018 at 2:22 AM, Tom Rini wrote: >>> Hey all, >>> >>> It is release day and despite Travis-CI being really bad about network >>> connections over the weekend, it's back

Re: [U-Boot] [ANN] U-Boot v2018.09-rc2 released

2018-08-15 Thread Peter Robinson
On Wed, Aug 15, 2018 at 7:13 AM, Jagan Teki wrote: > On Wed, Aug 15, 2018 at 11:40 AM, Peter Robinson wrote: >> On Wed, Aug 15, 2018 at 6:55 AM, Jagan Teki >> wrote: >>> On Wed, Aug 15, 2018 at 2:35 AM, Peter Robinson >>> wrote: On Tue, Aug 14, 2018 at 2:22 AM, Tom Rini wrote: >

Re: [U-Boot] [ANN] U-Boot v2018.09-rc2 released

2018-08-15 Thread Jagan Teki
On Wed, Aug 15, 2018 at 11:40 AM, Peter Robinson wrote: > On Wed, Aug 15, 2018 at 6:55 AM, Jagan Teki > wrote: >> On Wed, Aug 15, 2018 at 2:35 AM, Peter Robinson wrote: >>> On Tue, Aug 14, 2018 at 2:22 AM, Tom Rini wrote: Hey all, It is release day and despite Travis-CI being

Re: [U-Boot] [PATCH 1/4] mips: Add basic MediaTek MT7620/88 support

2018-08-15 Thread Stefan Roese
Hi Daniel, On 12.08.2018 00:52, Daniel Schwierzeck wrote: On 09.08.2018 16:22, Stefan Roese wrote: diff --git a/arch/mips/mach-mt7620/cpu.c b/arch/mips/mach-mt7620/cpu.c new file mode 100644 index 00..0b22956499 --- /dev/null +++ b/arch/mips/mach-mt7620/cpu.c @@ -0,0 +1,66 @@ +//