Re: [U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-07-07 Thread Grygorii Strashko
On 07/06/2017 10:58 PM, Simon Glass wrote: Hi, On 26 June 2017 at 18:12, Grygorii Strashko wrote: From: Mugunthan V N nand_info is used all over the file so abstract it with get_nand_dev_by_index() which will help for DM conversion.

Re: [U-Boot] [PATCH v3 25/35] dm: tegra: pci: Convert to livetree

2017-07-07 Thread Peter Robinson
On Fri, Jul 7, 2017 at 4:50 PM, Stephen Warren wrote: > On 07/06/2017 09:57 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 6 July 2017 at 12:55, Stephen Warren wrote: >>> >>> >>> On 07/06/2017 11:36 AM, s...@google.com wrote: Update

Re: [U-Boot] USB power is not enabled fro BeagleBone Black

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 02:47:40PM -0700, Stephen Arnold wrote: > Are we sure that's intentional? One of the common use cases for black is > to plug in a usb keyboard/mouse and hdmi cable; what requirement is driving > this? It would be great to have u-boot console support ala cubox/allwinner.

Re: [U-Boot] USB power is not enabled fro BeagleBone Black

2017-07-07 Thread Stephen Arnold
Are we sure that's intentional? One of the common use cases for black is to plug in a usb keyboard/mouse and hdmi cable; what requirement is driving this? It would be great to have u-boot console support ala cubox/allwinner. Just checking... Steve On Fri, Jul 7, 2017 at 7:41 AM, Tom Rini

Re: [U-Boot] [PATCH 2/5] net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 10:13:09PM +0200, Marek Vasut wrote: > On 07/07/2017 08:36 PM, Alexandru Gagniuc wrote: > > The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they > > share the same ID. Drivers for bothe PHYs cannot safely coexist, so > > the solution was to use #ifdefs to

Re: [U-Boot] [PATCH 2/5] net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers

2017-07-07 Thread Marek Vasut
On 07/07/2017 08:36 PM, Alexandru Gagniuc wrote: > The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they > share the same ID. Drivers for bothe PHYs cannot safely coexist, so > the solution was to use #ifdefs to select between the two drivers. > > As a result KSZ9031, which has a

Re: [U-Boot] [U-Boot, 5/5] net: phy: Hide Micrel KSZ9021 and KSZ9031 Kconfig options

2017-07-07 Thread Philipp Tomsich
> The correct option is PHY_MICREL_KSZ90X1, but some configs still > select the 9021 and 9031 options, which are deprecated. > > Signed-off-by: Alexandru Gagniuc > --- > drivers/net/phy/Kconfig | 24 ++-- > 1 file changed, 2 insertions(+), 22

Re: [U-Boot] [U-Boot, 2/5] net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers

2017-07-07 Thread Philipp Tomsich
> The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they > share the same ID. Drivers for bothe PHYs cannot safely coexist, so > the solution was to use #ifdefs to select between the two drivers. > > As a result KSZ9031, which has a unique ID, is now caught in the > crossfire. Unless

Re: [U-Boot] [U-Boot, 4/5] net: phy: micrel: Remove ksz90x1 drivers from micrel_ksz8xxx

2017-07-07 Thread Philipp Tomsich
> There should be no longer be any ksz9000 users that pick up the PHY > driver from ksz8xxx, so remove ksz9000 remnants from there. > > Signed-off-by: Alexandru Gagniuc > --- > drivers/net/phy/micrel_ksz8xxx.c | 357 > +-- > 1 file

Re: [U-Boot] [U-Boot, 1/5] net: phy: Remove duplicate Kconfig selection for Micrel KSZ9021

2017-07-07 Thread Philipp Tomsich
> --- > drivers/net/phy/Kconfig | 8 > 1 file changed, 8 deletions(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] ARM: ti816x: Fix enabling GPIO0, enable GPIO1 as well

2017-07-07 Thread Tom Rini
The TI816x has 2 GPIO banks. For bank 0 we had been clearing the enable bit when setting BIT(8). Correct this by setting it to BIT(1) | BIT(8) after we set and wait for BIT(1) (aka PRCM_MOD_EN). Enable GPIO1 as well so that when CMD_GPIO is enabled it won't crash probing the second bank.

[U-Boot] [PATCH] mx6sabreauto: Add Falcon mode support

2017-07-07 Thread Diego Dorta
Add support for Falcon mode and explain in the README the steps to boot the kernel directly without loading the full U-Boot. Signed-off-by: Diego Dorta --- board/freescale/mx6sabreauto/README | 62 +

[U-Boot] [PATCH 4/5] net: phy: micrel: Remove ksz90x1 drivers from micrel_ksz8xxx

2017-07-07 Thread Alexandru Gagniuc
There should be no longer be any ksz9000 users that pick up the PHY driver from ksz8xxx, so remove ksz9000 remnants from there. Signed-off-by: Alexandru Gagniuc --- drivers/net/phy/micrel_ksz8xxx.c | 357 +-- 1 file changed, 1

[U-Boot] [PATCH 2/5] net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers

2017-07-07 Thread Alexandru Gagniuc
The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they share the same ID. Drivers for bothe PHYs cannot safely coexist, so the solution was to use #ifdefs to select between the two drivers. As a result KSZ9031, which has a unique ID, is now caught in the crossfire. Unless

[U-Boot] [PATCH 5/5] net: phy: Hide Micrel KSZ9021 and KSZ9031 Kconfig options

2017-07-07 Thread Alexandru Gagniuc
The correct option is PHY_MICREL_KSZ90X1, but some configs still select the 9021 and 9031 options, which are deprecated. Signed-off-by: Alexandru Gagniuc --- drivers/net/phy/Kconfig | 24 ++-- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git

[U-Boot] [PATCH] MAINTAINERS: drop bcm283x/rpi maintainership

2017-07-07 Thread Stephen Warren
It's been a while since I've touched U-Boot on the Raspberry Pi and other things have been taking my time. Drop my maintainership for this port. Signed-off-by: Stephen Warren --- MAINTAINERS | 4 ++-- board/raspberrypi/rpi/MAINTAINERS | 4 ++-- 2

Re: [U-Boot] [PATCH v3 25/35] dm: tegra: pci: Convert to livetree

2017-07-07 Thread Stephen Warren
On 07/06/2017 09:57 PM, Simon Glass wrote: Hi Stephen, On 6 July 2017 at 12:55, Stephen Warren wrote: On 07/06/2017 11:36 AM, s...@google.com wrote: Update the tegra pci driver to support a live device tree. Fix the check for nvidia,num-lanes so that an error will

Re: [U-Boot] [PATCH 1/5] board/db410c: use fdt passed from lk

2017-07-07 Thread Tom Rini
On Sat, Jun 24, 2017 at 07:05:19PM -0400, Rob Clark wrote: > lk patches the fdt to set some device's MAC addresses and more > importantly to patch in the simple-framebuffer node that we want u-boot > to see. > > Signed-off-by: Rob Clark > --- >

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the

Re: [U-Boot] USB power is not enabled fro BeagleBone Black

2017-07-07 Thread Tom Rini
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote: > Hi all, > > The latest git version does not turn on USB power on BeagleBone Black: > "usb start" reports that the port is not accessible, but with external > power provided it detects the plugged in device. Yes, I think this may be

Re: [U-Boot] [PATCH 1/2] pipe3: Fix broken dependency

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 12:13:34PM +0200, Jean-Jacques Hiblot wrote: > ARCH_OMAP2 has been renamed ARCH_OMAP2PLUS in commit a93fbf4a7892 > ("ARM: omap2+: rename config to ARCH_OMAP2PLUS and consolidate Kconfig") > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini

Re: [U-Boot] [RFC PATCH 2/2] board: laird: add WB50N CPU module

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 11:40:30AM +0100, Ben Whitten wrote: > This board is based on the Atmel sama5d3 eval boards. > Supporting the following features: > - Boot from NAND Flash > - Ethernet > - FIT > - SPL > > Signed-off-by: Ben Whitten > Signed-off-by: Dan

Re: [U-Boot] [RFC PATCH 1/2] board: laird: add WB45N CPU module

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 11:40:29AM +0100, Ben Whitten wrote: > This board is based on the Atmel 9x5 eval board. > Supporting the following features: > - Boot from NAND Flash > - Ethernet > - FIT > - SPL > > Signed-off-by: Ben Whitten > Signed-off-by: Dan Kephart

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: > u-boot can be embedded within a FIT image with multiple DTBs. It then > selects at run-time which one is best suited for the platform. > Use the same principle here for the SPL: put the DTBs in a FIT image, > compress it

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
Hi all, I forgot to mention in the title that it is a RFC only. I'd like to know if you think that this feature is desirable or not. and if the approach seems correct. If so I will send a proper patch later with the proper Kconfig description and proposed modifications. Jean-Jacques On

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
+ Tom Rini On 07/07/2017 13:44, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress

Re: [U-Boot] [PATCH v4 3/7] arch/arm/dts: Add Turris Omnia device tree

2017-07-07 Thread Stefan Roese
On 07.07.2017 14:22, Marek Behún wrote: I'm wondering, where the u-boot.dtsi is included? I can't find any reference to it in this patch. Hi Stefan, the include is somehow done automatically by the u-boot build system. (See in u-boot/scripts/Makefile.lib, search for string "Try these files in

Re: [U-Boot] [PATCH v4 3/7] arch/arm/dts: Add Turris Omnia device tree

2017-07-07 Thread Marek Behún
> I'm wondering, where the u-boot.dtsi is included? I can't find > any reference to it in this patch. Hi Stefan, the include is somehow done automatically by the u-boot build system. (See in u-boot/scripts/Makefile.lib, search for string "Try these files in order to find the U-Boot-specific .dtsi

Re: [U-Boot] [PATCH v4 3/7] arch/arm/dts: Add Turris Omnia device tree

2017-07-07 Thread Stefan Roese
Hi Marek, On 09.06.2017 19:28, Marek Behún wrote: > This device tree is taken from mainline Linux kernel commit > 7b7db5ab. Added is also a -u-boot.dtsi file with these additions: > >- aliases for I2C and SPI devices are added, because i2cmux and > SPI flash doesn't work otherwise >

Re: [U-Boot] [U-Boot, v1, 1/3] wdt: Fix spelling Resettting -> Resetting

2017-07-07 Thread Tom Rini
On Wed, Jul 05, 2017 at 08:44:06PM +0300, Andy Shevchenko wrote: > Fix spelling Resettting -> Resetting. > No functional change intended. > > Signed-off-by: Andy Shevchenko > Reviewed-by: Bin Meng > Reviewed-by: Heiko Schocher

[U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no compression) and append it at the end of the SPL.

Re: [U-Boot] km/common: remove unused code

2017-07-07 Thread Tom Rini
On Fri, Jun 30, 2017 at 03:33:35PM +0200, Holger Brunck wrote: > The 82xx board mgcoge3ne was removed from the codebase, so this is dead > code. > > Signed-off-by: Holger Brunck > Cc: Heiko Schocher > Reviewed-by: Heiko Schocher Applied

Re: [U-Boot] [U-Boot,v3] avr32: Retire AVR32 for good

2017-07-07 Thread Tom Rini
On Wed, Jul 05, 2017 at 04:25:22PM +0300, Andy Shevchenko wrote: > AVR32 is gone. It's already more than two years for no support in Buildroot, > even longer there is no support in GCC (last version is heavily patched > 4.2.4). > > Linux kernel v4.12 got rid of it (and v4.11 didn't build

Re: [U-Boot] stm32: Correct positioning of declaration

2017-07-07 Thread Tom Rini
On Sat, Jul 01, 2017 at 11:06:09AM -0600, Simon Glass wrote: > The current code gives a warning: > > arch/arm/mach-stm32/stm32f7/soc.c: In function 'arch_cpu_init': > arch/arm/mach-stm32/stm32f7/soc.c:38:2: error: 'for' loop initial > declarations are only allowed in C99 or C11 mode > for

Re: [U-Boot] igep003x: Falcon mode

2017-07-07 Thread Tom Rini
On Sun, Jun 25, 2017 at 10:30:47AM +0200, Ladislav Michl wrote: > Implement spl_start_uboot to let Falcon mode work. > > Signed-off-by: Ladislav Michl > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] am335x: sl50: Enable CONFIG_AUTOBOOT_KEYED

2017-07-07 Thread Tom Rini
On Thu, Jul 06, 2017 at 11:37:58AM +0200, Enric Balletbo i Serra wrote: > On startup the SL50 board halt at U-Boot prompt. Use CONFIG_AUTOBOOT_KEYED > to enable autoboot for this board and define the key to get the > U-Boot prompt. > > Signed-off-by: Enric Balletbo i Serra

Re: [U-Boot] [U-Boot, v2, 1/1] configs: Odroid C2: enable device tree overlays

2017-07-07 Thread Tom Rini
On Thu, Jun 29, 2017 at 09:29:55PM +0200, xypron.g...@gmx.de wrote: > The Odroid C2 comes with several expansion options such as an RTC module. > As these expansions are not considered in the Linux device tree they have > to be enabled via device tree overlays. > > Signed-off-by: Heinrich

Re: [U-Boot] arm64: use psci reset on snapdragon

2017-07-07 Thread Tom Rini
On Mon, Jun 26, 2017 at 09:22:23AM -0400, Rob Clark wrote: > This actually works on snapdragon.. not sure why we weren't using it. > Fixes reboot/poweroff when using UEFI. > > Signed-off-by: Rob Clark > Reviewed-by: Alexander Graf Applied to u-boot/master,

Re: [U-Boot] [U-Boot,v2] board/BuR/brppt1: fix MMC boot

2017-07-07 Thread Tom Rini
On Thu, Jul 06, 2017 at 08:47:14AM +0200, Hannes Schmelzer wrote: > since commit > 'd5abcf94c7123167725fc22ace342f0d455093c1' - > ti: boot: Register the MMC controllers in SPL in the same way as in u-boot > > MMC boot on brppt1 board is broken, with this commit we make our board > working

Re: [U-Boot] [U-Boot,v1,3/3] wdt: Unify option of timeout value

2017-07-07 Thread Tom Rini
On Wed, Jul 05, 2017 at 08:44:08PM +0300, Andy Shevchenko wrote: > There is no need to duplicate same option with different name. > > Kill HW_WATCHDOG_TIMEOUT_MS in favor of WATCHDOG_TIMEOUT_MSECS. > > Signed-off-by: Andy Shevchenko > Reviewed-by: Bin Meng

Re: [U-Boot] [U-Boot,4/4] CHIP: add device tree overlay support

2017-07-07 Thread Tom Rini
On Mon, Jun 26, 2017 at 02:25:06PM +0100, Peter Robinson wrote: > CHIP and CHIP Pro devices have options of DIP addon boards some of which need > overlays from the beginning so it makes sense to enable device tree overlays. > > Signed-off-by: Peter Robinson Applied to

Re: [U-Boot] [U-Boot, 2/4] am335x: beagle/evm: add device tree overlay support

2017-07-07 Thread Tom Rini
On Mon, Jun 26, 2017 at 02:25:04PM +0100, Peter Robinson wrote: > TI am33xx devices such as the BeagleBone devices have numerous cape options > such > as screens some of which need overlays from the beginning so it makes sense to > enable evice tree overlays. > > Signed-off-by: Peter Robinson

Re: [U-Boot] [U-Boot,v2] mkimage: fix display of image types list

2017-07-07 Thread Tom Rini
On Thu, Jun 29, 2017 at 08:37:08PM +0300, Baruch Siach wrote: > Since commit 5b9d44df2307f (mkimage: Display a better list of available image > types) mkimage usage text suggest to "use -T to see a list of available image > types". Unfortunately, commit 02221f29deb8 (mkimage: Convert to use

Re: [U-Boot] [U-Boot, 1/4] Raspberry Pi: add device tree overlay support

2017-07-07 Thread Tom Rini
On Mon, Jun 26, 2017 at 02:25:03PM +0100, Peter Robinson wrote: > Raspberry Pi has numerous HAT and other HW expansion options such as screens > and > cameras some of which need overlays from the beginning so it makes sense to > enable evice tree overlays. > > Signed-off-by: Peter Robinson

Re: [U-Boot] odroid-c2: Populate serial# environment variable from efuse

2017-07-07 Thread Tom Rini
On Fri, Jun 23, 2017 at 01:40:00PM +, Martin Böh wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] igep00x0: Enable UBI fastmap

2017-07-07 Thread Tom Rini
On Sun, Jun 25, 2017 at 10:29:25AM +0200, Ladislav Michl wrote: > Fastmap significantly reduces flash scan time, enable it by default. > > Signed-off-by: Ladislav Michl > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 3/4] 96boards: dragonboard/hikey: add device tree overlay support

2017-07-07 Thread Tom Rini
On Mon, Jun 26, 2017 at 02:25:05PM +0100, Peter Robinson wrote: > 96boards CE devices such as the DragonBoard and Hikey devices have numerous > mezzanine options some of which need overlays from the beginning so it makes > sense to enable device tree overlays. > > Signed-off-by: Peter Robinson

Re: [U-Boot] spl: Make UBI fastmap support Kconfig selectable

2017-07-07 Thread Tom Rini
On Sun, Jun 25, 2017 at 10:26:11AM +0200, Ladislav Michl wrote: > Fastmap was always enabled in ubispl, make it selectable by > CONFIG_MTD_UBI_FASTMAP. > > Signed-off-by: Ladislav Michl > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] gpio: add static to get_function()

