[U-Boot] [PATCH] driver: misc: debug server: Update Error message

2015-08-08 Thread Prabhakar Kushwaha
Apped "debug server image" in error message to make more informative. Signed-off-by: Prabhakar Kushwaha --- drivers/misc/fsl_debug_server.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/misc/fsl_debug_server.c b/drivers/misc/fsl_debug_server.c index 44cd9

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2015-08-08 Thread Bin Meng
Hi Andrew, On Sun, Aug 9, 2015 at 9:08 AM, Andrew Bradford wrote: > Hi Simon, > > On 08/08 10:18, Simon Glass wrote: >> Hi, >> >> On 7 August 2015 at 06:44, Bin Meng wrote: >> > On Fri, Aug 7, 2015 at 8:36 PM, Andrew Bradford >> > wrote: >> >> From: Andrew Bradford >> >> >> >> Allow for config

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2015-08-08 Thread Bin Meng
Hi Simon, On Sun, Aug 9, 2015 at 12:18 AM, Simon Glass wrote: > Hi, > > On 7 August 2015 at 06:44, Bin Meng wrote: >> On Fri, Aug 7, 2015 at 8:36 PM, Andrew Bradford >> wrote: >>> From: Andrew Bradford >>> >>> Allow for configuration of FSP UPD from the device tree which will >>> override any

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2015-08-08 Thread Andrew Bradford
Hi Simon, On 08/08 10:18, Simon Glass wrote: > Hi, > > On 7 August 2015 at 06:44, Bin Meng wrote: > > On Fri, Aug 7, 2015 at 8:36 PM, Andrew Bradford > > wrote: > >> From: Andrew Bradford > >> > >> Allow for configuration of FSP UPD from the device tree which will > >> override any settings wh

[U-Boot] [PATCH] arm: iproc: add NAND driver

2015-08-08 Thread Steve Rae
From: Jiandong Zheng Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 11 + arch/arm/include/asm/arch-bcmnsp/configs.h| 11 + drivers/mtd/nand/Makefile

Re: [U-Boot] [PULL] u-boot-socfpga/master

2015-08-08 Thread Marek Vasut
On Sunday, August 09, 2015 at 02:19:56 AM, Tom Rini wrote: > On Sat, Aug 08, 2015 at 02:24:43PM +0200, Marek Vasut wrote: > > The following changes since commit ae27120c31d58b8bb694d9155bcffdcfae8552a6: > > Merge git://git.denx.de/u-boot-dm (2015-08-06 19:56:03 -0400) > > > > are available in th

Re: [U-Boot] [PULL] u-boot-socfpga/master

2015-08-08 Thread Tom Rini
On Sat, Aug 08, 2015 at 02:24:43PM +0200, Marek Vasut wrote: > The following changes since commit ae27120c31d58b8bb694d9155bcffdcfae8552a6: > > Merge git://git.denx.de/u-boot-dm (2015-08-06 19:56:03 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-socfpga.git

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2015-08-08 Thread Simon Glass
Hi, On 7 August 2015 at 06:44, Bin Meng wrote: > On Fri, Aug 7, 2015 at 8:36 PM, Andrew Bradford > wrote: >> From: Andrew Bradford >> >> Allow for configuration of FSP UPD from the device tree which will >> override any settings which the FSP was built with itself. >> >> Modify the MinnowMax an

[U-Boot] [PATCH v2] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-08 Thread Hans de Goede
Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences when there is none). This makes it impossible to use u-boot on boards where there is no (debug) serial port, because e.g. all uart pins are muxed to another functi

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

2015-08-08 Thread Hans de Goede
Hi Tom, Here is the second sunxi pull-req for v2015.10, highlights: -SPL nand support -Composite video out support -Misc fixes / defconfig improvements The following changes since commit ae27120c31d58b8bb694d9155bcffdcfae8552a6: Merge git://git.denx.de/u-boot-dm (2015-08-06 19:56:03 -0400)

[U-Boot] [PATCH v2 6/9] x86: Allow pirq_init() to return an error

2015-08-08 Thread Simon Glass
This function can fail. In this case we should return the error rather than swallowing it. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to allow pirq_init() to return an error arch/x86/cpu/baytrail/valleyview.c | 4 +--- arch/x86/cpu/irq.c | 17 +++

[U-Boot] [PATCH v2 9/9] x86: baytrail: Support running as an EFI payload

