Re: [U-Boot] [PATCH 6/7] MIPS: vct: switch to generic board

2014-11-16 Thread Stefan Roese
On 15.11.2014 23:46, Daniel Schwierzeck wrote: Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Acked-by: Stefan Roese s...@denx.de Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 2/6] arm: socfpga: Add socfpga_spim_enable() to reset_manager.c

2014-11-16 Thread Stefan Roese
On 12.11.2014 18:42, Pavel Machek wrote: On Fri 2014-11-07 13:50:30, Stefan Roese wrote: This function will be needed by the upcoming Designware master SPI driver. As the SPI master controller is held in reset by the current Preloader implementation. So we need to release the reset for the

Re: [U-Boot] [PATCH v2] .travis.yml: build u-boot on travis-ci

2014-11-16 Thread Andreas Färber
Hi, Am 14.11.2014 um 14:58 schrieb Roger Meier: --- Changes for v2: - use latest device tree compiler (suggested by Daniel Schwierzeck) - add sandbox (suggested by Daniel Schwierzeck) - seperate echo and execution of TEST_CMD - remove BUILD_NCPUS( part of script) - introduce

Re: [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS

2014-11-16 Thread Ian Campbell
On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote: It is not used anywhere. Might this be an oversight because sunxi is the only SoC with psci support so far? Marc, was this added intentionally with a usecase in mind or just a left over from an earlier version of the code? That said, I'd

Re: [U-Boot] [PATCH 1/6] sun4i: Rename dram_clk_cfg to dram_clk_gate

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: The data sheet just calls it DRAM_CLK_REG, and on sun6i we've both a dram_clk_cfg and dram_clk_gate, and the sun4i reg matches dram_clk_gate on sun6i, so name it the same on sun4i. Signed-off-by: Hans de Goede hdego...@redhat.com

Re: [U-Boot] [PATCH 2/6] sunxi: Add video pll clock functions

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: This is a preparation patch for adding support for HDMI out. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c| 27

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: +/* this is needed so the above will actually do something */ +#define CONFIG_SYS_CONSOLE_IS_IN_ENV [...] +#ifdef CONFIG_VIDEO +#define CONSOLE_ENV_SETTINGS \ + stdin=serial\0 \ + stdout=serial,vga\0 \ +

Re: [U-Boot] [PATCH 4/6] sunxi: video: Add sun6i support

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: @@ -177,7 +188,11 @@ sunxi_lcdc_init(void) (struct sunxi_lcdc_reg *)SUNXI_LCD0_BASE; /* Reset off */ +#ifdef CONFIG_MACH_SUN6I + setbits_le32(ccm-ahb_reset1_cfg, 1 AHB_RESET_OFFSET_LCD0); +#else

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 11:35 +, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: +/* this is needed so the above will actually do something */ +#define CONFIG_SYS_CONSOLE_IS_IN_ENV [...] +#ifdef CONFIG_VIDEO +#define CONSOLE_ENV_SETTINGS \ +

Re: [U-Boot] [PATCH] imx:mx6sxsabresd fix pfuz probe failed

2014-11-16 Thread Peng Fan
Hi Stefano, Would you please help reviewing this patch? On 11/1/2014 8:16 AM, Fabio Estevam wrote: On Fri, Oct 31, 2014 at 1:08 AM, Peng Fan peng@freescale.com wrote: The PFUZ probe failed with the following msg: wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer:

[U-Boot] [PATCH 4/5] spi: designware_spi: Some fixes / changes

2014-11-16 Thread Stefan Roese
As suggested by Pavel, here some fixes to the designware SPI driver: - Spelling fixes - Comment for timeout added - Removed n_bytes completely (bits_per_word is enough for this) - Unput clock now not defined via macro. The function to get the clock value is now called directly from within the

[U-Boot] [PATCH 3/5] arm: socfpga: Add missing DW master SPI clock prototyp to clock_manager.h

2014-11-16 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Vince Bridgers vbrid...@altera.com Cc: Marek Vasut ma...@denx.de Cc: Pavel Machek pa...@denx.de --- arch/arm/include/asm/arch-socfpga/clock_manager.h | 1 + 1 file changed, 1

[U-Boot] [PATCH 1/5] arm: socfpga: dts: altr, rst-mgr.h: Move to SPDX license identifiers

2014-11-16 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Vince Bridgers vbrid...@altera.com Cc: Marek Vasut ma...@denx.de Cc: Pavel Machek pa...@denx.de --- include/dt-bindings/reset/altr,rst-mgr.h | 9 + 1 file changed, 1

[U-Boot] [PATCH 2/5] arm: socfpga: Use only one clrbits_le32 call to deassert SPI reset bits

2014-11-16 Thread Stefan Roese
As suggested by Pavel, lets combine the two calls into one. Signed-off-by: Stefan Roese s...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Vince Bridgers vbrid...@altera.com Cc: Marek Vasut ma...@denx.de Cc: Pavel Machek pa...@denx.de ---

[U-Boot] [PATCH 5/5] arm: socfpga: DW_SPI: Remove clock info from config header

2014-11-16 Thread Stefan Roese
Remove the now unnecessary clocking info from the SoCFPGA config header. As this info in now used directly in the SPI driver itself. Signed-off-by: Stefan Roese s...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Vince Bridgers vbrid...@altera.com Cc: Marek

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: From: Luc Verhaegen l...@skynet.be Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Link please, Linus's tree[0] doesn't seem

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: For use together with the hdmi console. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig| 7 +++ configs/Ippo_q8h_v5_defconfig | 1 + include/configs/sunxi-common.h | 25

Re: [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS

2014-11-16 Thread Marc Zyngier
On Sun, Nov 16 2014 at 11:19:02 AM, Ian Campbell i...@hellion.org.uk wrote: On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote: It is not used anywhere. Might this be an oversight because sunxi is the only SoC with psci support so far? Marc, was this added intentionally with a usecase in

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Hans de Goede
Hi, Thanks for the reviews! On 11/16/2014 12:35 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: +/* this is needed so the above will actually do something */ +#define CONFIG_SYS_CONSOLE_IS_IN_ENV [...] +#ifdef CONFIG_VIDEO +#define CONSOLE_ENV_SETTINGS \

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 12:55 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: For use together with the hdmi console. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig| 7 +++ configs/Ippo_q8h_v5_defconfig | 1 +

Re: [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 12:59 +, Marc Zyngier wrote: On Sun, Nov 16 2014 at 11:19:02 AM, Ian Campbell i...@hellion.org.uk wrote: On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote: It is not used anywhere. Might this be an oversight because sunxi is the only SoC with psci support

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 14:15 +0100, Hans de Goede wrote: Hi, Thanks for the reviews! On 11/16/2014 12:35 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: +/* this is needed so the above will actually do something */ +#define CONFIG_SYS_CONSOLE_IS_IN_ENV

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 14:28 +0100, Hans de Goede wrote: Hi, On 11/16/2014 12:55 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: For use together with the hdmi console. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 12:50 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: From: Luc Verhaegen l...@skynet.be Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 02:37 PM, Ian Campbell wrote: On Sun, 2014-11-16 at 14:28 +0100, Hans de Goede wrote: Hi, On 11/16/2014 12:55 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: For use together with the hdmi console. Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
devicetree@, comments on the requirement that a node have a specific path welcomed. On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: Hi, On 11/16/2014 12:50 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: From: Luc Verhaegen l...@skynet.be Add

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 03:38 PM, Ian Campbell wrote: devicetree@, comments on the requirement that a node have a specific path welcomed. On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: Hi, On 11/16/2014 12:50 PM, Ian Campbell wrote: On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede

[U-Boot] [PATCH v2 0/4] sunxi: HDMI (cfb) console support

2014-11-16 Thread Hans de Goede
Hi All, Here is v2 of the (cleaned up) version of the hdmi support series for sunxi. I'm not resending the first 2 patches as those got acked in v1. Changes in the remaining patches: -sunxi: video: Add cfb console driver for sunxi -Add CONFIG_VIDEO=n to A13 boards, as they have no hdmi out

[U-Boot] [PATCH v2 1/4] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Hans de Goede
From: Luc Verhaegen l...@skynet.be This adds a fixed mode hdmi driver for the sunxi platform. The fixed mode is a relatively safe 1024x768, more complete EDID handling is currently not provided. Only HDMI is supported today. This code is enabled when HPD detects an attached monitor. Current

[U-Boot] [PATCH v2 2/4] sunxi: video: Add sun6i support

2014-11-16 Thread Hans de Goede
Besided needing the usual sun6i specific ahb1_reset bits poking, it turns out that sun6i also needs the drc to be taken out of reset and clocked even though it is in pass-through mode. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Anatolij Gustschin ag...@denx.de ---

[U-Boot] [PATCH v2 4/4] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Hans de Goede
For use together with the hdmi console. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig | 7 +++ configs/A13-OLinuXinoM_defconfig | 1 + configs/A13-OLinuXino_defconfig | 1 + configs/Ippo_q8h_v5_defconfig| 1 + include/configs/sunxi-common.h

[U-Boot] [PATCH v2 3/4] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
From: Luc Verhaegen l...@skynet.be Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Signed-off-by: Luc Verhaegen l...@skynet.be [hdego...@redhat.com: Use pre-populated simplefb node

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 16:11 +0100, Hans de Goede wrote: Hi, On 11/16/2014 03:38 PM, Ian Campbell wrote: devicetree@, comments on the requirement that a node have a specific path welcomed. On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: Hi, On 11/16/2014 12:50 PM, Ian

[U-Boot] [PATCH 5/5] sun6i: Add new CSQ_CS908 board

2014-11-16 Thread Hans de Goede
The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND, rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG controller), ethernet, 3.5 mm jack with a/v out and hdmi out:

[U-Boot] [PATCH 4/5] sun6i: Drop some unknown magic from dram init

2014-11-16 Thread Hans de Goede
This bit of code is the rtc ram being used to detect coming out of super-standby mode, and if that is the case, going out of self-refresh mode. Since we do not support super-standby mode, this can be dropped. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[U-Boot] [PATCH 1/5] sun6i: Make dram clk and zq value Kconfig options

2014-11-16 Thread Hans de Goede
It turns out that there is a too large spread between boards to handle this with a default value, turn this into Kconfig options, and set the values the factory images are using for the Colombus and Mele_M9 boards. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[U-Boot] [PATCH 3/5] sun6i: dram: Do not try to initialize a second dram chan on A31s

2014-11-16 Thread Hans de Goede
The A31s only has one dram channel, so do not bother with trying to initalize a second channel. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/Makefile | 2 +- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 11 +-- 2 files changed, 10 insertions(+), 3

[U-Boot] [PATCH 2/5] sun6i: Add sunxi_get_ss_bonding_id() function

2014-11-16 Thread Hans de Goede
Add a sunxi_get_ss_bonding_id() function, and use it to differentiate between the A31s and the A31. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 38 ++- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 ++-

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 16:11 +, Ian Campbell wrote: AFAIK Grant agrees with v5 AFAIK Grant hasn't actually said that. If he does ack it (or if someone points me to the correct mail) then I have no further objections. I finally found

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 06:19 PM, Ian Campbell wrote: On Sun, 2014-11-16 at 16:11 +, Ian Campbell wrote: AFAIK Grant agrees with v5 AFAIK Grant hasn't actually said that. If he does ack it (or if someone points me to the correct mail) then I have no further objections. I finally found

Re: [U-Boot] [RFC PATCH] sf: New SF-NOR framework

2014-11-16 Thread Jagan Teki
Hi Marek, On 13 November 2014 03:46, Marek Vasut ma...@denx.de wrote: On Wednesday, November 12, 2014 at 01:19:02 AM, Jagan Teki wrote: On 12 November 2014 04:26, Marek Vasut ma...@denx.de wrote: On Tuesday, November 11, 2014 at 10:37:33 PM, Jagan Teki wrote: On 12 November 2014 02:52,

Re: [U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-11-16 Thread Jagan Teki
Hi Scott, On 25 September 2014 14:55, Scott Jiang scott.jiang.li...@gmail.com wrote: SPI3 controller is not only used on BF609 platform. So we add a common controller driver and leave machine specific configuration in board drivers. Remove obsolete spi6xx.h and select new board driver in

[U-Boot] [PATCH] get_maintainer.pl: fix source tree detection

2014-11-16 Thread Daniel Schwierzeck
get_maintainer.pl always fails with following message: ./scripts/get_maintainer.pl: The current directory does not appear to be a linux kernel source tree. This was caused by commit: commit 548b310c68ac99a0330d8b56c797c09ff0742d1e Author: Masahiro Yamada yamad...@jp.panasonic.com Date: Thu

[U-Boot] [PATCH v3] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
From: Luc Verhaegen l...@skynet.be Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Signed-off-by: Luc Verhaegen l...@skynet.be [hdego...@redhat.com: Use pre-populated simplefb node

[U-Boot] [PATCH v3 0/1] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, Here is a v3 of just the simplefb patch, addressing the address and size cells issue. Changes since v2: -Detect and handle address and size #cells Changes since v1: -Use fdt_setprop_string for strings Regards, Hans ___ U-Boot mailing list

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-16 Thread Hans de Goede
Hi, On 11/13/2014 07:38 PM, Hans de Goede wrote: Hi, On 11/13/2014 07:34 PM, Tom Rini wrote: On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: Hi all, So as you know I've been working on getting mainline u-boot to boot the older android derived linux-sunxi kernels, as some

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-11-16 Thread Tom Rini
On Fri, Nov 14, 2014 at 03:48:38PM +0100, Stefano Babic wrote: Hi Tom, please pull from u-boot-imx. novena is still broken, Masahiro provides the patch for fix it. The following changes since commit 63f7af9a4cfb4a3b9136674c6612c6d13957c2cd: Merge branch 'master' of

Re: [U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:25AM -0700, Simon Glass wrote: The concept of a 'current bus' is now implemented in the command line rather than in the uclass. Also the address length does not need to be specified with each command - really we should consider dropping this from most commands

Re: [U-Boot] [PATCH v2 01/17] dm: i2c: Move error reporting into a common function

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:17AM -0700, Simon Glass wrote: Factor out the common code to make it easier to adjust it. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 02/17] dm: core: Allow access to the device's driver_id data

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:18AM -0700, Simon Glass wrote: When the device is created from a device tree node, it matches a compatible string. Allow access to that string and the associated data. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom

Re: [U-Boot] [PATCH v2 03/17] dm: core: Add functions to find parent and OF data

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:19AM -0700, Simon Glass wrote: Add dev_get_parent() as a convenience to obtain the parent of a device. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] please pull mpc85xx

2014-11-16 Thread Tom Rini
On Fri, Nov 14, 2014 at 01:20:42PM -0800, York Sun wrote: Tom, The following changes since commit 0d485b9095328cdc81b2ee94ff59b988c69b9127: Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2014-11-13 10:35:13 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:20AM -0700, Simon Glass wrote: Since we scan from left to right looking for the first digit, i2c0 returns 2 instead of 0 for the alias number. Adjust the code to scan from right to left instead. Signed-off-by: Simon Glass s...@chromium.org How about i2c10 ? I

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:24AM -0700, Simon Glass wrote: The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API calls - Remove the address length from API calls - Remove

Re: [U-Boot] Pull request: u-boot-video/master

2014-11-16 Thread Tom Rini
On Fri, Nov 14, 2014 at 07:55:29PM +0100, Anatolij Gustschin wrote: Hey Tom, The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:26AM -0700, Simon Glass wrote: In order to test I2C we need some sort of emulation interface. Add hooks to allow a driver to emulate an I2C device for sandbox. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom

Re: [U-Boot] [PATCH v2 13/17] dm: i2c: config: Enable I2C for sandbox using driver model

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:29AM -0700, Simon Glass wrote: Enable the options to bring up I2C on sandbox. Also enable all the available I2C commands for testing purposes. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v2 11/17] dm: i2c: Add a sandbox I2C driver

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:27AM -0700, Simon Glass wrote: This driver includes some test features such as only supporting certain bus speeds. It passes its I2C traffic through to an emulator. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom

Re: [U-Boot] [PATCH v2 12/17] dm: i2c: Add an I2C EEPROM simulator

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:28AM -0700, Simon Glass wrote: To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox. It supports reading and writing from a small data store. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom

Re: [U-Boot] [PATCH v2 14/17] dm: i2c: dts: Add an I2C bus for sandbox

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:30AM -0700, Simon Glass wrote: Add an I2C bus to the device tree, with an EEPROM emulator attached to one of the addresses. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:32AM -0700, Simon Glass wrote: Add some basic tests to check that the system works as expected. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 15/17] dm: Add a simple EEPROM driver

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:31AM -0700, Simon Glass wrote: There seem to be a few EEPROM drivers around - perhaps we should have a single standard one? This simple driver is used for sandbox testing, but could be pressed into more active service. Signed-off-by: Simon Glass

[U-Boot] [PATCH 2/2] mx6sxsabresd: Simplify the return value of setup_fec()

2014-11-16 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com We can simply the return the value from enable_fec_anatop_clock() to make the code smaller and simpler. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 7 +-- 1 file changed, 1

[U-Boot] [PATCH 1/2] mx6slevk: Simplify the return value of setup_fec()

2014-11-16 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com We can simply the return the value from enable_fec_anatop_clock() to make the code smaller and simpler. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx6slevk/mx6slevk.c | 7 +-- 1 file changed, 1 insertion(+),

Re: [U-Boot] [PATCH v3 07/14] dm: Allow device removal features to be dropped

2014-11-16 Thread Tom Rini
On Mon, Nov 10, 2014 at 05:16:47PM -0700, Simon Glass wrote: For SPL we don't expect to need to remove a device. Save some code space by dropping this feature. The board config can define CONFIG_DM_DEVICE_REMOVE if this is in fact needed. Signed-off-by: Simon Glass s...@chromium.org

[U-Boot] [PATCH] mx6sabresd: Add mx6sabresd_spl_defconfig to MAINTAINERS entry

2014-11-16 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Let's add mx6sabresd_spl_defconfig entry into MAINTAINERS, so that we avoid getting a warning that the mx6sabresd_spl is not maintained. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx6sabresd/MAINTAINERS | 1 + 1

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-16 Thread li.xi...@freescale.com
Hi Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Friday, November 14, 2014 7:45 PM To: Xiubo Li-B47053 Cc: Sun York-R58495; Jin Zhengxiong-R64188; u-boot@lists.denx.de Subject: Re: [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa

Re: [U-Boot] [PATCH 1/5] powerpc/b4860qds: add xfi support

2014-11-16 Thread Shaohui Xie
This patch series are based on patch: http://patchwork.ozlabs.org/patch/409932/ Best Regards, Shaohui Xie -Original Message- From: shh@gmail.com [mailto:shh@gmail.com] Sent: Thursday, November 13, 2014 11:26 AM To: u-boot@lists.denx.de; Sun York-R58495 Cc: Xie

[U-Boot] [PATCH 1/4] arm: rmobile: alt: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Alt board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/alt/alt.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 2/4] arm: rmobile: koelsch: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Koesch board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/koelsch/koelsch.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 3/4] arm: rmobile: lager: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Lager board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/lager/lager.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 4/4] arm: rmobile: gose: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Gose board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/gose/gose.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 2/2] arm: rmobile: replacement of common parts of config by rcar-gen2-common.h