2017-07-07 Thread Tom Rini
On Thu, Jun 22, 2017 at 04:50:25PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Reviewed-by: Bin Meng > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] serial: make serial_stub_* to static functions

2017-07-07 Thread Tom Rini
On Thu, Jun 22, 2017 at 04:48:49PM +0900, Masahiro Yamada wrote: > Add missing static to serial_stub_puts(). > > Unexport serial_stub_{getc,tstc} because they are used locally. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Bin Meng >

[U-Boot] [RFC PATCH 2/2] board: laird: add WB50N CPU module

2017-07-07 Thread Ben Whitten
This board is based on the Atmel sama5d3 eval boards. Supporting the following features: - Boot from NAND Flash - Ethernet - FIT - SPL Signed-off-by: Ben Whitten Signed-off-by: Dan Kephart --- arch/arm/mach-at91/Kconfig| 8 ++

[U-Boot] [RFC PATCH 0/2] Add support for two modules from Laird

2017-07-07 Thread Ben Whitten
Hi These patches add basic support for two cpu modules from Laird. These boards are based on the at91sam9x5ek and the sama5d3xek and have been updated from old versions. I believe I have captured the KConfig moves and adjustents but if there are better solutions now I should look into please let

[U-Boot] [RFC PATCH 1/2] board: laird: add WB45N CPU module