2015-08-08 Thread Simon Glass
We should not fiddle with interrupts or the FSP when running as an EFI payload. Detect this and skip this code. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to support running as an EFI payload arch/x86/cpu/baytrail/valleyview.c | 2 ++ 1 file changed, 2 insertions(+) diff --

[U-Boot] [PATCH v2 7/9] x86: minnowmax: Define and enable interrupt setup

2015-08-08 Thread Simon Glass
Set up interrupts correctly so that Linux can use all devices. Use savedefconfig to regenerate the defconfig file. Signed-off-by: Simon Glass --- Changes in v2: - Use pirq_init() instead of custom code arch/x86/dts/minnowmax.dts | 48 ++--- configs/minn

[U-Boot] [PATCH v2 5/9] x86: Split out fsp_init_phase_pci() code into a new function

2015-08-08 Thread Simon Glass
This code may be useful for boards that use driver model for PCI. Note: It would be better to have driver model automatically call this function somehow. However for now it is probably safer to have it under board control. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/include/as

[U-Boot] [PATCH v2 8/9] x86: baytrail: Tidy up interrupt and FSP init

2015-08-08 Thread Simon Glass
We should signal to the FSP that PCI enumeration is complete. Perform this task in a suitable place. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to tidy up interrupt and FSP init arch/x86/cpu/baytrail/valleyview.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-

[U-Boot] [PATCH v2 3/9] x86: Re-order efi-x86_defconfig

2015-08-08 Thread Simon Glass
Use savedefconfig to get this file into the correct order. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to mainline configs/efi-x86_defconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig index 1aa

[U-Boot] [PATCH v2 4/9] x86: Tidy up the PIRQ routing code a little

2015-08-08 Thread Simon Glass
This code could use a little tightening up. There is some repetition and an odd use of fdtdec_get_int_array(). Signed-off-by: Simon Glass --- Changes in v2: - Fix handling of duplicate entries arch/x86/cpu/irq.c | 41 + 1 file changed, 13 insertions(+),

[U-Boot] [PATCH v2 1/9] dm: pci: Provide friendly config access functions

2015-08-08 Thread Simon Glass
At present there are no PCI functions which allow access to PCI configuration using a struct udevice. This is a sad situation for driver model as it makes use of PCI harder. Add these functions. Signed-off-by: Simon Glass --- Changes in v2: - Correct 'Driver mode' typo - Add blank line after dm_

[U-Boot] [PATCH v2 0/9] x86: minnowmax: Add interrupt support

2015-08-08 Thread Simon Glass
This series brings in interrupt support for Minnowmax, so that PCI interrupts are correctly set up for Linux. It also includes a few small improvements to FSP support. Changes in v2: - Correct 'Driver mode' typo - Add blank line after dm_pci_read_config() declaration - Add a comment as to why we n

[U-Boot] [PATCH v2 2/9] dm: pci: Add a way to iterate through all PCI devices

2015-08-08 Thread Simon Glass
These functions allow iteration through all PCI devices including bridges. The children of each PCI bus are returned in turn. This can be useful for configuring, checking or enumerating all the devices. Signed-off-by: Simon Glass --- Changes in v2: - Add a comment as to why we need to scan multi

[U-Boot] [PATCH 2/5] sun6i: clock: Add support for the mipi pll

2015-08-08 Thread Hans de Goede
Add support for the mipi pll, this is necessary for getting higher dotclocks with lcd panels. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 55 +++ arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 1 + arch/arm/include/asm/arch-sunxi/clo

[U-Boot] [PATCH 4/5] video: Add support for the ANX9804 parallel lcd to dp bridge chip

2015-08-08 Thread Hans de Goede
Add support for the ANX9804 bridge chip, which can take pixel data coming from a parallel LCD interface and translate it on the flight into a DP interface for driving eDP TFT displays. It uses I2C for configuration. Signed-off-by: Hans de Goede --- drivers/video/Kconfig | 8 +++ drivers/vide

[U-Boot] [PATCH 5/5] sunxi: Display: Add support for eDP panels connected via an anx9804 bridge

2015-08-08 Thread Hans de Goede
Add support for 4 1.62G lane eDP panels connected via an anx9804 bridge, such as found on the Colombus devkit. While at it also fix the wrong indentation of the SSD2828 Kconfig help text in board/sunxi/Kconfig. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig| 11 ++- co

[U-Boot] [PATCH 0/5] sunxi: display: add support for eDP panels connected via an anx9804 bridge chip

