Re: [U-Boot] [PATCH 12/21] sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: netdev.h should not be included in device-model enabled builds (doing so causes compiler warnings about struct eth_device not being declared), but we do use sunxi_gmac_initialize in the device-model case, so move it out of

Re: [U-Boot] [PATCH 09/21] sunxi: gpio: Build sunxi_name_to_gpio_bank for device-model code too

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: When doing a device-model enabled build we still need sunxi_name_to_gpio_bank (for now) for the mmc pinmux code in board/sunxi/board.c, so build it for device-model enabled builds too. Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH 19/21] sunxi: dts: Add a CONFIG_DEFAULT_DEVICE_TREE setting to all sunxi boards

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: This is a preparation patch for switching all sunxi boards over to using the device model. Note that rather then defining both CONFIG_DEFAULT_DEVICE_TREE (for u-boot) and CONFIG_FDTFILE (for the kernel), this commit simply

Re: [U-Boot] [PATCH] x86: minnowmax: use the correct NOR in the configuration

2015-04-24 Thread Bin Meng
Hi Gabriel, On Fri, Apr 24, 2015 at 10:42 PM, Gabriel Huau cont...@huau-gabriel.fr wrote: Hi Bin, On 04/23/2015 08:20 PM, Bin Meng wrote: Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau cont...@huau-gabriel.fr wrote: The SPI NOR on the minnowboard max is a MICRON N25Q064A

Re: [U-Boot] Patchwork flaky?

2015-04-24 Thread Bin Meng
On Fri, Apr 24, 2015 at 9:00 PM, Tom Rini tr...@konsulko.com wrote: On Fri, Apr 24, 2015 at 8:50 AM, Simon Glass s...@chromium.org wrote: Hi, I don't see the latest patches in patchwork. It seems to be suffering problems of late. Does anyone know the cause? Also perhaps unrelated last night

Re: [U-Boot] [PATCH 02/21] sunxi: mmc: Fix card-detect gpio handling to work with the device-model

2015-04-24 Thread Simon Glass
HI Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: The device-model gpio functions may return another value then -1 as error, make the sunxi mmc code properly handle this. FYI I tend to call it 'drive model' rather than 'device model'. It might be good to change your

Re: [U-Boot] [PATCH 00/21] sunxi: Move ALL boards to the device-model

2015-04-24 Thread Simon Glass
Hi Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: Hi Simon, Ian, As promised here is my patch-set to move all sunxi boards to the device-model, it was slightly more work then I expected, and as such the patch-set is also somewhat larger then expected, but it is

Re: [U-Boot] [PATCH 04/21] sunxi: display: Fix gpio handling to work with the device-model

2015-04-24 Thread Simon Glass
Hi Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: The device-model gpio functions may return another value then -1 as error, make the sunxi display code properly handle this. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/video/sunxi_display.c | 16

Re: [U-Boot] [PATCH 05/21] sunxi: soft-i2c: Fix gpio handling to work with the device-model

2015-04-24 Thread Simon Glass
Hi Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: i2c_init_board() gets called before the device-model (gpio) code is initialized, so move the setup of the soft-i2c pins out of i2c_init_board() and into board_init(), at which time the device-model setup has been

Re: [U-Boot] [PATCH 03/21] sunxi: usbc: Fix vbus gpio handling to work with the device-model

2015-04-24 Thread Simon Glass
On 24 April 2015 at 12:15, Hans de Goede hdego...@redhat.com wrote: Hi, On 24-04-15 20:10, Fabio Estevam wrote: On Fri, Apr 24, 2015 at 10:48 AM, Hans de Goede hdego...@redhat.com wrote: sunxi_usbc-gpio_vbus = get_vbus_gpio(index); - if (sunxi_usbc-gpio_vbus != -1) { +

Re: [U-Boot] [PATCH 18/21] sunxi: dts: Add minimal dts files for board which lack a dts sofar

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: u-boot has support for a number of boards for which a dts file still needs to be written, add minimal dts files for these boards so that we can switch them over to device-model / fdt. Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH 21/21] sunxi: emac: Remove non device-model code

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: All sunxi boards now use the device-model, so remove the non device-model code. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 12 --- drivers/net/sunxi_emac.c | 69

Re: [U-Boot] [PATCH 17/21] sunxi: dts: Add dts files which have been submitted but not yet merged upstream

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: We need dts files for all boards we support, so bring in a few unmerged ones, these will be replaced with the upstream merged versions the next time we sync dts files. Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [U-Boot] [PATCH 16/21] sunxi: dts: Sync all dts files with upstream kernel