2017-07-07 Thread Ben Whitten
This board is based on the Atmel 9x5 eval board. Supporting the following features: - Boot from NAND Flash - Ethernet - FIT - SPL Signed-off-by: Ben Whitten Signed-off-by: Dan Kephart --- arch/arm/mach-at91/Kconfig | 6 +

[U-Boot] Converting device model driver to use it for older uboot versions

2017-07-07 Thread raghav
I am trying to use freescale dspi driver ,but it's only available in recent releases of uboot hence having a device model ,but I want to use it for uboot 2010,how to do it,or any patch available Sent from RediffmailNG on Android ___ U-Boot mailing

Re: [U-Boot] [PATCH 3/3] usb: configs: Clean up CONFIG_SYS_USB_EVENT_POLL_(xxx) in board configs

2017-07-07 Thread Simon Glass
On 26 June 2017 at 05:05, Bin Meng wrote: > The following 3 Kconfig options > - CONFIG_SYS_USB_EVENT_POLL > - CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP > - CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE > > are already converted to Kconfig. Let's clean up all board configs to > switch

Re: [U-Boot] Nios II 10m50 is not working

2017-07-07 Thread Gan, Yau Wai
I tried adding the dm-pre-reloc line to every node and sub-node, but it doesn’t help. On 06/07/2017, 8:26 PM, "Lothar Waßmann" wrote: >Hi, > >On Thu, 6 Jul 2017 10:32:57 + Gan, Yau Wai wrote: >> U-boot for Nios II on the 10m50 dev board is not functioning. The

