[U-Boot] [PATCH] rpi: remove redundant board files

2016-04-02 Thread Stephen Warren
Now that rpi_*defconfig and Kconfig rather than the config header file, provide the identify of the build, we don't need to separate config headers and board directories for each RPi variant. Set CONFIG_SYS_BOARD and CONFIG_SYS_CONFIG_NAME so that we can get rid of the duplication. This requires a

Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-02 Thread Stephen Warren
On 04/02/2016 09:13 AM, Eric Nelson wrote: Hi Peng, On 04/01/2016 10:46 PM, Peng Fan wrote: On Thu, Mar 31, 2016 at 01:41:04PM -0700, Eric Nelson wrote: On 03/28/2016 09:57 PM, Peng Fan wrote: On Fri, Mar 25, 2016 at 01:12:11PM -0700, Eric Nelson wrote: Device tree parsing of GPIO nodes is

Re: [U-Boot] [PATCH 2/2] ARM: add Raspberry Pi 3 64-bit config

2016-04-02 Thread Stephen Warren
On 04/02/2016 07:26 AM, Tom Rini wrote: On Fri, Apr 01, 2016 at 09:14:15PM -0600, Stephen Warren wrote: On all Pis so far, the VC FW provides a short stub to set up the ARM CPU before entering the kernel (a/k/a U-Boot for us). This feature is not currently supported by the VC FW when booting

Re: [U-Boot] Please pull u-boot-sunxi master

2016-04-02 Thread Tom Rini
On Sat, Apr 02, 2016 at 11:42:55PM +0200, Hans de Goede wrote: > Hi, > > On 04/02/2016 08:27 PM, Karsten Merker wrote: > >On Fri, Apr 01, 2016 at 01:00:16PM -0400, Tom Rini wrote: > >>On Fri, Apr 01, 2016 at 01:38:13PM +0200, Hans de Goede wrote: > >> > >>>Hi Tom, > >>> > >>>Here is a sunxi

Re: [U-Boot] net: phy: Realtek RTL8211B/C PHY ID fix

2016-04-02 Thread Tom Rini
On Mon, Mar 21, 2016 at 08:29:07PM +0100, Karsten Merker wrote: > The RTL8211B_driver structure in drivers/net/phy/realtek.c contains a > wrong PHY ID (0x1cc910 instead of 0x1cc912) in the uid field. > > The lowest four bits of the PHY ID encode the chip revision (B+C/D/E/F) > of the RTL8211 and

[U-Boot] [PATCH 1/2] serial: Introduce linflex uart support

2016-04-02 Thread Eddy Petrișor
From: Stoica Cosmin-Stefan The Linflex module is integrated on some NXP automotive SoCs part of the former Freescale portfolio, like S32V234, an SoC for Advanced Driver Assistance Systems. Signed-off-by: Stoica Cosmin-Stefan

Re: [U-Boot] [PATCH v8 1/9] mips: add base support for QCA/Atheros ath79 SOCs

2016-04-02 Thread Marek Vasut
On 03/17/2016 01:35 PM, Wills Wang wrote: > > > On Thursday, March 17, 2016 08:20 PM, Marek Vasut wrote: >> On 03/17/2016 05:02 AM, Wills Wang wrote: >>> >>> On Thursday, March 17, 2016 11:44 AM, Marek Vasut wrote: On 03/17/2016 04:39 AM, Wills Wang wrote: > On Thursday, March 17, 2016

[U-Boot] [PATCH v2] dm: usb: Do not reprobe usb hosts on "usb tree" command

2016-04-02 Thread Hans de Goede
Some usb hosts may have failed to probe on "usb start", i.e. an otg host without an otg-host cable plugged in. "usb tree" would cause the probe method of these hosts to get called again, something which should only happen on "usb reset". This commit fixes this. Signed-off-by: Hans de Goede

Re: [U-Boot] Please pull u-boot-sunxi master