2015-08-08 Thread Hans de Goede
Hi Ian and Anatolij, Here is a patch series adding support for eDP panels connected via an anx9804 bridge chip. Most of this series touches sunxi only files, except for the commit adding the anx9804 bridge driver, which is a generic driver which should hopefully be useful elsewhere too. Anatolij

[U-Boot] [PATCH 3/5] sun6i: display: Add support for using the mipi pll as lcd clock source

2015-08-08 Thread Hans de Goede
Add support for using the mipi pll as lcd clock source, this is necessary for getting higher dotclocks with lcd panels. Signed-off-by: Hans de Goede --- drivers/video/sunxi_display.c | 41 ++--- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/dr

[U-Boot] [PATCH 1/5] sunxi: clock: Add clock_get_pll3() helper function

2015-08-08 Thread Hans de Goede
Add a helper function to get the pll3 clock rate. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c| 9 + arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 12 arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 3 +++ arch/arm/include/asm/arch-sunx

Re: [U-Boot] [PATCH v3] common: Display >=4GiB memory bank size

2015-08-08 Thread Simon Glass
On 7 August 2015 at 13:20, Simon Glass wrote: > On 6 August 2015 at 02:31, Bin Meng wrote: >> bd->bi_dram[] has both start address and size defined as 32-bit, >> which is not the case on some platforms where >=4GiB memory bank >> is used. Change them to support such memory banks. >> >> Signed-off

Re: [U-Boot] [PATCH] x86: baytrail: Add all IDE/SATA PCI device IDs

2015-08-08 Thread Simon Glass
On 7 August 2015 at 13:09, Simon Glass wrote: > On 6 August 2015 at 03:36, Bin Meng wrote: >> The BayTrail SoC has 4 different PCI devices IDs regarding to IDE >> and AHCI. Add these IDs in pci_ids.h and also add the other SATA >> ID in the Bayley Bay and MinnowMax board configuration header. >>

Re: [U-Boot] [PATCH] x86: fsp: Do not assert VPD_IMAGE_REV when DEBUG

2015-08-08 Thread Simon Glass
On 8 August 2015 at 08:01, Bin Meng wrote: > When using different release version of Intel FSP, the VPD_IMAGE_REV > is different (ie: BayTrail Gold 3 is 0x0303 while Gold 4 is 0x0304). > Remove the asserting of this so that U-Boot does not hang in a debug > build. > > Signed-off-by: Bin Meng > --

[U-Boot] [PATCH] x86: fsp: Do not assert VPD_IMAGE_REV when DEBUG

2015-08-08 Thread Bin Meng
When using different release version of Intel FSP, the VPD_IMAGE_REV is different (ie: BayTrail Gold 3 is 0x0303 while Gold 4 is 0x0304). Remove the asserting of this so that U-Boot does not hang in a debug build. Signed-off-by: Bin Meng --- arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h | 1

[U-Boot] [PULL] u-boot-socfpga/master

2015-08-08 Thread Marek Vasut
The following changes since commit ae27120c31d58b8bb694d9155bcffdcfae8552a6: Merge git://git.denx.de/u-boot-dm (2015-08-06 19:56:03 -0400) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git HEAD for you to fetch changes up to bd48c0617b5c7212e5bf22169e716da878842da

Re: [U-Boot] [PATCH 1/6] arm: socfpga: scan: Clean up scan_chain_engine_is_idle()

2015-08-08 Thread Marek Vasut
On Monday, August 03, 2015 at 04:22:08 PM, Marek Vasut wrote: > Rework this function so it's clear that it is only polling for certain > bits to be cleared. Add kerneldoc. Fix it's return value to be either > 0 on success and -ETIMEDOUT on error and propagate this through the > scan manager code. >

Re: [U-Boot] [PATCH 1/6] arm: socfpga: scan: Clean up scan_chain_engine_is_idle()

2015-08-08 Thread Marek Vasut
On Friday, August 07, 2015 at 10:26:04 PM, Dinh Nguyen wrote: > On 8/3/15 9:22 AM, Marek Vasut wrote: > > Rework this function so it's clear that it is only polling for certain > > bits to be cleared. Add kerneldoc. Fix it's return value to be either > > 0 on success and -ETIMEDOUT on error and pro

Re: [U-Boot] [PATCH V2] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-08 Thread Christian Gmeiner
> Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. > Add enable "CONFIG_ARCH_MX6" for boards based on mx6. > Then we can choose target boards using "make ARCH=arm menuconfig" > with ARCH_MX6 defined. > > If using original way, we have no chance to enable ARCH_MX6 when >