Re: [U-Boot] [PATCH v1 2/3] wdt: Timeout better to be in microseconds

2017-07-07 Thread Andy Shevchenko
On Thu, 2017-07-06 at 21:59 -0600, Simon Glass wrote: > Hi Andy, > > On 5 July 2017 at 11:44, Andy Shevchenko > wrote: > > Timeout in some abstract ticks is not what we are applying to get > > deterministic behaviour. > > A tick is always milliseconds in

Re: [U-Boot] [PATCH 4/5] test: overlay: Add unit test for stacked overlay

2017-07-07 Thread Pantelis Antoniou
On Fri, 2017-07-07 at 00:48 -0700, Moritz Fischer wrote: > Hi Pantelis, > > nit inline > > On Fri, Jun 30, 2017 at 9:23 AM, Pantelis Antoniou > wrote: > > Verify that stacked overlays work. > > > > Signed-off-by: Pantelis Antoniou

Re: [U-Boot] [PATCH 4/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-07-07 Thread Andre Przywara
Hi Simon, On 07/07/17 04:58, Simon Glass wrote: > Hi Andre, > > On 2 July 2017 at 18:59, Andre Przywara wrote: >> Instead of hard-coding GPIO pins used for a certain peripheral, we >> should just use the pinctrl information from the DT. >> The sun8i-emac driver has some

[U-Boot] [PATCH 1/2] pipe3: Fix broken dependency

2017-07-07 Thread Jean-Jacques Hiblot
ARCH_OMAP2 has been renamed ARCH_OMAP2PLUS in commit a93fbf4a7892 ("ARM: omap2+: rename config to ARCH_OMAP2PLUS and consolidate Kconfig") Signed-off-by: Jean-Jacques Hiblot --- drivers/phy/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 2/2] ahci: dm: Fix memory allocation for uclass private data

