[U-Boot] [PATCHv4 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-06-02 Thread dinguyen
From: Dinh Nguyen This patch enables the SDRAM controller that is used on Altera's SoCFPGA family. This patch configures the SDRAM controller based on a configuration file that is generated from the Quartus tool, sdram_config.h. Signed-off-by: Dinh Nguyen --- v4: none v3: none v2: clean up from

[U-Boot] [PATCHv4 3/3] arm: socfpga: enable the Altera SDRAM controller driver

2015-06-02 Thread dinguyen
From: Dinh Nguyen Enable the Altera SDRAM driver for the SoCFPGA platform. Signed-off-by: Dinh Nguyen Acked-by: Marek Vasut --- include/configs/socfpga_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index c

[U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-06-02 Thread dinguyen
From: Dinh Nguyen Hi, This is v4 of the patch series that adds the DDR controller driver for Altera's SoCFPGA platform. v4: - Further cleanup by removing comments that do not apply for Cyclone5. - Removed more unused functions Thanks, Dinh Nguyen (3): driver/ddr/altera: Add DDR driver for A

[U-Boot] [PATCH v2 5/5] x86: qemu: Implement PIRQ routing

2015-06-02 Thread Bin Meng
Support QEMU PIRQ routing via device tree on both i440fx and q35 platforms. With this commit, Linux booting on QEMU from U-Boot has working ATA/SATA, USB and ethernet. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/coreboot/coreboot.c | 5 + arch/x86/c

[U-Boot] [PATCH v2 4/5] x86: coreboot: Control I/O port 0xb2 writing via device tree

2015-06-02 Thread Bin Meng
Writing 0xcb to I/O port 0xb2 (Advanced Power Management Control) causes U-Boot to hang on QEMU q35 target. We introduce a config option in the device tree "u-boot,no-apm-finalize" under /config node if we don't want to do that. Signed-off-by: Bin Meng --- Changes in v2: - Use a config option i

[U-Boot] [PATCH v2 3/5] x86: qemu: Create separate i440fx and q35 device trees

2015-06-02 Thread Bin Meng
Although the two qemu-x86 targets (i440fx and q35) share a lot in common, they still have something that cannot easily handled in one single device tree). Split to create two dedicated device tree files and make the i440fx be the default build target. Signed-off-by: Bin Meng --- Changes in v2:

[U-Boot] [PATCH v2 1/5] x86: coreboot: Fix cosmetic issues

2015-06-02 Thread Bin Meng
Clean up arch/x86/cpu/coreboot.c to fix several cosmetic issues. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Drop v1 patches already applied - Add inclusion back arch/x86/cpu/coreboot/coreboot.c | 27 +++ arch/x86/include/asm/u-boot-x86.h | 1

[U-Boot] [PATCH v2 2/5] x86: qemu: Add CMD_NET to qemu-x86_defconfig

2015-06-02 Thread Bin Meng
The following error is observed on QEMU x86. => print ipaddr ipaddr=192.168.178.66 => ping 192.168.178.1 *** ERROR: `ipaddr' not set ping failed; host 192.168.178.1 is not alive The issue was introduced in commit fd30563. Adding CMD_NET to defconfig resolves this. Signed-off-by: Bin Meng ---

Re: [U-Boot] Issue about support spi-nand in u-boot

2015-06-02 Thread peterpandong
On 29 May 2015 at 19:53, Jagan Teki wrote > On 29 May 2015 at 11:42, Peter Pan 潘栋 (peterpandong) > wrote: > > Hi Jagan > > > > I looked through your code[1] about support Linux spi-nor framework > in u-boot. > > It is really great. > > I'm bit concern about the spi-flash framework and planning t

Re: [U-Boot] patch - arm - define SYS_CACHELINE_SIZE for mx5

2015-06-02 Thread Fabio Estevam
On Tue, Jun 2, 2015 at 8:31 PM, Chris Kuethe wrote: > mx5 is a cortex-a8 which has 64 byte cache lines. i'll need this for > adding gadget support to usbarmory, but it's a property common the the > entire SoC family - may as well make it available to all MX5 boards > > Works on usbarmory; compile-

[U-Boot] patch - arm - define SYS_CACHELINE_SIZE for mx5

2015-06-02 Thread Chris Kuethe
mx5 is a cortex-a8 which has 64 byte cache lines. i'll need this for adding gadget support to usbarmory, but it's a property common the the entire SoC family - may as well make it available to all MX5 boards Works on usbarmory; compile-tested on mx53loco and mx51_efikamx too Signed-off-by: Chris

Re: [U-Boot] [RFC PATCH 2/2] x86: fsp: Move FspInitEntry call to board_init_f()

2015-06-02 Thread Bin Meng
Hi Andrew, On Wed, Jun 3, 2015 at 4:05 AM, Andrew Bradford wrote: > Hi Bin, > > On 06/01 20:31, Bin Meng wrote: >> The call to FspInitEntry is done in arch/x86/lib/fsp/fsp_car.S so far. >> It worked pretty well but looks not that good. Apart from doing too >> much work than just enabling CAR, it

Re: [U-Boot] patch: fix typo in mxc_hab docs

2015-06-02 Thread Ulises Cardenas
Hi Chris, On 6/2/2015 3:44 PM, Chris Kuethe wrote: diff --git a/doc/README.mxc_hab b/doc/README.mxc_hab index a1b1d34..5fe977c 100644 --- a/doc/README.mxc_hab +++ b/doc/README.mxc_hab @@ -69,7 +69,7 @@ CONFIG_SECURE_BOOT CONFIG_SYS_FSL_SEC_COMPAT4 /* HAB version */ CONFIG_FSL_CAAM CONF

[U-Boot] [RFC PATCH 1/3] ARM: ts4800: add basic board support

2015-06-02 Thread Damien Riegel
From: Lucile Quirion This commit adds basic support including: MMC, Serial console, TS4800 watchdog The config use CONFIG_SKIP_LOWLEVEL_INIT as U-boot is used as a second stage bootloader. Signed-off-by: Lucile Quirion Cc: Stefano Babic --- arch/arm/Kconfig | 5 ++ boar

[U-Boot] [RFC PATCH 2/3] net: fec_mxc: query mac address from environment

2015-06-02 Thread Damien Riegel
The TS-4800 doesn't have its MAC address fused, therefore the fec_mxc driver can not currently fetch it. This commit adds the capability to fetch the MAC address from environment if not found in fuses. Signed-off-by: Damien Riegel Cc: Stefano Babic Cc: Joe Hershberger --- drivers/net/fec_mxc.

[U-Boot] [RFC PATCH 0/3] ARM: ts4800: add board support

2015-06-02 Thread Damien Riegel
This patchset adds support for TS4800, a Technologic Systems' board. This board is a bit peculiar because most of the init is done by the FPGA and U-Boot is used as a second stage bootloader. Ethernet support is added in a separate commit because it requires a modification of the fec_mxc driver. O

[U-Boot] [RFC PATCH 3/3] ARM: ts4800: add ethernet support

2015-06-02 Thread Damien Riegel
This commit adds ethernet support to the TS4800. Note that the MAC address is not fused on this board and have to be read from FEC PALR PAUR registers (this is how the kernel provided by Technologic Systems does it). Signed-off-by: Damien Riegel Cc: Stefano Babic --- arch/arm/include/asm/arch-m

[U-Boot] [PATCH 2/4] sunxi: Sync dts files with the linux kernel

2015-06-02 Thread Hans de Goede
Copy over all the latest dts changes from mripard/sunxi/dt-for-4.2 , this gives us a proper dtsi file for the A33 rather then abusing sun8i-a23.dtsi for this. And this replaces our minimal (dummy) sun7i-a20-mk808c and sun8i-a33-astar-mid756 dts files with proper ones. Signed-off-by: Hans de Goede

[U-Boot] patch: fix typo in mxc_hab docs

2015-06-02 Thread Chris Kuethe
diff --git a/doc/README.mxc_hab b/doc/README.mxc_hab index a1b1d34..5fe977c 100644 --- a/doc/README.mxc_hab +++ b/doc/README.mxc_hab @@ -69,7 +69,7 @@ CONFIG_SECURE_BOOT CONFIG_SYS_FSL_SEC_COMPAT4 /* HAB version */ CONFIG_FSL_CAAM CONFIG_CMD_DEKBLOB -CONFIG_SYS_FSL_LE +CONFIG_SYS_FSL_SEC_LE

[U-Boot] [PATCH 4/4] sunxi: Add a proper dts file for the ga10h a33 based tablet

2015-06-02 Thread Hans de Goede
Add and use a proper dts for the ga10h a33 based tablet, as submitted upstream. Signed-off-by: Hans de Goede --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 142 ++ configs/ga10h_v1_1_defconfig | 2 +- 3 files

[U-Boot] [PATCH 3/4] sunxi: Rename Astar_MID756 to Et_q8_v1_6 to match kernel dts name

2015-06-02 Thread Hans de Goede
Rename the Astar_MID756 to Et_q8_v1_6 to match the kernel dts name. Signed-off-by: Hans de Goede --- board/sunxi/MAINTAINERS | 10 +- configs/{Astar_MID756_defconfig => Et_q8_v1_6_defconfig} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename c

[U-Boot] [PATCH 1/4] sunxi: gpio: Add "allwinner, sun8i-a33-pinctrl"

2015-06-02 Thread Hans de Goede
Add "allwinner,sun8i-a33-pinctrl", this is used by the latest upstream linux sunxi dts files. Signed-off-by: Hans de Goede --- drivers/gpio/sunxi_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/sunxi_gpio.c b/drivers/gpio/sunxi_gpio.c index f988130..afa165a 100644 --- a/d

Re: [U-Boot] [RFC PATCH 2/2] x86: fsp: Move FspInitEntry call to board_init_f()

2015-06-02 Thread Andrew Bradford
Hi Bin, On 06/01 20:31, Bin Meng wrote: > The call to FspInitEntry is done in arch/x86/lib/fsp/fsp_car.S so far. > It worked pretty well but looks not that good. Apart from doing too > much work than just enabling CAR, it cannot read the configuration > data from device tree at that time. Now we w

Re: [U-Boot] [PATCH] x86: qemu: Add CMD_NET to qemu-x86_defconfig

2015-06-02 Thread Simon Glass
Hi Bin, On 2 June 2015 at 08:41, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 2, 2015 at 6:44 PM, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Jun 2, 2015 at 6:40 PM, Bin Meng wrote: >>> The following error is observed on QEMU x86. >>> >>> => print ipaddr >>> ipaddr=192.168.178.66 >>> => ping 192.

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix the indirect ahb trigger address setting

2015-06-02 Thread Graham Moore
Hello, OK, first of all, I'm not the original author, just the one who has to fix it nowadays. There are many things that have confused me in this driver. The mask issue seems familiar, let me look at it, and I'll get back to you. -Graham On 06/02/2015 11:11 AM, Vikas MANOCHA wrote: Hi Gr

Re: [U-Boot] [PATCH 3/3] boards: tam3517-common: enable gpmc prefetch mode

2015-06-02 Thread Tom Rini
On Sat, May 30, 2015 at 10:11:25AM +0200, Jeroen Hofstee wrote: > Since the tam3517 base board has a 16bit wide nand connected to > the gpmc, enable the prefetch mode, since that is now supported. > > Cc: Scott Wood > Cc: Tom Rini > Cc: pekon gupta > Cc: Nishanth Menon > Cc: Daniel Mack > Cc

Re: [U-Boot] [PATCH 2/3] mtd: OMAP: Enable GPMC prefetch mode for 16 bit access

2015-06-02 Thread Tom Rini
On Sat, May 30, 2015 at 10:11:24AM +0200, Jeroen Hofstee wrote: > commit c316f57 "mtd: OMAP: Enable GPMC prefetch mode" only enabled > prefetch mode for 8 bit nand access, this adds 16 bit as well. > > Cc: Scott Wood > Cc: Tom Rini > Cc: Daniel Mack > > Signed-off-by: Jeroen Hofstee Reviewe

Re: [U-Boot] [PATCH 1/3] omap_gpmc: move prefetch out of CONFIG_NAND_OMAP_ELM

2015-06-02 Thread Tom Rini
On Sat, May 30, 2015 at 10:11:23AM +0200, Jeroen Hofstee wrote: > The prefech mode is a feature of the gpmc, not the ELM. An am3517 > does not have an elm, but can do prefeches, so move the code out > of the CONFIG_NAND_OMAP_ELM ifdef. > > Cc: Scott Wood > Cc: Tom Rini > Cc: Daniel Mack > > S

Re: [U-Boot] [PATCH 2/2] Revert "break build if it would produce broken binary"

2015-06-02 Thread Tom Rini
On Tue, Jun 02, 2015 at 11:08:21AM -0600, Simon Glass wrote: > The root cause of this problem should now be fixed. > > This reverts commit a6a4c542d316b3401f0840ac5378743191bca851. > Signed-off-by: Simon Glass Thanks for digging into all of this! Pavel, can you confirm that with these two appl

Re: [U-Boot] [patch] break build if it would produce broken binary

2015-06-02 Thread Simon Glass
Hi, On 13 April 2015 at 14:38, Pavel Machek wrote: > > On Mon 2015-04-13 08:52:52, Tom Rini wrote: > > On Mon, Apr 13, 2015 at 02:49:28PM +0200, Pavel Machek wrote: > > > > > Add an error in known-bad case so that we don't produce broken and > > > hard to debug binaries. > > > > > > Signed-off-by

[U-Boot] [PATCH 2/2] Revert "break build if it would produce broken binary"

2015-06-02 Thread Simon Glass
The root cause of this problem should now be fixed. This reverts commit a6a4c542d316b3401f0840ac5378743191bca851. Signed-off-by: Simon Glass --- arch/arm/include/asm/u-boot.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/u-boot.h b/arch/arm/include/asm/u-boot.h ind

[U-Boot] [PATCH 1/2] arm: Add ENTRY/ENDPROC to private libgcc functions

2015-06-02 Thread Simon Glass
When CONFIG_SYS_THUMB_BUILD is defined these functions may be called from Thumb code. Add the required ENTRY and ENDPROC bracketing so that BLX is used to call these ARM functions, instead of plain BL, which will fail. Signed-off-by: Simon Glass Reported-by: Pavel Machek --- arch/arm/lib/_ashl

Re: [U-Boot] Building u-boot.rom for Minnowboard

2015-06-02 Thread Saket Sinha
Hi Simon, > > Also do you know which MinnowMAX board you have? I think there are two > versions. The pcb does not speak of any particular versions. I found there are two hardware revisions - http://www.elinux.org/Minnowboard:Hardware_Revisions#MinnowMax But I would not be able to tell my min

Re: [U-Boot] Building u-boot.rom for Minnowboard

2015-06-02 Thread Simon Glass
Hi Saket, On 2 June 2015 at 09:44, Saket Sinha wrote: > > Hi John, > > >> Can you punt me a copy of the image so I can try it here > >> and double check? > >> > > Please see below for the drive link. > >> >>> > >> >>> https://drive.google.com/file/d/0B7WYZbZ9zd-3eDFaNHpFN2JrcUE/view?usp=sharing

Re: [U-Boot] [PATCH] spi: cadence_qspi: Fix the indirect ahb trigger address setting

2015-06-02 Thread Vikas MANOCHA
Hi Graham, > -Original Message- > From: Stefan Roese [mailto:s...@denx.de] > Sent: Monday, June 01, 2015 4:34 AM > To: Vikas MANOCHA; u-boot@lists.denx.de; Graham Moore > Cc: Dinh Nguyen; Marek Vasut > Subject: Re: [PATCH] spi: cadence_qspi: Fix the indirect ahb trigger address > setting >

Re: [U-Boot] [PATCH] arm: dcc: Add uart dcc support for armv8

2015-06-02 Thread Tom Rini
On Fri, May 29, 2015 at 09:54:37AM +0200, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Added UART DCC support for armv8 > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Michal Simek Reviewed-by: Tom Rini -- Tom ___ U-

Re: [U-Boot] Building u-boot.rom for Minnowboard

2015-06-02 Thread Saket Sinha
Hi John, >> Can you punt me a copy of the image so I can try it here >> and double check? >> > Please see below for the drive link. >> >>> >> >>> https://drive.google.com/file/d/0B7WYZbZ9zd-3eDFaNHpFN2JrcUE/view?usp=sharing Are you able to see any output with Simon's u-boot.rom shared above on t

Re: [U-Boot] [PATCHv2] board: Add Toby-Churchill SL50 board support.

2015-06-02 Thread Tom Rini
On Thu, May 28, 2015 at 02:47:52PM +0200, Enric Balletbo i Serra wrote: > Add support for Lightwriter SL50 series board, a small, robust and portable > Voice Output Communication Aids (VOCA) designed to meet the particular and > changing needs of people with speech loss resulting from a wide range

Re: [U-Boot] [PATCH v2 2/2] configs: remove CONFIG_NET_MULTI

2015-06-02 Thread Tom Rini
On Tue, Jun 02, 2015 at 11:25:54AM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > CONFIG_NET_MULTI is not used anywhere and thus can safely be removed > from the configs. > > Acked-by: Viresh Kumar > Acked-by: Marek Vasut > Signed-off-by: Lars Poeschel Applied to u-boot/master

Re: [U-Boot] [PATCH v2 1/2] ARM: phytec: pcm051: Remove unneeded CONFIG_USE_IRQ

2015-06-02 Thread Tom Rini
On Tue, Jun 02, 2015 at 11:23:04AM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > The config for pcm051 still undef'd CONFIG_USE_IRQ. This is not > needed any more since it is not defined in the whole include path > before. > > Signed-off-by: Lars Poeschel Applied to u-boot/mast

[U-Boot] iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot

2015-06-02 Thread ansaris
Hi, We are using imx6Q SabreSD platform for our development with "U-Boot-2014.04". But initially we used "U-Boot-2013.04" version. We have gone through below file in U-Boot-2014.04 and found that the "CONFIG_SYS_GENERIC_BOARD" macro is defined. ~/u-boot-imx/include/configs/mx6sabre_common.h Be

Re: [U-Boot] [PATCH v2 2/2] configs: remove CONFIG_NET_MULTI

2015-06-02 Thread Marek Vasut
On Tuesday, June 02, 2015 at 11:25:54 AM, poesc...@lemonage.de wrote: > From: Lars Poeschel > > CONFIG_NET_MULTI is not used anywhere and thus can safely be removed > from the configs. > > Signed-off-by: Lars Poeschel Acked-by: Marek Vasut Best regards, Marek Vasut __

[U-Boot] iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot

2015-06-02 Thread ansaris
Hi, We are using imx6Q SabreSD platform for our development with "U-Boot-2014.04". But initially we used "U-Boot-2013.04" version. We have gone through below file in U-Boot-2014.04 and found that the "CONFIG_SYS_GENERIC_BOARD" macro is defined. ~/u-boot-imx/include/configs/mx6sabre_common.h

[U-Boot] [PATCH] CPCI4052: Remove CONFIG_SYS_LONGHELP

2015-06-02 Thread Tom Rini
With the change to make sure that CONFIG_CMD_NET is enabled this board no longer fits into the linker script: powerpc-linux-ld.bfd: section .resetvec loaded at [fffc,] overlaps section .u_boot_list loaded at [ff58,0723] powerpc-linux-ld.bfd: u-boot: section .resetvec lma 0xfff

Re: [U-Boot] Booting Wandboard through USB

2015-06-02 Thread Tim Harvey
On Tue, Jun 2, 2015 at 7:25 AM, Tom Rini wrote: > On Mon, Jun 01, 2015 at 09:38:18AM -0700, Tim Harvey wrote: > [snip] >> Honestly I've never used fsl's mfgtool and never want to. I think its >> way more complicated than a scrip-table linux solution with very few >> dependencies (imx_usb_loader) a

Re: [U-Boot] [PATCH] x86: qemu: Add CMD_NET to qemu-x86_defconfig

2015-06-02 Thread Bin Meng
Hi Simon, On Tue, Jun 2, 2015 at 6:44 PM, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 2, 2015 at 6:40 PM, Bin Meng wrote: >> The following error is observed on QEMU x86. >> >> => print ipaddr >> ipaddr=192.168.178.66 >> => ping 192.168.178.1 >> *** ERROR: `ipaddr' not set >> ping failed; host 19

Re: [U-Boot] [PATCH 3/6] x86: coreboot: Don't write I/O port 0xb2 for QEMU targets

2015-06-02 Thread Bin Meng
Hi Simon, On Tue, Jun 2, 2015 at 10:20 PM, Simon Glass wrote: > Hi Bin, > > On 2 June 2015 at 08:15, Bin Meng wrote: >> Hi Simon, >> >> On Thu, May 28, 2015 at 1:46 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 27 May 2015 at 10:17, Bin Meng wrote: Hi Simon, On Wed, May 27, 2015

Re: [U-Boot] [PATCH] ARM: phytec: pcm051: select board revision by Kconfig

2015-06-02 Thread Tom Rini
On Mon, Jun 01, 2015 at 05:09:11PM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > This add a Kconfig entry that allows to set the board revision in > menuconfig. So the deprecated CONFIG_SYS_EXTRA_OPTIONS is no longer > needed for this boad. > > Signed-off-by: Lars Poeschel I li

Re: [U-Boot] Booting Wandboard through USB

2015-06-02 Thread Tom Rini
On Mon, Jun 01, 2015 at 09:38:18AM -0700, Tim Harvey wrote: [snip] > Honestly I've never used fsl's mfgtool and never want to. I think its > way more complicated than a scrip-table linux solution with very few > dependencies (imx_usb_loader) and IMHO I think we should not be > encumbered with fitti

Re: [U-Boot] [PATCH 1/6] x86: qemu: Enable legacy IDE I/O ports decode

2015-06-02 Thread Simon Glass
On 26 May 2015 at 21:13, Simon Glass wrote: > On 25 May 2015 at 08:36, Bin Meng wrote: >> QEMU always decode legacy IDE I/O ports on PIIX chipset. However Linux >> ata_piix >> driver does sanity check to see whether legacy ports decode is turned on. >> To make Linux ata_piix driver happy, turn o

Re: [U-Boot] [PATCH v2 2/2] x86: qemu: Turn on legacy segments decode

2015-06-02 Thread Simon Glass
On 23 May 2015 at 10:12, Bin Meng wrote: > By default the legacy segments C/D/E/F do not decode to system RAM. > Turn on the decode via Programmable Attribute Map (PAM) registers > so that we can write configuration tables in the F segment. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > >

Re: [U-Boot] [PATCH 3/6] x86: coreboot: Don't write I/O port 0xb2 for QEMU targets

2015-06-02 Thread Simon Glass
Hi Bin, On 2 June 2015 at 08:15, Bin Meng wrote: > Hi Simon, > > On Thu, May 28, 2015 at 1:46 AM, Simon Glass wrote: >> Hi Bin, >> >> On 27 May 2015 at 10:17, Bin Meng wrote: >>> Hi Simon, >>> >>> On Wed, May 27, 2015 at 11:37 PM, Simon Glass wrote: Hi Bin, On 26 May 2015 at 21:

Re: [U-Boot] [PATCH 2/6] x86: qemu: Adjust VGA initialization

2015-06-02 Thread Simon Glass
On 26 May 2015 at 21:13, Simon Glass wrote: > On 25 May 2015 at 08:36, Bin Meng wrote: >> As VGA option rom needs to run at C segment, although QEMU PAM emulation >> seems to only guard E/F segments, for correctness, move VGA initialization >> after PAM decode C/D/E/F segments. >> >> Also since w

Re: [U-Boot] [PATCH v2 1/2] x86: qemu: Make host bridge (b.d.f=0.0.0) visible

2015-06-02 Thread Simon Glass
On 23 May 2015 at 10:37, Simon Glass wrote: > On 23 May 2015 at 10:12, Bin Meng wrote: >> The default weak version of pci_skip_dev() in drivers/pci/pci_common.c >> skips the host bridge (b.d.f = 0.0.0) which is actually the i440fx/q35 >> chipset for QEMU targets. Define CONFIG_PCI_CONFIG_HOST_BRI

Re: [U-Boot] [PATCH cosmetic] x86: fsp_support: Correct high mem comment typo

2015-06-02 Thread Simon Glass
On 23 May 2015 at 10:37, Simon Glass wrote: > On 23 May 2015 at 09:44, Bin Meng wrote: >> +Simon. >> >> On Sat, May 23, 2015 at 3:11 AM, wrote: >>> From: Andrew Bradford >>> >>> High mem starts at 4 GiB. >>> >>> Signed-off-by: Andrew Bradford >>> --- >>> arch/x86/lib/fsp/fsp_support.c | 2 +-

Re: [U-Boot] [PATCH v2 4/4] x86: Do sanity test on pirq table before writing

2015-06-02 Thread Simon Glass
On 25 May 2015 at 08:35, Bin Meng wrote: > If pirq_routing_table points to NULL, that means U-Boot fails to > generate the table before in create_pirq_routing_table(), so we > test it against NULL before actually writing it. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes i

Re: [U-Boot] [PATCH v2 2/4] x86: Document irq router device tree bindings

2015-06-02 Thread Simon Glass
On 25 May 2015 at 08:35, Bin Meng wrote: > Describe all required properties needed by the irq router device tree. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v2: > - Fix typo of 'configuration' > > doc/device-tree-bindings/misc/intel,irq-router.txt | 50 > +++

Re: [U-Boot] [PATCH v2 3/4] x86: quark: Implement PIRQ routing

2015-06-02 Thread Simon Glass
On 25 May 2015 at 08:35, Bin Meng wrote: > Intel Quark SoC has the same interrupt routing mechanism as the > Queensbay platform, only the difference is that PCI devices' > INTA/B/C/D are harcoded and cannot be changed freely. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Change

Re: [U-Boot] [PATCH v2 6/6] x86: qemu: Add ATA/SATA support

2015-06-02 Thread Simon Glass
On 18 May 2015 at 15:40, Simon Glass wrote: > On 15 May 2015 at 19:33, Bin Meng wrote: >> Enable legacy IDE support on the pc target and AHCI support on the >> q35 target. Default configuration is to support the pc target. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: None >> >>

Re: [U-Boot] [PATCH v2 1/4] x86: Refactor PIRQ routing support

2015-06-02 Thread Simon Glass
On 26 May 2015 at 14:58, Simon Glass wrote: > On 25 May 2015 at 08:35, Bin Meng wrote: >> PIRQ routing is pretty much common in Intel chipset. It has several >> PIRQ links (normally 8) and corresponding registers (either in PCI >> configuration space or memory-mapped IBASE) to configure the legac

Re: [U-Boot] [PATCH v2 4/6] cmd_ide: Eliminate build warnings in atapi_inquiry()

2015-06-02 Thread Simon Glass
On 18 May 2015 at 15:39, Simon Glass wrote: > On 15 May 2015 at 19:33, Bin Meng wrote: >> Eliminate the following build warning in atapi_inquiry(): >> "warning: assignment from incompatible pointer type [enabled by default]" >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - Cor

Re: [U-Boot] [PATCH v2 1/6] pci: Allow debug message output in pci_auto.c

2015-06-02 Thread Simon Glass
On 18 May 2015 at 15:39, Simon Glass wrote: > On 15 May 2015 at 19:33, Bin Meng wrote: >> Remove the '#undef DEBUG' in pci_auto.c so that we can enable debug >> message output via '-DDEBUG'. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - Commit meessage minor update >> >> dri

Re: [U-Boot] [PATCH v2 5/6] x86: Add CONFIG_LBA48 and remove CONFIG_ATAPI in x86-common.h

2015-06-02 Thread Simon Glass
On 18 May 2015 at 15:39, Simon Glass wrote: > On 15 May 2015 at 19:33, Bin Meng wrote: >> Enable CONFIG_LBA48 to support large disks. CONFIG_ATAPI is only needed >> by cmd_ide.c which is not common for modern x86 targets, hence remove it. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2:

Re: [U-Boot] [PATCH 3/6] x86: coreboot: Don't write I/O port 0xb2 for QEMU targets

2015-06-02 Thread Bin Meng
Hi Simon, On Thu, May 28, 2015 at 1:46 AM, Simon Glass wrote: > Hi Bin, > > On 27 May 2015 at 10:17, Bin Meng wrote: >> Hi Simon, >> >> On Wed, May 27, 2015 at 11:37 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 26 May 2015 at 21:50, Bin Meng wrote: Hi Simon, On Wed, May 27, 201

Re: [U-Boot] [PATCH] moveconfig: Add a new --git-ref option

2015-06-02 Thread Joe Hershberger
Hey guys, On Fri, May 29, 2015 at 4:23 PM, Joe Hershberger wrote: > This option allows the 'make *_defconfig' step to run against a former > repo state, while the savedefconfig step runs against the current repo > state. This is convenient for the case where something in the Kconfig > has changed

Re: [U-Boot] [PATCH] sunxi: Add new Mele_A1000G_quad defconfig

2015-06-02 Thread Tom Rini
On Tue, Jun 02, 2015 at 09:07:53AM +0200, Hans de Goede wrote: > Hi, > > On 01-06-15 22:46, Tom Rini wrote: > >On Mon, Jun 01, 2015 at 08:19:23PM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 01-06-15 20:12, Ian Campbell wrote: > >>>On Mon, 2015-06-01 at 17:01 +0200, Hans de Goede wrote: > T

Re: [U-Boot] Pull request: u-boot-net.git master

2015-06-02 Thread Tom Rini
On Mon, Jun 01, 2015 at 01:24:00PM -0500, Joe Hershberger wrote: > Hi Tom, > > This should include the few build fixes that have been submitted as > well as fixing up Michal's patch to the LIB_RAND dependency patch. > > It also cleans up the CONFIG_NET/CONFIG_CMD_NET situation that was > breakin

Re: [U-Boot] Pull request: u-boot-sh/rmobile

2015-06-02 Thread Tom Rini
On Mon, Jun 01, 2015 at 12:19:17PM +0900, Nobuhiro Iwamatsu wrote: > Dear Tom Rini. > > Please pull u-boot-sh rmobile branch. > > The following changes since commit 012681b1fa822492bb8fdc5c2dd3d24d6092e110: > > am33xx, spl, siemens: enable debug uart output again (2015-05-28 > 08:18:25 -0400)

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

2015-06-02 Thread Tom Rini
On Sat, May 30, 2015 at 11:18:04AM +0200, Hans de Goede wrote: > Hi Tom, > > Please pull u-boot-sunxi/master into master for a number of > patch-sets which have been in the making for a long time and > are now ready for merging. > > Highlights: > - A80 (suni9i) SoC support (u-boot.bin only, no S

Re: [U-Boot] pull request: u-boot-uniphier/master

2015-06-02 Thread Tom Rini
On Sun, May 31, 2015 at 03:05:17AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull u-boot-uniphier/master. > > > The following changes since commit 012681b1fa822492bb8fdc5c2dd3d24d6092e110: > > am33xx, spl, siemens: enable debug uart output again (2015-05-28 > 08:18:25 -0400) > > ar

Re: [U-Boot] [PATCH] cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer

2015-06-02 Thread Tom Rini
On Thu, May 28, 2015 at 03:41:12PM +0200, Hannes Schmelzer wrote: > From: Hannes Schmelzer > > Since i've been married, i also have a new surname. > Mr. Petermaier moved to Mr. Schmelzer. > > In this patch i update all files in which my (old) name is present. > > Signed-off-by: Hannes Schmelze

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

2015-06-02 Thread Tom Rini
On Fri, May 29, 2015 at 01:18:10PM +0200, Marek Vasut wrote: > Tom, let me know if this builds please. > > The following changes since commit 012681b1fa822492bb8fdc5c2dd3d24d6092e110: > > am33xx, spl, siemens: enable debug uart output again (2015-05-28 08:18:25 > -0400) > > are available in

Re: [U-Boot] [PATCH] x86: qemu: Add CMD_NET to qemu-x86_defconfig

2015-06-02 Thread Bin Meng
Hi Simon, On Tue, Jun 2, 2015 at 6:40 PM, Bin Meng wrote: > The following error is observed on QEMU x86. > > => print ipaddr > ipaddr=192.168.178.66 > => ping 192.168.178.1 > *** ERROR: `ipaddr' not set > ping failed; host 192.168.178.1 is not alive > > The issue was introduced in commit fd30563.

[U-Boot] [PATCH v2 2/2] configs: remove CONFIG_NET_MULTI

2015-06-02 Thread poeschel
From: Lars Poeschel CONFIG_NET_MULTI is not used anywhere and thus can safely be removed from the configs. Signed-off-by: Lars Poeschel --- include/configs/B4860QDS.h | 1 - include/configs/C29XPCIE.h | 1 - include/configs/M54418TWR.h| 1 - include/configs/

Re: [U-Boot] [PATCH v2 2/2] configs: remove CONFIG_NET_MULTI

2015-06-02 Thread Viresh Kumar
On 02-06-15, 11:25, poesc...@lemonage.de wrote: > From: Lars Poeschel > > CONFIG_NET_MULTI is not used anywhere and thus can safely be removed > from the configs. > include/configs/spear-common.h | 1 - Acked-by: Viresh Kumar -- viresh ___

[U-Boot] [PATCH] x86: qemu: Add CMD_NET to qemu-x86_defconfig

2015-06-02 Thread Bin Meng
The following error is observed on QEMU x86. => print ipaddr ipaddr=192.168.178.66 => ping 192.168.178.1 *** ERROR: `ipaddr' not set ping failed; host 192.168.178.1 is not alive The issue was introduced in commit fd30563. Adding CMD_NET to defconfig resolves this. Also reorder the config options

[U-Boot] [PATCH v2 1/2] ARM: phytec: pcm051: Remove unneeded CONFIG_USE_IRQ

2015-06-02 Thread poeschel
From: Lars Poeschel The config for pcm051 still undef'd CONFIG_USE_IRQ. This is not needed any more since it is not defined in the whole include path before. Signed-off-by: Lars Poeschel --- include/configs/pcm051.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/pcm051.h

Re: [U-Boot] [PATCH] ARM: phytec: pcm051: drop unused CONFIG_NET_MULTI

2015-06-02 Thread Lars Poeschel
On Mon, Jun 01, 2015 at 01:34:12PM -0500, Joe Hershberger wrote: > Hi Lars, > > On Mon, Jun 1, 2015 at 9:59 AM, wrote: > > From: Lars Poeschel > > > > Drop unused CONFIG_NET_MULTI. > > Also drop CONFIG_USE_IRQ, that is not used either. > > > > Signed-off-by: Lars Poeschel > > --- > > include/

Re: [U-Boot] [PATCH] sunxi: Add new Mele_A1000G_quad defconfig

2015-06-02 Thread Hans de Goede
Hi, On 01-06-15 22:46, Tom Rini wrote: On Mon, Jun 01, 2015 at 08:19:23PM +0200, Hans de Goede wrote: Hi, On 01-06-15 20:12, Ian Campbell wrote: On Mon, 2015-06-01 at 17:01 +0200, Hans de Goede wrote: The Mele A1000G-quad and the Mele M9 have the same PCB, sofar we've been using the same def