2014-11-16 Thread Nobuhiro Iwamatsu
Common part of config for lager, koelsch, alt and gose board will be able to replace rcar-gen2-common.h. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/alt.h | 92 ++ include/configs/gose.h| 93

[U-Boot] [PATCH 1/2] arm: rmobile: configs: Collect up common part of config for R-Car SoCs

2014-11-16 Thread Nobuhiro Iwamatsu
The lager, koelsch, alt, gose board supported in rmobile is distinguished as the R-Car Gen2 series and has much common setting. This collect up the common part of config as rcar-gen2-common.h. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---

[U-Boot] [PATCH] sh: Move SH_32BIT to Kconfig

2014-11-16 Thread Nobuhiro Iwamatsu
This moves SH_32BIT to Kconfig, and removes SH_32BIT from config files. Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org --- arch/sh/Kconfig | 9 + configs/sh7752evb_defconfig | 1 + configs/sh7753evb_defconfig | 1 + configs/sh7757lcr_defconfig |

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

2014-11-16 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh rmobile branch. The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh (2014-11-05 13:11:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-sh.git

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

2014-11-16 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh master branch. The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh (2014-11-05 13:11:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-sh.git

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-16 Thread Simon Glass
Hi Tom, On 17 November 2014 00:46, Tom Rini tr...@ti.com wrote: On Tue, Nov 11, 2014 at 10:46:20AM -0700, Simon Glass wrote: Since we scan from left to right looking for the first digit, i2c0 returns 2 instead of 0 for the alias number. Adjust the code to scan from right to left instead.

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-16 Thread Heiko Schocher
Hello Andrew, Am 14.11.2014 14:31, schrieb Andrew Ruder: On 11/14/2014 12:20 AM, Heiko Schocher wrote: Good catch, but wondering, why this not poped up in my tests, as I did such a test ... Are you on 2014.10? I don't think this issue existed on the 2014.07-rc3 I was using earlier. Yes, I

Re: [U-Boot] [PATCH 1/7] common/board_f: add setup of initial stack frame for MIPS

2014-11-16 Thread Simon Glass
Hi Daniel, On 15 November 2014 22:46, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: The MIPS specific setup of the initial stack frame was not ported to generic board_f. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- common/board_f.c | 8 +++- 1 file

Re: [U-Boot] [PATCH 2/7] common/board_f: fix gcc warning on MIPS64

2014-11-16 Thread Simon Glass
Hi Daniel, On 15 November 2014 22:46, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: This fixes following warning when compiled with MIPS64 common/board_f.c: In function 'display_text_info': common/board_f.c:150:2: warning: format '%X' expects argument i of type 'unsigned int', but

Re: [U-Boot] [PATCH v2 01/17] dm: i2c: Move error reporting into a common function

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Factor out the common code to make it easier to adjust it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add a suitable commit message common/cmd_i2c.c | 32 ++-- 1 file changed, 22

Re: [U-Boot] [PATCH v2 03/17] dm: core: Add functions to find parent and OF data

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Add dev_get_parent() as a convenience to obtain the parent of a device. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/core/device.c | 5 + include/dm/device.h | 8 2 files changed, 13

Re: [U-Boot] [PATCH v2 02/17] dm: core: Allow access to the device's driver_id data

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: When the device is created from a device tree node, it matches a compatible string. Allow access to that string and the associated data. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/core/device.c | 5

Re: [U-Boot] [PATCH v2 06/17] dm: spi: Correct handling of SPI chip selects in sandbox

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This code was not updated when the chip select handling was adjusted. Fix it to call the correct function. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/mtd/spi/sandbox.c | 2 +-

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Since we scan from left to right looking for the first digit, i2c0 returns 2 instead of 0 for the alias number. Adjust the code to scan from right to left instead. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-16 Thread Simon Glass
Hi Albert, On 16 November 2014 07:50, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Simon, On Sat, 15 Nov 2014 15:10:47 -0700, Simon Glass s...@chromium.org wrote: Hi Albert, On 15 November 2014 05:30, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Simon, On Fri, 14

Re: [U-Boot] [PATCH v2 07/17] dm: spi: Use device_bind_driver() instead of our own function

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: The SPI function does the same thing, so we may as well just use the new generic function. The 'cs' parameter was not actually used, so can be dropped. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patches to

Re: [U-Boot] [PATCH v2 05/17] dm: Add a function to bind a device by driver name

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: In some cases we need to manually bind a device to a particular driver. Add a function to do this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to add a function to bind a device by driver name

Re: [U-Boot] putc

2014-11-16 Thread Simon Glass
+U-Boot list Hi Martin, On 16 November 2014 23:32, Martin Dorwig martin.dor...@gmail.com wrote: Hello, Simon, i startend working on a solution for the jumptable. Please give me some time to work it out. i will replace the current pointer array with a struct that contains typed function

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API calls - Remove the address length from API calls - Remove concept of

Re: [U-Boot] [PATCH v2 11/17] dm: i2c: Add a sandbox I2C driver

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This driver includes some test features such as only supporting certain bus speeds. It passes its I2C traffic through to an emulator. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/i2c/Makefile | 2

Re: [U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: The concept of a 'current bus' is now implemented in the command line rather than in the uclass. Also the address length does not need to be specified with each command - really we should consider dropping this from most commands but it

Re: [U-Boot] [PATCH v2 12/17] dm: i2c: Add an I2C EEPROM simulator

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox. It supports reading and writing from a small data store. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/misc/Makefile | 3

Re: [U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: In order to test I2C we need some sort of emulation interface. Add hooks to allow a driver to emulate an I2C device for sandbox. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/i2c/Makefile | 1 +

Re: [U-Boot] [PATCH v2 14/17] dm: i2c: dts: Add an I2C bus for sandbox

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Add an I2C bus to the device tree, with an EEPROM emulator attached to one of the addresses. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/sandbox/dts/sandbox.dts | 17 + 1 file changed, 17

Re: [U-Boot] [PATCH v2 13/17] dm: i2c: config: Enable I2C for sandbox using driver model

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Enable the options to bring up I2C on sandbox. Also enable all the available I2C commands for testing purposes. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None include/configs/sandbox.h | 6 ++ 1 file changed,

Re: [U-Boot] [PATCH v2 15/17] dm: Add a simple EEPROM driver

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: There seem to be a few EEPROM drivers around - perhaps we should have a single standard one? This simple driver is used for sandbox testing, but could be pressed into more active service. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Add some basic tests to check that the system works as expected. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add a test for automatic binding of generic I2C devices - Add a new asm/test.h header for tests in sandbox

Re: [U-Boot] [PATCH v2 17/17] dm: i2c: tegra: Convert to driver model

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This converts all Tegra boards over to use driver model for I2C. The driver is adjusted to use driver model and the following obsolete CONFIGs are removed: - CONFIG_SYS_I2C_INIT_BOARD - CONFIG_I2C_MULTI_BUS -

  1   2   >