2016-04-02 Thread Hans de Goede
Hi, On 04/02/2016 08:27 PM, Karsten Merker wrote: On Fri, Apr 01, 2016 at 01:00:16PM -0400, Tom Rini wrote: On Fri, Apr 01, 2016 at 01:38:13PM +0200, Hans de Goede wrote: Hi Tom, Here is a sunxi pull-req for v2016.05, it contains: - A few bugfixes, including a fix for the gigabit

Re: [U-Boot] [PATCH 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-02 Thread Hans de Goede
Hi, On 04/02/2016 08:57 PM, Peter Korsgaard wrote: "Hans" == Hans de Goede writes: > The probe function of the musb host driver can be called multiple > times. The code assumes that it can safe the pointer to the allocated > musb struct in the driver model

Re: [U-Boot] [PATCH v5 4/4] usb: Change power-on / scanning timeout handling

2016-04-02 Thread Hans de Goede
Hi, On 04/02/2016 12:22 AM, Marek Vasut wrote: On 03/15/2016 01:59 PM, Stefan Roese wrote: This patch changes the USB port scanning procedure and timeout handling in the following ways: a) The power-on delay in usb_hub_power_on() is now reduced to a value of max(100ms,

Re: [U-Boot] [RFC] Disable USB options for SPL build

2016-04-02 Thread Sam Protsenko
On Sat, Apr 2, 2016 at 4:00 PM, Tom Rini wrote: > On Fri, Apr 01, 2016 at 11:50:24PM +0300, Sam Protsenko wrote: > >> Hi All, >> >> Since we are moving config options from include/configs/* to Kconfigs >> and defconfigs, we can't do #ifdefs anymore. Example: in >>

[U-Boot] [PATCH 3/3] sunxi: Enable usb ports on the Sinovoip BPI M3

2016-04-02 Thread Hans de Goede
DLDO3 is used to provide Port-D power and PD is used for the usb-hub / sata-5v enable pins. The 2.5V comes from the schematic and matches the factory image fex file. Signed-off-by: Hans de Goede --- arch/arm/dts/sun8i-a83t-sinovoip-bpi-m3.dts | 8

[U-Boot] [PATCH 2/3] sunxi: Set DCDC1 to 3.3V on the Sinovoip BPI M3

2016-04-02 Thread Hans de Goede
This is the value used in the fex file of the manufacturer images, and also the DCDC1 default. Sometimes lower values are used to save battery power, but that does not apply to a SBC. Signed-off-by: Hans de Goede --- configs/Sinovoip_BPI_M3_defconfig | 1 - 1 file changed,

[U-Boot] [PATCH 1/3] sunxi: Add INITIAL_USB_SCAN_DELAY Kconfig option

2016-04-02 Thread Hans de Goede
Some boards have on board usb devices which need longer then the USB spec's 1 second to connect from board powerup. Add a config option which when non 0 adds an extra delay before the first usb bus scan. Signed-off-by: Hans de Goede --- arch/arm/mach-sunxi/usb_phy.c | 7

Re: [U-Boot] [PATCH 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-02 Thread Peter Korsgaard
> "Hans" == Hans de Goede writes: > The probe function of the musb host driver can be called multiple > times. The code assumes that it can safe the pointer to the allocated > musb struct in the driver model priv_auto_alloc data, but this data > gets free-ed on a

[U-Boot] [PATCH 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-02 Thread Hans de Goede
The probe function of the musb host driver can be called multiple times. The code assumes that it can safe the pointer to the allocated musb struct in the driver model priv_auto_alloc data, but this data gets free-ed on a probe failure or on removal, so we must safe the pointer elsewhere.

Re: [U-Boot] [PATCH] Revert "arm: Remove wireless_space board"

2016-04-02 Thread Albert ARIBAUD
On Sun, 31 Jan 2016 21:37:04 +0100, Albert ARIBAUD wrote: > Revert commit b352182a and complete generic board support. > > Signed-off-by: Albert ARIBAUD > --- > arch/arm/mach-kirkwood/Kconfig | 4 + >

[U-Boot] [PATCH 3/3] dm: usb: Do not reprobe usb hosts on "usb tree" command

2016-04-02 Thread Hans de Goede
Some usb hosts may have failed to probe on "usb start", i.e. an otg host without an otg-host cable plugged in. "usb tree" would cause the probe method of these hosts to get called again, something which should only happen on "usb reset". This commit fixes this. Signed-off-by: Hans de Goede

[U-Boot] [PATCH 2/3] musb: Properly call musb_stop() on probe failure

2016-04-02 Thread Hans de Goede
musb_lowlevelinit(): if no device is plugged in / detected call musb_stop() to undo the preceding musb_start() call. Signed-off-by: Hans de Goede --- drivers/usb/musb-new/musb_uboot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-02 Thread Eric Nelson
Hi Peng, On 04/01/2016 10:46 PM, Peng Fan wrote: > On Thu, Mar 31, 2016 at 01:41:04PM -0700, Eric Nelson wrote: >> On 03/28/2016 09:57 PM, Peng Fan wrote: >>> On Fri, Mar 25, 2016 at 01:12:11PM -0700, Eric Nelson wrote: Device tree parsing of GPIO nodes is currently ignoring flags.

[U-Boot] [PATCH] README: Specify the full path for README.video

2016-04-02 Thread Fabio Estevam
From: Fabio Estevam It is clearer to specify the full path to access the doc/README.video file. Signed-off-by: Fabio Estevam --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 4fec467..1dd7ab7

[U-Boot] [PATCH 2/3] cmd: blkcache: simplify sub-command handling

2016-04-02 Thread Eric Nelson
Signed-off-by: Eric Nelson --- cmd/blkcache.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/blkcache.c b/cmd/blkcache.c index d97bed5..1338dbd 100644 --- a/cmd/blkcache.c +++ b/cmd/blkcache.c @@ -73,12 +73,10 @@ static int do_blkcache(cmd_tbl_t

[U-Boot] [PATCH 3/3] drivers: block: fix placement of parameters

2016-04-02 Thread Eric Nelson
Signed-off-by: Eric Nelson --- include/blk.h | 34 ++ 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/include/blk.h b/include/blk.h index 263a791..f624671 100644 --- a/include/blk.h +++ b/include/blk.h @@ -96,10 +96,9 @@ struct

[U-Boot] [PATCH 1/3] cmd: blkcache: remove indentation from output of 'show'

2016-04-02 Thread Eric Nelson
Signed-off-by: Eric Nelson --- cmd/blkcache.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/blkcache.c b/cmd/blkcache.c index 725163a..d97bed5 100644 --- a/cmd/blkcache.c +++ b/cmd/blkcache.c @@ -16,11 +16,11 @@ static int blkc_show(cmd_tbl_t

[U-Boot] [PATCH 0/3] minor blkcache updates

2016-04-02 Thread Eric Nelson
This set of updates addresses a number of small coding style issues caught by Stephen Warren's review of the block cache patch set. Eric Nelson (3): cmd: blkcache: remove indentation from output of 'show' cmd: blkcache: simplify sub-command handling drivers: block: formatting: fix placement

Re: [U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-04-02 Thread Eric Nelson
Hi Stephen, On 04/01/2016 07:07 PM, Stephen Warren wrote: > On 04/01/2016 05:16 PM, Eric Nelson wrote: >> On 04/01/2016 03:57 PM, Stephen Warren wrote: >>> On 03/31/2016 02:24 PM, Eric Nelson wrote: On 03/30/2016 02:57 PM, Stephen Warren wrote: > On 03/30/2016 11:34 AM, Eric Nelson

Re: [U-Boot] [U-Boot, V3, 1/3] drivers: block: add block device cache

2016-04-02 Thread Eric Nelson
Hi Tom, On 04/01/2016 06:59 PM, Tom Rini wrote: > On Mon, Mar 28, 2016 at 10:05:44AM -0700, Eric Nelson wrote: > >> Add a block device cache to speed up repeated reads of block devices by >> various filesystems. >> >> This small amount of cache can dramatically speed up filesystem >> operations

Re: [U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-04-02 Thread Eric Nelson
On 04/01/2016 04:41 PM, Tom Rini wrote: > On Fri, Apr 01, 2016 at 04:16:42PM -0700, Eric Nelson wrote: >> Hi Stephen, >> >> On 04/01/2016 03:57 PM, Stephen Warren wrote: >>> On 03/31/2016 02:24 PM, Eric Nelson wrote: On 03/30/2016 02:57 PM, Stephen Warren wrote: > On 03/30/2016 11:34 AM,

Re: [U-Boot] [PATCH 2/2] ARM: add Raspberry Pi 3 64-bit config

2016-04-02 Thread Tom Rini
On Fri, Apr 01, 2016 at 09:14:15PM -0600, Stephen Warren wrote: > On all Pis so far, the VC FW provides a short stub to set up the ARM CPU > before entering the kernel (a/k/a U-Boot for us). This feature is not > currently supported by the VC FW when booting in 64-bit mode. However, > this

Re: [U-Boot] [PATCH] ARM: rpi: add some missing Kconfig help text

2016-04-02 Thread Tom Rini
On Fri, Apr 01, 2016 at 09:38:04PM -0600, Stephen Warren wrote: > Add notes re: enabling the UART to the RPi 3 32-bit help text. Fully > describe the RPi 3 64-bit board option. > > Signed-off-by: Stephen Warren Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH 1/2] ARM: allow CONFIG_GICV* not to be defined

2016-04-02 Thread Tom Rini
On Fri, Apr 01, 2016 at 09:14:14PM -0600, Stephen Warren wrote: > There are ARM SoCs (such as the BCM2837) do not contain an ARM GIC. Fix > the ARMv8 CPU startup code to compile in this case. > > Signed-off-by: Stephen Warren Reviewed-by: Tom Rini

Re: [U-Boot] [RFC] Disable USB options for SPL build

2016-04-02 Thread Tom Rini
On Fri, Apr 01, 2016 at 11:50:24PM +0300, Sam Protsenko wrote: > Hi All, > > Since we are moving config options from include/configs/* to Kconfigs > and defconfigs, we can't do #ifdefs anymore. Example: in > include/configs/am43xx_evm.h you can see next code: > > #if !defined(CONFIG_SPL_BUILD)

[U-Boot] [PATCH 2/2] powerpc/mpc85xx: T104x: Add nand secure boot target

2016-04-02 Thread Sumit Garg
For mpc85xx SoCs, the core begins execution from address 0xFFFC. In non-secure boot scenario from NAND, this address will map to CPC configured as SRAM. But in case of secure boot, this default address always maps to IBR (Internal Boot ROM). The IBR code requires that the bootloader(U-boot)

[U-Boot] [PATCH] armv8/ls1043aqds modify CONFIG_SYS_MAX_FLASH_BANKS to 1

2016-04-02 Thread Wenbin Song
There is only one flash bank for ls1043aqds. Signed-off-by: Wenbin Song --- include/configs/ls1043aqds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 7b99d36..7c19122 100644 ---

[U-Boot] Missing flush_cache in do_load function

2016-04-02 Thread Borsodi Petr
Hi all, I found a problem with load command on ARM based board. When I load hello_world standalone application using filesystem load command, the u-boot crashes. Loading with loads is OK. I think that the problem is caused by cache inconsistency. If I add calling the flush_cache function,

[U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-02 Thread Wenbin Song
Add and share the the MTD partition scheme with kernel by defualt bootargs. And add the "mtdparts" env. Signed-off-by: Wenbin Song --- include/configs/ls1043a_common.h | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/2] powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL

2016-04-02 Thread Sumit Garg
As part of Chain of Trust for Secure boot, the SPL U-Boot will validate the next level U-boot image. Add a new function spl_validate_uboot to perform the validation. Enable hardware crypto operations in SPL using SEC block. In case of Secure Boot, PAMU is not bypassed. For allowing SEC block