2017-07-07 Thread Jean-Jacques Hiblot
Allocate manually the uclass private data in ahci_init_dm(). Don't do this in the declaration of the scsi uclass driver with .per_device_auto_alloc_size because it is AHCI specific. Signed-off-by: Jean-Jacques Hiblot --- drivers/ata/ahci.c | 8 +++- 1 file changed, 7

[U-Boot] [PATCH 0/2] dm: ahci: Fix dwc_ahci

2017-07-07 Thread Jean-Jacques Hiblot
This series applies to u-boot-dm/master. It fixes 2 issues preventing usage of SATA on DRA7/AM57 platforms The first patch is a simply fix to the Kconfig that allows building the driver again. The second patch fixes an issue introduced by commit 7278fc4f7256628b ("dm: ahci: Drop use of

Re: [U-Boot] [PATCH] dm: arm: ls1021a: Move to driver model for USB

2017-07-07 Thread Bin Meng
On Fri, Jul 7, 2017 at 3:10 PM, Alison Wang wrote: > This patch enables driver model for USB in defconfigs for LS1021A platforms. > > Signed-off-by: Alison Wang > --- > configs/ls1021aqds_nand_defconfig | 1 + >

Re: [U-Boot] [PATCH 4/5] test: overlay: Add unit test for stacked overlay

2017-07-07 Thread Marek Vasut
On 07/07/2017 09:48 AM, Moritz Fischer wrote: > Hi Pantelis, > > nit inline > > On Fri, Jun 30, 2017 at 9:23 AM, Pantelis Antoniou > wrote: >> Verify that stacked overlays work. >> >> Signed-off-by: Pantelis Antoniou > >

Re: [U-Boot] [PATCH 1/6] sunxi: A64: dts: replace EMAC .dtsi with symlink

2017-07-07 Thread Andre Przywara
Hi, On 07/07/17 04:58, Simon Glass wrote: > Hi Andre, > > On 2 July 2017 at 18:59, Andre Przywara wrote: >> Currently we add the U-Boot specific Ethernet MAC DT nodes for the >> Pine64 via a board-specific add-on .dtsi. >> However these nodes and properties in there are

Re: [U-Boot] [PATCH v3] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-07 Thread Christophe LEROY
Dear Wolfgang, Le 06/07/2017 à 17:23, Wolfgang Denk a écrit : Dear Christophe, In message <20170706144516.9df0269...@pc13941vm.idsi0.si.c-s.fr> you wrote: CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885

[U-Boot] [PATCH v4] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-07 Thread Christophe Leroy
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy --- v4: Takes into account additional comments

Re: [U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable

2017-07-07 Thread Stefano Babic
Hi Peng, On 07/07/2017 09:42, Peng Fan wrote: > Ping.. > I was unsure if I have to take care of this patchset, because they are not strictly related to i.MX. Anyway, there are no open points and if nobody complains, I merge them into u-boot-imx, -next. Regards, Stefano > Thanks, > Peng. > On

Re: [U-Boot] [RFC] efi_loader: memory leak in bootefi

2017-07-07 Thread Ard Biesheuvel
On 6 July 2017 at 20:24, Alexander Graf wrote: > > > On 06.07.17 20:23, Heinrich Schuchardt wrote: >> >> On 07/06/2017 05:52 PM, Alexander Graf wrote: >>> >>> Hi Heinrich, >>> >>> On 07/06/2017 05:43 PM, Heinrich Schuchardt wrote: Hello Alex, in bootefi.c

Re: [U-Boot] [PATCH 4/5] test: overlay: Add unit test for stacked overlay

2017-07-07 Thread Moritz Fischer
Hi Pantelis, nit inline On Fri, Jun 30, 2017 at 9:23 AM, Pantelis Antoniou wrote: > Verify that stacked overlays work. > > Signed-off-by: Pantelis Antoniou Reviewed-by: Moritz Fischer > --- >

Re: [U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable

2017-07-07 Thread Peng Fan
Ping.. Thanks, Peng. On Mon, Jun 12, 2017 at 05:50:52PM +0800, Peng Fan wrote: >The type should be int, not u8. cfg->wp_enable will finally be >assigned to priv->wp_enable whose type is int. > >Signed-off-by: Peng Fan >--- > >V4: > new > > include/fsl_esdhc.h | 2 +- > 1 file

Re: [U-Boot] Targets with xHCI but without DM_USB

2017-07-07 Thread Alison Wang
Hi, Bin, I have sent a patch to enable driver model for USB for LS1021A boards. Thanks for reminding. Best Regards, Alison Wang > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, July 04, 2017 10:16 PM > To: Vignesh R ; Alison Wang

Re: [U-Boot] [PATCH 00/12] tegra: nyan-big: Support chainloading and add documentation

2017-07-07 Thread Thomas Hoff
Are you asking me or Tom Warren? On Thu, Jul 6, 2017 at 8:58 PM, Simon Glass wrote: > Hi Tom, > > On 27 June 2017 at 14:09, Thomas Hoff wrote: > > Thanks a bunch Simon (and everyone else who contributed)! > > > > I followed the instructions and was

[U-Boot] [PATCH] dm: arm: ls1021a: Move to driver model for USB

2017-07-07 Thread Alison Wang
This patch enables driver model for USB in defconfigs for LS1021A platforms. Signed-off-by: Alison Wang --- configs/ls1021aqds_nand_defconfig | 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig| 1 + configs/ls1021aqds_qspi_defconfig

Re: [U-Boot] [PATCH 1/5] libfdt.h: Introduce FDT_PATH_MAX

2017-07-07 Thread Pantelis Antoniou
Hi Simon, On Thu, 2017-07-06 at 21:58 -0600, Simon Glass wrote: > Hi, > > On 1 July 2017 at 08:01, Marek Vasut wrote: > > On 06/30/2017 06:22 PM, Pantelis Antoniou wrote: > >> Introduce FDT_PATH_MAX > > > > Because ... why ? The commit message is crap, please fix. > > A better

Re: [U-Boot] [PATCH 3/5] fdt: Allow stacked overlays phandle references

2017-07-07 Thread Pantelis Antoniou
Hi Simon, On Thu, 2017-07-06 at 21:58 -0600, Simon Glass wrote: > On 30 June 2017 at 10:23, Pantelis Antoniou > wrote: > > This patch enables an overlay to refer to a previous overlay's > > labels by performing a merge of symbol information at application > >

Re: [U-Boot] [PATCH] dm: video: fix abuse of enum

2017-07-07 Thread Lothar Waßmann
Hi, On Thu, 6 Jul 2017 12:22:52 + Marcel Ziswiler wrote: > Dear Lothar > > On Thu, 2017-07-06 at 09:50 +0200, Lothar Waßmann wrote: > > Hi, > > > > On Wed, 5 Jul 2017 22:49:28 -0600 Simon Glass wrote: > > > Hi Lothar, > > > > > > On 23 June 2017 at 00:30, Lothar Waßmann

Re: [U-Boot] [PATCH 1/5] board_init.c: make the reserve functions as weak

2017-07-07 Thread Andy Yan
Hi Simon: On 2017年07月07日 11:58, Simon Glass wrote: Hi Andy, On 30 June 2017 at 01:47, Andy Yan wrote: Some platform like rk3036 has no enough sapce for malloc and also has no necessary to use malloc function in spl stage. But the malloc pool is need in u-boot stage

Re: [U-Boot] [PATCH] Makefile: add dependencies to regenerate u-boot.cfg when lost

2017-07-07 Thread Bin Meng
On Fri, Jul 7, 2017 at 11:59 AM, Simon Glass wrote: > On 5 July 2017 at 09:30, Philipp Tomsich > wrote: >> When running a 'make clean' or carelessly removing u-boot.cfg, all >> future make invocations (until autoconf is regenerated) will