2015-04-24 Thread Simon Glass
On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: Bring all the sunxi dts files (and update existing ones) from mripard/sunxi/dt-for-4.1 (which will be merged into upstream master any day now). This is necessary so that we can move all sunxi boards over to the device model.

Re: [U-Boot] [PATCH 2/2] x86: crownbay: Update dts for SST SPI flash

2015-04-24 Thread Jagan Teki
Hi Simon, On 24 April 2015 at 09:06, Simon Glass s...@chromium.org wrote: On 23 April 2015 at 03:00, Bin Meng bmeng...@gmail.com wrote: Use SST SPI flash compatible string spi-flash-sst so that the write op is really working. Signed-off-by: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] [U-Boot, v3, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-24 Thread Vagrant Cascadian
On 2015-04-24, Fabio Estevam wrote: Instead of hardcoding the 'fdt_file' variable, let's detect the SoC and board variant on the fly and change the dtb name. ... diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h index 5d58b16..c3cf633 100644 ---

[U-Boot] [PATCH v2] common/lcd_simplefb: Add support for 32bit organized framebuffers

2015-04-24 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes in v2: - correct mistake in color order common/lcd_simplefb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/lcd_simplefb.c b/common/lcd_simplefb.c index 8db2add..2ba00f6 100644 ---

Re: [U-Boot] installing u-boot on a virtual x86 machine

2015-04-24 Thread Bin Meng
Hi Francesco, On Fri, Apr 24, 2015 at 3:20 PM, Francesco Lucconi lucc...@gmail.com wrote: I'm Francesco Lucconi from Italy, and I'm involved into a x86 project where my issue is to compile a u-boot (I'm currently using uboot-2015.01) and to install it into a VID (virtual image disk) of

[U-Boot] Question about the hard-coded baud_divisor in debug_uart_init

2015-04-24 Thread Axel Lin
Hi Simon, Any reason that now using hard-coded baud_divisor = 13; in debug_uart_init()? (The change is introduced by commit dd0b0122bac serial: ns16550: Add an option to specify the debug UART register shift) Regards, Axel ___ U-Boot mailing list

[U-Boot] [PATCH] serial: ns16550: Remove hard-coded baud_divisor setting

2015-04-24 Thread Axel Lin
This was accidentally added by commit dd0b0122bacc serial: ns16550: Add an option to specify the debug UART register shift. Remove it. Signed-off-by: Axel Lin axel@ingics.com --- drivers/serial/ns16550.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/ns16550.c

[U-Boot] [RESEND PATCH v3 00/13] Add Marvell Armada A38x 88F6820 SoC support

2015-04-24 Thread Stefan Roese
This patch series adds support for the Marvell Armada A38x SoC's. Specifically the 88F6820 / 88F6828. Basic support for the DB-88F6820-GP evaluation board is added. Supporting the following interfaces: - UART - SPI (including SPI NOR flash) - I2C - Ethernet (neta) One big part of this new SoC

[U-Boot] [RESEND PATCH v3 04/13] arm: mvebu: Change header macros from ARMADA_XP to MVEBU

2015-04-24 Thread Stefan Roese
Since these files will be used for other MVEBU SoC's, lets reflect this in the headers marcos as well. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None

[U-Boot] [RESEND PATCH v3 11/13] arm: mvebu: mv-common.h: Add CONFIG_PREBOOT

2015-04-24 Thread Stefan Roese
This enables the usage of the preboot environment variable on Marvell boards. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None include/configs/mv-common.h | 1 + 1

[U-Boot] [RESEND PATCH v3 10/13] arm: mvebu: Remove coherency configuration

2015-04-24 Thread Stefan Roese
We are not using the coherency feature in U-Boot at all. So lets remove this configuration from the mbus driver. Signed-off-by: Stefan Roese s...@denx.de Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach

[U-Boot] [RESEND PATCH v3 13/13] arm: mvebu: Add Armada A38x DB-88F6820-GP board support

2015-04-24 Thread Stefan Roese
This patch adds support for the Marvell DB-88F6820-GP Armada A38x evaluation board. Supported peripherals are: - UART - Ethernet (mvneta) - I2C - SPI (including SPI NOR flash) Please note that this board support right now only supports the main U-Boot. Without the bin_hdr integration (DDR

[U-Boot] [RESEND PATCH v3 02/13] arm: armada-xp: Move SoC headers to mach-mvebu/include/mach

2015-04-24 Thread Stefan Roese
Move arch/arm/include/asm/arch-armada-xp/* - arch/arm/mach-mvebu/include/mach/* Additionally the SYS_SOC is renamed from armada-xp to mvebu. With this change all these files can better be shared with other, newer Mavell MVEBU SoC's. Like the upcoming Armada 38x support. Signed-off-by:

[U-Boot] [RESEND PATCH v3 08/13] arm: mvebu: Add basic Armada 38x support

2015-04-24 Thread Stefan Roese
This patch adds support for the Marvell Armada 38x SoC family. Supported peripherals are: - UART - Ethernet (mvneta) - I2C - SPI (including SPI NOR flash) Tested on Marvell DB-88F6820-GP evaluation board. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith

[U-Boot] [RESEND PATCH v3 01/13] arm: armada-xp: Move SoC sources to mach-mvebu

2015-04-24 Thread Stefan Roese
Move arch/arm/cpu/armv7armada-xp/* - arch/arm/mach-mvebu/* Since this platform will be extended to support other Marvell SoC's as well, lets rename it directly to mvebu. This will be used by the upcoming Armada 38x suport (A38x). Signed-off-by: Stefan Roese s...@denx.de Cc: Masahiro Yamada

[U-Boot] [RESEND PATCH v3 12/13] arm: mvebu: Add d-cache invalidate before enabling the d-cache

2015-04-24 Thread Stefan Roese
This solves some RX problems that have been seen, when using the mvneta ethernet driver. The cache needs to be reset into a clean state before using it. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach dirk.eib...@gdsys.cc ---

[U-Boot] [RESEND PATCH v3 03/13] arm: mvebu: Move mvebu-common into mach-mvebu

2015-04-24 Thread Stefan Roese
Now that the mach-mvebu directory exists and is used by Armada XP we can move the mvebu-common files into this directory as well. Signed-off-by: Stefan Roese s...@denx.de Cc: Masahiro Yamada yamada.masah...@socionext.com Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach

[U-Boot] [RESEND PATCH v3 06/13] arm: mvebu: Only define MV88F78X60 for Armada XP

2015-04-24 Thread Stefan Roese
This define is used by the DDR training code for Armada XP. With the upcoming addition of Armada 38x support, lets only define it for Armada XP in this common header. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach

[U-Boot] [RESEND PATCH v3 07/13] arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header

2015-04-24 Thread Stefan Roese
This way, new MVEBU boards don't need to specifiy the common location for the SPL linker script. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None

[U-Boot] [RESEND PATCH v3 09/13] arm: mvebu: Change network init code to allow a more flexible setup

2015-04-24 Thread Stefan Roese
With the introduction of the Armada 38x support, its necessary to change the mvneta ethernet driver init call from always 4 times to a configurable value. Lets make this init call more flexible by moving the actually used devices to the config header. Additionally this patch takes care of the

[U-Boot] [RESEND PATCH v3 05/13] arm: mvebu: Remove unreferenced define

2015-04-24 Thread Stefan Roese
MAX_MVNETA_DEVS is not used anywhere in U-Boot. So lets remove it. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com Tested-by: Dirk Eibach dirk.eib...@gdsys.cc --- Changes in v3: None Changes in v2: None arch/arm/mach-mvebu/include/mach/soc.h | 3 ---

[U-Boot] [PATCH] dm: core: Correct bug introduced in uclass_first/next_device()

2015-04-24 Thread Simon Glass
These functions now rely on uclass_find_first/next_device() and assume that they will either return failure (-ve error code) or a device. In fact, coming to the end of a list is not considered failure and they return 0 in that case. The logic to deal with this was replaced in commit acb9ca2a with

Re: [U-Boot] Question about the hard-coded baud_divisor in debug_uart_init

2015-04-24 Thread Simon Glass
Hi Axel, On Apr 24, 2015 8:22 PM, Axel Lin axel@ingics.com wrote: Hi Simon, Any reason that now using hard-coded baud_divisor = 13; in debug_uart_init()? (The change is introduced by commit dd0b0122bac serial: ns16550: Add an option to specify the debug UART register shift) I think this

Re: [U-Boot] [PATCH 1/3] pci: Option rom class is a 24-bit number

2015-04-24 Thread Simon Glass
On 24 April 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: We should pass a u32 class number to pci_rom_probe() instead of a u16. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci_rom.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) Acked-by:

Re: [U-Boot] Testing u-boot-dm/next

2015-04-24 Thread Stephen Warren
On 04/08/2015 09:11 PM, Simon Glass wrote: (Correcting address for Masahiro, sorry) On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: Hi, I have quite a few patches queued up in the next branch of u-boot-dm, ready for when the merge window options. If anyone has time and

Re: [U-Boot] [PATCH] serial: ns16550: Remove hard-coded baud_divisor setting

2015-04-24 Thread Simon Glass
On Apr 24, 2015 8:53 PM, Axel Lin axel@ingics.com wrote: This was accidentally added by commit dd0b0122bacc serial: ns16550: Add an option to specify the debug UART register shift. Remove it. Signed-off-by: Axel Lin axel@ingics.com --- drivers/serial/ns16550.c | 1 - 1 file

Re: [U-Boot] [PATCH 3/3] biosemu: Do not free vga_info-BIOSImage when it is 0xc0000

2015-04-24 Thread Simon Glass
On 24 April 2015 at 06:40, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: For x86, vga_info-BIOSImage points to 0xc which cannot be freed. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/bios_emulator/atibios.c | 3 ++- 1 file

Re: [U-Boot] [PATCH] QE/DeepSleep: add QE deepsleep support for mpc85xx

2015-04-24 Thread York Sun
On 03/25/2015 02:02 AM, Zhao Qiang wrote: Muram will power off during deepsleep, and the microcode of qe in muram will be lost, it should be reload when resume. Signed-off-by: Zhao Qiang b45...@freescale.com --- Applied to fsl-qoriq master, awaiting upstream. York

Re: [U-Boot] [U-Boot, 2/2] drivers:usb:fsl: Add affected SOCs for USB Erratum A007792

2015-04-24 Thread York Sun
On 03/11/2015 03:14 AM, Nikhil Badola wrote: Add following affected SOCs and their personalities for USB Erratum A007792 : T1040 Rev 1.1 T1024 Rev 1.0 Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- Applied to fsl-qoriq master, awaiting upstream. York

[U-Boot] [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post-relocation

2015-04-24 Thread Scott Wood
Commit 96d2bb952bb (powerpc/mpc85xx: Don't relocate exception vectors) simplified IVOR initialization a bit too much, failing to use the post-relocation offset. This doesn't cause a problem with normal NOR boot, in which both the pre-relocation and post-relocation addresses are 64 KiB aligned.

Re: [U-Boot] [PATCH 1/4] drivers/ddr/fsl: Update DDR driver for DDR4

2015-04-24 Thread York Sun
On 03/19/2015 09:30 AM, York Sun wrote: Add/update registers for DDR4, including DQ mappings. Allow raw timing method used for all controllers. Update mode_9 register to 0x500 for improved stability. Check DDR controller version number individually in case a SoC has multiple DDR controllers

Re: [U-Boot] [PATCH 03/11] sandbox: Enable regex support

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:02, Joe Hershberger joe.hershber...@ni.com wrote: Enable regex support on sandbox. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH 08/11] env: Distinguish finer between source of env change

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:02, Joe Hershberger joe.hershber...@ni.com wrote: We already could tell the difference in the callback between an import and other which we called interactive. Now add further distinction between interactive (i.e. running env set / env edit / env ask / etc. from the

Re: [U-Boot] [PATCH 4/4] x86: queensbay: Implement PIRQ routing

2015-04-24 Thread Bin Meng
Hi Simon, On Fri, Apr 24, 2015 at 11:02 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 21 April 2015 at 19:56, Bin Meng bmeng...@gmail.com wrote: Implement Intel Queensbay platform-specific PIRQ routing support. The chipset PIRQ routing setup is called in the arch_mist_init().

Re: [U-Boot] [PATCH 01/11] sandbox: Enable some ENV commands

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:02, Joe Hershberger joe.hershber...@ni.com wrote: Enable some additional ENV commands in sandbox to aid in build testing and run testing. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- include/configs/sandbox.h | 5 + 1 file changed, 5 insertions(+)

Re: [U-Boot] [PATCH v5 0/28] Adding LS2085AQDS and RDB

2015-04-24 Thread York Sun
On 03/20/2015 07:28 PM, York Sun wrote: This set adds necessary support in common ls2085a support and board support for QDS and RDB. Changes in v5: Re-generate patches using patman default flags s/LayerScape/Layerscape/g Fix board README for inconsistent SoC name Fix comment in

[U-Boot] unassigned-patches/144: Re: [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread u-boot
Hi, On 23 April 2015 at 10:16, Gabriel Huau cont...@huau-gabriel.fr wrote: A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs to be configured, his offset

Re: [U-Boot] [PATCH 3/4] x86: Support platform PIRQ routing

2015-04-24 Thread Simon Glass
On 21 April 2015 at 19:56, Bin Meng bmeng...@gmail.com wrote: On x86 boards, platform chipset receives up to four different interrupt signals from PCI devices (INTA/B/C/D), which in turn will be routed to chipset internal PIRQ lines then routed to 8259 PIC finally if configuring the whole

Re: [U-Boot] [PATCH] dm: i2c: mxc support DM

2015-04-24 Thread Simon Glass
Hi Peng, On 19 April 2015 at 23:49, Peng Fan peng@freescale.com wrote: Hi Simon, Thanks for reviewing. I'll address most comments and try to merge DM and non-DM part into one. will send out v2 for review. The only unsure part is bus_i2c_init, I also reply you inline. I want to pass

Re: [U-Boot] [PATCH 3/3] test: dm: eth: Skip timeouts on ping tests

2015-04-24 Thread Simon Glass
On 21 April 2015 at 12:57, Joe Hershberger joe.hershber...@ni.com wrote: Indicate to the emulated sandbox Ethernet driver when we expect a timeout and tell it to leap forward. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- test/dm/eth.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [U-Boot] [PATCH 1/2] dm: sf: Make SST flash write op work again

2015-04-24 Thread Simon Glass
On 23 April 2015 at 03:00, Bin Meng bmeng...@gmail.com wrote: With SPI flash moving to driver model, commit fbb0991 dm: Convert spi_flash_probe() and 'sf probe' to use driver model ignored the SST flash-specific write op (byte program word program), which actually broke the SST flash from

Re: [U-Boot] [PATCH] drivers: usb: fsl: Workaround for Erratum A004477

2015-04-24 Thread nikhil.bad...@freescale.com
-Original Message- From: Sun York-R58495 Sent: Friday, April 24, 2015 9:10 AM To: Badola Nikhil-B46172; Albert ARIBAUD Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] drivers: usb: fsl: Workaround for Erratum A004477 On 04/09/2015 08:29 PM, nikhil.bad...@freescale.com

[U-Boot] unassigned-patches/146: Re: [PATCH 2/4] x86: minnowmax: add GPIO banks in the device tree

2015-04-24 Thread u-boot
Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau cont...@huau-gabriel.fr wrote: There is 6 banks: There are 4 banks for CORE: available in S0 mode 2 banks for SUS (Suspend): available in S0-S5 mode Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr ---

Re: [U-Boot] [U-Boot, v4, 7/7] colibri_vf: Enable USB support for Colibri Vybrid

2015-04-24 Thread Tom Rini
On Fri, Apr 17, 2015 at 06:56:42PM +0530, Sanchayan Maity wrote: Enable USB support on Toradex Colibri Vybrid Modules. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com Acked-by: Marek Vasut ma...@denx.de Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v5 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-04-24 Thread Albert ARIBAUD
Hi Simon, Le Thu, 23 Apr 2015 09:16:32 -0600, Simon Glass s...@chromium.org a écrit : Hi Albert, On 8 April 2015 at 00:12, Albert ARIBAUD albert.arib...@3adev.fr wrote: Hi Simon, Le Tue, 7 Apr 2015 21:20:22 -0600, Simon Glass s...@chromium.org a écrit : Well the problem is that

Re: [U-Boot] cmd, nand: add more info to nand info

2015-04-24 Thread Tom Rini
On Sun, Apr 12, 2015 at 10:18:09AM +0200, Heiko Schocher wrote: add subpagesize, nand options and bbt options to the nand info output. = nand info Device 0: nand0, sector size 256 KiB Page size 4096 b OOB size 256 b Erase size262144 b subpagesize 4096 b

Re: [U-Boot] [U-Boot, v3, 1/7] ARM: vf610: Move DDR3 initialization to imx-common

2015-04-24 Thread Tom Rini
On Wed, Apr 15, 2015 at 04:24:22PM +0530, Sanchayan Maity wrote: In order to avoid code duplication, move the DDR3 initialization to the common place under imx-common. Currently ROW_DIFF and COL_DIFF can be chosen from the board file. The JEDEC timings are specified using a common

Re: [U-Boot] [PATCH 3/4][v2]include:configs:ls1021atwr: Enable USB IP support

2015-04-24 Thread Marek Vasut
On Thursday, April 23, 2015 at 07:03:14 PM, Ramneek Mehresh wrote: Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- include/configs/ls1021atwr.h | 36

Re: [U-Boot] [U-Boot, v3, 3/7] ARM: vf610: Add SoC and CPU type detection

2015-04-24 Thread Tom Rini
On Wed, Apr 15, 2015 at 04:24:24PM +0530, Sanchayan Maity wrote: Vybrid product family consists of several rather similar SoC which can be determined by softare during boot time. This allows use of variable ${soc} for Linux device tree files. Detect VF5xx CPU's by reading the CPU count

Re: [U-Boot] [PATCH v5 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2015-04-24 Thread Scott Wood
On Fri, 2015-04-24 at 06:59 +0200, Heiko Schocher wrote: Hello Scott, Am 23.04.2015 19:48, schrieb Scott Wood: On Thu, 2015-04-23 at 13:12 +0200, Heiko Schocher wrote: Hello Scott, Am 23.04.2015 08:55, schrieb Scott Wood: On Thu, 2015-04-23 at 07:57 +0200, Heiko Schocher wrote:

Re: [U-Boot] [U-Boot, v3, 2/7] ARM: vf610: Enable external 32KHz oscillator

2015-04-24 Thread Tom Rini
On Wed, Apr 15, 2015 at 04:24:23PM +0530, Sanchayan Maity wrote: From: Stefan Agner ste...@agner.ch Enable the SCSC (Slow Clock Source Controller) and select the external 32KHz oscillator. This improves the accuracy of the RTC. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com

Re: [U-Boot] [PATCH] net/phy: refactor RTL8211F initialization

2015-04-24 Thread shengzhou....@freescale.com
-Original Message- From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Thursday, April 23, 2015 10:42 PM To: Liu Shengzhou-B36685 Cc: u-boot Subject: Re: [PATCH] net/phy: refactor RTL8211F initialization Hi Shengzhou Liu, On Wed, Apr 22, 2015 at 5:22 AM, Shengzhou

[U-Boot] [PATCH] dm: core: drop device removal error path correctly

2015-04-24 Thread Masahiro Yamada
Trivial bug fix for commit 5a87c4174d18 (dm: core: Drop device removal error path when not supported). Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- drivers/core/device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/core/device.c

Re: [U-Boot] [U-Boot, v3, 5/7] ARM: vf610: Initial integration for Colibri VF50/VF61

2015-04-24 Thread Tom Rini
On Wed, Apr 15, 2015 at 04:24:26PM +0530, Sanchayan Maity wrote: This adds initial support for Colibri VF50/VF61 based on Freescale Vybrid SoC. - CPU clocked at 396/500 MHz - DDR3 at 396MHz - for VF50, use PLL2 as memory clock (synchronous mode) - for VF61, use PLL1 as memory clock

Re: [U-Boot] [PATCH v2 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-24 Thread Stefano Babic
Hi Fabio, On 23/04/2015 21:29, Fabio Estevam wrote: Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Based on a patch from Rabeeh Khoury. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 15/21] sunxi: emac: Add device model support

2015-04-24 Thread Hans de Goede
Modify the sunxi-emac eth driver to support device model. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 4 +- drivers/net/sunxi_emac.c | 81 2 files changed, 84 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 11/21] sunxi: gpio: Add support for AXP gpios to the dm gpio code

2015-04-24 Thread Hans de Goede
This really should be part of the axp pmic driver, but that is not converted yet to device-model, and the upstream kernel does not support axp gpios yet so there is no devicetree binding for them yet. So for now bolt on the axp gpio support to the SoC's own gpio support like we've been doing for

Re: [U-Boot] [RFC] Booting Xen from a FIT - Additional discussion about a refactor

2015-04-24 Thread Simon Glass
Hi Karl, On 23 April 2015 at 15:39, Karl Apsite karl.aps...@dornerworks.com wrote: On 04/23/2015 01:06 PM, Simon Glass wrote: Hi Karl, On 23 April 2015 at 07:15, Karl Apsite karl.aps...@dornerworks.com wrote: On 04/22/2015 09:55 PM, Simon Glass wrote: +Tom Hi Karl, On 22 April 2015

Re: [U-Boot] [PATCH v4 07/16] dm: regulator: add regulator command

2015-04-24 Thread Simon Glass
Hi Przemyslaw, On 24 April 2015 at 06:18, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Simon, On 04/24/2015 06:51 AM, Simon Glass wrote: Hi Przemyslaw, On 23 April 2015 at 05:33, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Simon, On 04/22/2015 06:30 PM, Simon

Re: [U-Boot] Patchwork flaky?

2015-04-24 Thread Tom Rini
On Fri, Apr 24, 2015 at 8:50 AM, Simon Glass s...@chromium.org wrote: Hi, I don't see the latest patches in patchwork. It seems to be suffering problems of late. Does anyone know the cause? Also perhaps unrelated last night I noticed I could not access git.denx.de using 'git fetch'.

Re: [U-Boot] [PATCH 1/3] pci: Option rom class is a 24-bit number

2015-04-24 Thread Simon Glass
On 24 April 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: We should pass a u32 class number to pci_rom_probe() instead of a u16. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci_rom.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) Acked-by:

Re: [U-Boot] fatload from eMMC general purpose partition

2015-04-24 Thread harsha kiran
Hi Andreas, I am facing a similar problem not able to access the GP partitions from uboot. Did you have any luck accessing these partitions?? Thanks, Harsha -- View this message in context: http://u-boot.10912.n7.nabble.com/fatload-from-eMMC-general-purpose-partition-tp185166p212395.html

[U-Boot] [U-Boot PATCH v2] sf: Fix to compute proper sector_size

2015-04-24 Thread Jagannadha Sutradharudu Teki
Upto now flash sector_size is assigned from params which isn't necessarily a sector size from vendor, so based on the SECT_* flags from flash_params the erase_size will compute and it will become the sector_size finally. Bug report (from Bin Meng): = sf probe SF: Detected SST25VF016B with page

Re: [U-Boot] [PATCH v4 07/16] dm: regulator: add regulator command

2015-04-24 Thread Przemyslaw Marczak
Hello Simon, On 04/24/2015 02:34 PM, Simon Glass wrote: Hi Przemyslaw, On 24 April 2015 at 06:18, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Simon, On 04/24/2015 06:51 AM, Simon Glass wrote: Hi Przemyslaw, On 23 April 2015 at 05:33, Przemyslaw Marczak p.marc...@samsung.com

[U-Boot] [PATCH v2 0/4] x86: Add platform PIRQ routing

2015-04-24 Thread Bin Meng
Although by default (without pci=nomsi in the kernel bootline) Linux device drivers try to use MSI for device's interrupt generation, there are still some devices which only support INTx generation. Currently U-Boot on some x86 boards do not configure those devices' IRQ and route them to 8259 PIC,

[U-Boot] [PATCH 3/5] board/BuR/tseries: Add simplefb support

2015-04-24 Thread Hannes Petermaier
Since the used AM3352 SoC doesn't have GPU it isn't allways necessary to build in complete drm-stuff into linux kernel. In very small applications only we use the simple-framebuffer. So we have 2 use-cases: - device operating on drm-driver (let simplefb node disabled) - device operating on

[U-Boot] [PATCH 2/5] board/BuR/tseries: remove unnary CONFIG_LCD_NOSTDOUT

2015-04-24 Thread Hannes Petermaier
the CONFIG_LCD_NOSTDOUT feature never had become mainline in uboot due to the fact that the problem of not writing out whole console to lcd can be solved with another way. So we remove this unnary define. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/tseries.h |1 -

[U-Boot] [PATCH v3 3/5] mx6cuboxi: Introduce multi-SoC support

2015-04-24 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Add support for the different SoC/memory sizes combinations. DDR initialization values were extracted from Solid-run internal U-boot. Tested on a

[U-Boot] [PATCH] common/lcd_simplefb: Add support for 32bit organized framebuffers

2015-04-24 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- common/lcd_simplefb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/lcd_simplefb.c b/common/lcd_simplefb.c index 8db2add..7153c40 100644 --- a/common/lcd_simplefb.c +++ b/common/lcd_simplefb.c @@ -16,11

[U-Boot] [PATCH 1/5] board/BuR/tseries: take usage of CONFIG_LCD_ROTATION

2015-04-24 Thread Hannes Petermaier
We take use of the new LCD_ROTATION feature. The information about how the display is rotated is taken from BR specific (/factory-settings/rotation) information in the devicetree. The information there is stored as string (cw, ud, ccw, none) since starting support of this devices and cannot be

[U-Boot] [PATCH 5/5] board/BuR/common: rename usbupdate environment to usbscript

2015-04-24 Thread Hannes Petermaier
usbupdate in real does allways load some script from usb-storage and execute it, on all BR targets. So we do following 2 things: - rename it to what it really does - move it from boards to common environment Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/kwb/board.c

[U-Boot] [PATCH 4/5] board/BuR/common: remove BMP_DISPLAY from tseries board

2015-04-24 Thread Hannes Petermaier
Since we display in future the splash screen out of linux-os, we don't need this support anymore within the common section. But kwb-target is still using BMP_DISPLAY feature, so we move the related from the common section into the target-specific. Also the default environment of tseries will be

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-24 Thread Hans de Goede
Hi, On 24-04-15 14:42, Simon Glass wrote: Hi Hans, On 23 April 2015 at 10:15, Simon Glass s...@chromium.org wrote: Hi Hans, On 23 April 2015 at 00:55, Hans de Goede hdego...@redhat.com wrote: Hi, On 22-04-15 19:20, Simon Glass wrote: Hi Hans, On 20 April 2015 at 12:10, Hans de Goede

[U-Boot] How to access GP partitions from uboot (2015.04)

2015-04-24 Thread harsha kiran
Hi! I have created 4 hw GP partitions on the eMMC (GP1,2,3,4) and formatted with ext4 fs. I have to read the contents of these partitions from the uboot but i am not finding them in the mmc part command. I can see them in the mmc info... U-Boot# mmc info Device: OMAP SD/MMC Manufacturer ID: fe

Re: [U-Boot] [PATCH v2] spi: omap3: Fix timeout handling

2015-04-24 Thread D. Dueck
As requested: Tested-by: David Dueck davidcdu...@googlemail.com Am Freitag, 24. April 2015 schrieb Jagan Teki : On 7 April 2015 at 05:55, Tom Rini tr...@konsulko.com javascript:; wrote: On Wed, Apr 01, 2015 at 04:21:50PM +0100, Andy Pont wrote: Hi David, snipped for brevity

[U-Boot] [PATCH 01/21] sunxi: Do not build i2c support when we've no i2c controllers

2015-04-24 Thread Hans de Goede
This fixes the following errors being printed during boot: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 06/21] sunxi: gpio: Rename GPIOs to include a 'P' prefix

2015-04-24 Thread Hans de Goede
From: Simon Glass s...@chromium.org By convention, sunxi GPIOs are named PA1, PA2 instead of A1, A2. Change the driver model GPIO driver for sunxi to use these names. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede

Re: [U-Boot] [U-Boot, 1/2] drivers:usb: Add device-tree fixup to identify socs having dual phy

2015-04-24 Thread York Sun
On 03/11/2015 03:14 AM, Nikhil Badola wrote: Identify soc(s) having dual phy so as to add utmi_dual as phy_mode for all these socs. This is required for supporting deel-sleep feature in linux for usb driver Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Signed-off-by: Nikhil

[U-Boot] [PATCH 14/21] sunxi: emac: Prepare for device-model support

2015-04-24 Thread Hans de Goede
Split all the core functionality out into functions taking a struct emac_eth_dev *priv argument as preparation for adding device-model support. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/net/sunxi_emac.c | 115 +-- 1 file changed, 71

[U-Boot] [PATCH 12/21] sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h

2015-04-24 Thread Hans de Goede
netdev.h should not be included in device-model enabled builds (doing so causes compiler warnings about struct eth_device not being declared), but we do use sunxi_gmac_initialize in the device-model case, so move it out of netdev.h . Signed-off-by: Hans de Goede hdego...@redhat.com ---

[U-Boot] [PATCH 05/21] sunxi: soft-i2c: Fix gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
i2c_init_board() gets called before the device-model (gpio) code is initialized, so move the setup of the soft-i2c pins out of i2c_init_board() and into board_init(), at which time the device-model setup has been done. Also add proper error checking and properly request the gpios as that is

Re: [U-Boot] [PATCH 11/11] net: Add default flags for common net env vars

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:02, Joe Hershberger joe.hershber...@ni.com wrote: Check that the common network stack's env vars conform to the proper format for IP addresses. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- include/env_flags.h | 12 +++- 1 file changed, 11

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Simon Glass
Hi, On 23 April 2015 at 10:16, Gabriel Huau cont...@huau-gabriel.fr wrote: A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs to be configured, his offset

Re: [U-Boot] [PATCH 2/2] x86: crownbay: Update dts for SST SPI flash

2015-04-24 Thread Simon Glass
On 23 April 2015 at 03:00, Bin Meng bmeng...@gmail.com wrote: Use SST SPI flash compatible string spi-flash-sst so that the write op is really working. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/dts/crownbay.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH 06/11] env: Allow env_attr_walk to pass a priv * to callback

2015-04-24 Thread Simon Glass
On 21 April 2015 at 16:20, Joe Hershberger joe.hershber...@gmail.com wrote: Hi All, On Tue, Apr 21, 2015 at 5:02 PM, Joe Hershberger joe.hershber...@ni.com wrote: In some cases it can be helpful to have context in the callback about the calling situation. This is needed for following

Re: [U-Boot] [PATCH 2/2][v2] pci/layerscape: fix link and class issues to support ls2085a

2015-04-24 Thread York Sun
On 03/11/2015 07:58 PM, Minghuan Lian wrote: 1. LS2085a provides PCIE_LUT_DBG register rather than PCIE_LDBG to show the link status, so the patch fixes it. 2. Increase the delay time to make sure that link training has finished. 3. Return invalid value when accessing multi-function

Re: [U-Boot] [PATCH 4/4] x86: queensbay: Implement PIRQ routing

2015-04-24 Thread Simon Glass
Hi Bin, On 23 April 2015 at 21:36, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Apr 24, 2015 at 11:02 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 21 April 2015 at 19:56, Bin Meng bmeng...@gmail.com wrote: Implement Intel Queensbay platform-specific PIRQ routing support.

<    1   2   3   >