Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Simon Glass
Hi Masahiro, On 20 January 2016 at 19:26, Masahiro Yamada wrote: > Hi Simon, > > > 2016-01-21 0:24 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 19 January 2016 at 22:38, Masahiro Yamada >> wrote: >>> >>> Hi

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-20 Thread Simon Glass
+Mugunthan, Tom On 17 January 2016 at 03:56, Christophe Ricard wrote: > Convert omap3_spi driver to DM and keep compatibility with previous > mode. > > Signed-off-by: Christophe Ricard > --- > > drivers/spi/Kconfig | 6 + >

Re: [U-Boot] [PATCH 1/5] i2c: omap24xx: Convert to DM

2016-01-20 Thread Simon Glass
On 17 January 2016 at 04:09, Christophe Ricard wrote: > Convert omap24xx_i2c driver to DM > > Signed-off-by: Christophe Ricard > --- > > drivers/i2c/Kconfig| 8 ++ > drivers/i2c/omap24xx_i2c.c | 280 >

Re: [U-Boot] [PATCH v2 2/3] armv8/ls1043aqds: Spilt off board device tree

2016-01-20 Thread Bin Meng
Hi Wenbin, On Wed, Jan 20, 2016 at 8:25 PM, Wenbin Song wrote: > Move new /chosen node out of the board device tree. > > Signed-off-by: Wenbin Song > --- > arch/arm/dts/Makefile | 2 +- > arch/arm/dts/fsl-ls1043a-qds-duart.dts | 20

Re: [U-Boot] [PATCH v2 3/3] armv8/ls1043aqds: Add lpuart support

2016-01-20 Thread Bin Meng
Hi Wenbin, On Wed, Jan 20, 2016 at 8:25 PM, Wenbin Song wrote: > Add lpuart support using the driver model. > > Signed-off-by: Wenbin Song > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/fsl-ls1043a-qds-lpuart.dts | 20

Re: [U-Boot] [PATCH v2 1/3] armv8/ls1043aqds: Select lpuart pins of various muxes

2016-01-20 Thread Bin Meng
Hi Wenbin, On Wed, Jan 20, 2016 at 8:25 PM, Wenbin Song wrote: > From: Shaohui Xie > > Set Board Configuration Register to select the lpuart pins of various > muxes. > > Signed-off-by: Shaohui Xie > Signed-off-by:

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-20 Thread Marek Vasut
On Thursday, January 21, 2016 at 03:58:44 AM, Wills Wang wrote: > On Thursday, January 21, 2016 09:32 AM, Marek Vasut wrote: > > On Sunday, January 17, 2016 at 01:21:29 PM, Wills Wang wrote: > >> On 01/17/2016 06:24 PM, Daniel Schwierzeck wrote: > >>> 2016-01-17 6:49 GMT+01:00 Wills Wang

Re: [U-Boot] [PATCHv4 7/7] igep00x0: Falcon mode

2016-01-20 Thread Heiko Schocher
Hello Ladislav, Am 17.01.2016 um 04:16 schrieb Ladislav Michl: Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl --- board/isee/igep00x0/igep00x0.c | 12 1 file changed, 12 insertions(+) Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH v2 13/55] x86: ivybridge: Rename lpc_init() to lpc_init_extra()

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > In preparation for adding an init() method to the LPC uclass, rename this > existing function so that it will not conflict. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 25/55] x86: Bring up northbridge, pch and lpc after the CPUs

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > These devices currently need to be inited early in boot. Once we have the > init in the right places (with each device doing its own init and no > problems with ordering) we should be able to remove this. For now it is >

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-20 Thread Wills Wang
On Thursday, January 21, 2016 09:32 AM, Marek Vasut wrote: On Sunday, January 17, 2016 at 01:21:29 PM, Wills Wang wrote: On 01/17/2016 06:24 PM, Daniel Schwierzeck wrote: 2016-01-17 6:49 GMT+01:00 Wills Wang : On 01/17/2016 03:05 AM, Marek Vasut wrote: On Saturday,

[U-Boot] [PATCH 0/4] ARM: uniphier: several fixes of include/configs/uniphiers.h

2016-01-20 Thread Masahiro Yamada
Masahiro Yamada (4): ARM: uniphier: fix NOR boot command ARM: uniphier: add default bootm_low to fix FIT boot ARM: uniphier: factor out common part of boot commands ARM: uniphier: fix nfsboot command include/configs/uniphier.h | 35 +-- 1 file changed, 21

[U-Boot] [PATCH 3/4] ARM: uniphier: factor out common part of boot commands

2016-01-20 Thread Masahiro Yamada
The environment "bootm_low" is updated before the "bootz" command. This is common for all the boot modes (NOR, NAND, TFTP, etc.) and can be refactored. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 21 ++--- 1 file changed, 10

[U-Boot] [PATCH 1/4] ARM: uniphier: fix NOR boot command

2016-01-20 Thread Masahiro Yamada
Commit 89835b3557fe ("ARM: uniphier: allow to run zImage rather than uImage") changed the kernel boot commands. Unlike "bootm", "bootz" does not relocate the kernel image. When the boot device is a NOR flash, the zImage should be copied from the NOR onto DRAM before passing it to the "bootz"

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-20 Thread Marek Vasut
On Sunday, January 17, 2016 at 01:21:29 PM, Wills Wang wrote: > On 01/17/2016 06:24 PM, Daniel Schwierzeck wrote: > > 2016-01-17 6:49 GMT+01:00 Wills Wang : > >> On 01/17/2016 03:05 AM, Marek Vasut wrote: > >>> On Saturday, January 16, 2016 at 07:13:46 PM, Wills Wang wrote: >

Re: [U-Boot] [PATCH v3 8/8] dm: x86: Drop the weak cpu_irq_init() function

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: > There are no callers now. Platforms which need to set up interrupts their > own way can implement an interrupt driver. Drop this function. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH v3 7/8] dm: x86: queensbay: Add an interrupt driver

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:28 PM, Bin Meng wrote: > On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: >> Add a driver for interrupts on queensbay and move the code currently in >> cpu_irq_init() into its probe() method. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 6/8] dm: x86: quark: Add an interrupt driver

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:28 PM, Bin Meng wrote: > On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: >> Add a driver for interrupts on quark and move the code currently in >> cpu_irq_init() into its probe() method. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 5/8] x86: Drop the irq router compatible string

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:28 PM, Bin Meng wrote: > On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: >> We use driver model for this now, so we don't need this string. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: >> -

[U-Boot] [PATCH] clk: Correct compilation when OF_CONTROL is not set

2016-01-20 Thread Simon Glass
At present clk.h does not build without OF_CONTROL, but it is clearly intended to. Fix it. Signed-off-by: Simon Glass --- include/clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/clk.h b/include/clk.h index 05c5a79..e6ab934 100644 ---

Re: [U-Boot] [PATCH v4 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Masahiro Yamada
2016-01-21 11:43 GMT+09:00 Simon Glass : > Add a method which can locate a clock for a device, given its index. This > uses the normal device tree bindings to return the clock device and the > first argument which is normally used as a peripheral ID in U-Boot. > > Signed-off-by:

[U-Boot] [Patch V5 4/4] dm: env_sf: fix saveenv() to use driver model

2016-01-20 Thread Gong Qianyu
From: Gong Qianyu It might be missed when converting spi_flash_probe() in cmd_sf.c. This patch refers to commit fbb099183e3a ("dm: Convert spi_flash_probe() and 'sf probe' to use driver model"). Signed-off-by: Gong Qianyu --- V5: - Revise

Re: [U-Boot] [Patch V4 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2016-01-20 Thread Qianyu Gong
Hi York, > -Original Message- > From: york sun > Sent: Thursday, January 21, 2016 4:23 AM > To: Qianyu Gong ; u-boot@lists.denx.de > Cc: Mingkai Hu ; jt...@openedev.com; Yao Yuan > ; r58...@freescale.com; Gong Qianyu >

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-20 Thread Wills Wang
On Thursday, January 21, 2016 09:32 AM, Marek Vasut wrote: On Sunday, January 17, 2016 at 01:21:29 PM, Wills Wang wrote: On 01/17/2016 06:24 PM, Daniel Schwierzeck wrote: 2016-01-17 6:49 GMT+01:00 Wills Wang : On 01/17/2016 03:05 AM, Marek Vasut wrote: On Saturday,

Re: [U-Boot] [PATCH 00/50] rockchip: Add support for cros_ec keyboard

2016-01-20 Thread Simon Glass
Hi, On 13 January 2016 at 16:24, Simon Glass wrote: > This series provides a number of new features and improvements leading to > enabling the keyboard (via Chrome OS EC) on jerry. This is conneected via > SPI and uses its own message protocol. > > Features and fixes are

Re: [U-Boot] [PATCH] board/t4240rdb: VID support

2016-01-20 Thread Ying Zhang
Hi, York, All the boards are required to set to Intel mode. If it’s not in Intel mode, VID is not support. I have a look how to do. Thanks. From: york sun Sent: Thursday, January 21, 2016 10:53 AM To: Ying Zhang; ying.zh...@freescale.com;

Re: [U-Boot] [PATCH 00/37] rockchip: Add support for display and keyboard

2016-01-20 Thread Simon Glass
Hi, On 14 January 2016 at 08:57, Simon Glass wrote: > This series adds display drivers for rockchip and enables them on jerry, > firefly-rk3288 (HDMI only) and rock2 (HDMI only). It builds on the recent > keyboard series. > > Driver are provided for video displays (EDP and

Re: [U-Boot] [PATCH] armv8/ls1043a: Implement workaround for erratum A009660

2016-01-20 Thread Mingkai Hu
> -Original Message- > From: york sun > Sent: Thursday, January 21, 2016 12:21 AM > To: Mingkai Hu; u-boot@lists.denx.de > Cc: Mingkai Hu > Subject: Re: [PATCH] armv8/ls1043a: Implement workaround for erratum > A009660 > > On 01/19/2016 10:44 PM, Mingkai Hu wrote: > > From: Mingkai Hu

Re: [U-Boot] [PATCH] board/t4240rdb: VID support

2016-01-20 Thread Ying Zhang
Hi, York, I know this issue. It's occurred because the IR chip on T4RDB worked on AMD mode, it can work well on INTEL mode. Nexcom will collect all the boards and set the IR chip to INTEL mode. Before that, What should we do? Thanks. -Original

Re: [U-Boot] [PATCH v2 08/55] x86: ivybridge: Rename bd82x6x_init()

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Rename the existing bd82x6x_init() to bd82x6x_init_extra(). We will remove > this in a later patch. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop the init() method in the PCH > - Rename

Re: [U-Boot] [PATCH v5 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

2016-01-20 Thread Anand Moon
Hi Ted / Marek / Stephen, On 20 January 2016 at 22:22, Stephen Warren wrote: > On 01/19/2016 11:24 PM, Ted Chen wrote: >> >> This patch adds driver support for the Realtek RTL8152B/RTL8153 USB >> network adapters. > > > This looks fine to me, although I didn't take a

Re: [U-Boot] [PATCH 1/3] ARMv8/layerscape: Add mmu_init API

2016-01-20 Thread Zhiqiang Hou
Hi York, > -Original Message- > From: york sun > Sent: 2016年1月20日 23:55 > To: Zhiqiang Hou ; Prabhakar Kushwaha > ; Zhiqiang Hou ; > u-boot@lists.denx.de; albert.u.b...@aribaud.net; mingkai...@freescale.com; >

Re: [U-Boot] powerpc/83xx: fix build failure

2016-01-20 Thread Tom Rini
On Thu, Jan 21, 2016 at 09:22:43AM +0800, Bin Meng wrote: > Hi Tom, > > On Thu, Jan 21, 2016 at 5:01 AM, Tom Rini wrote: > > On Thu, Jan 14, 2016 at 06:45:30PM +0800, Shengzhou Liu wrote: > > > >> Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, > >> which has been

Re: [U-Boot] [PATCH 3/3] test/py: add a test for the sleep command

2016-01-20 Thread Simon Glass
Hi Stephen, On 15 January 2016 at 11:24, Stephen Warren wrote: > On 01/06/2016 10:33 AM, Stephen Warren wrote: >> >> From: Stephen Warren >> >> Execute "sleep", and validate that it sleeps for approximately the correct >> amount of time. > > > FYI,

Re: [U-Boot] [PATCH] part: Drop duplication declaration of block_dev_desc_t

2016-01-20 Thread Bin Meng
On Thu, Jan 21, 2016 at 11:12 AM, Simon Glass wrote: > This is already defined in ide.h, which part.h includes. So we don't need > the duplicate typedef. At least with my old blackfin gcc 4.3.5 tool chain, > this causes an error. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-20 Thread Marek Vasut
On Thursday, January 21, 2016 at 04:02:05 AM, Wills Wang wrote: > On Thursday, January 21, 2016 09:32 AM, Marek Vasut wrote: > > On Sunday, January 17, 2016 at 01:21:29 PM, Wills Wang wrote: > >> On 01/17/2016 06:24 PM, Daniel Schwierzeck wrote: > >>> 2016-01-17 6:49 GMT+01:00 Wills Wang

[U-Boot] [PATCH 4/4] ARM: uniphier: fix nfsboot command

2016-01-20 Thread Masahiro Yamada
This is no longer working, so needs a rework. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index

[U-Boot] [PATCH 2/4] ARM: uniphier: add default bootm_low to fix FIT boot

2016-01-20 Thread Masahiro Yamada
Commit 25d4eb8091f4 ("ARM: uniphier: add bootm_low environment") missed to add "bootm_low" for FIT boot. Set "bootm_low" to the DRAM base address. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH] ARM: uniphier: support some more DRAM use cases on PH1-Pro4

2016-01-20 Thread Masahiro Yamada
Some of PH1-Pro4 boards are equipped with larger amount of DRAM than the reference board. Add UMC settings to support them. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/umc-ph1-pro4.c | 80 -- 1 file changed, 53

Re: [U-Boot] [PATCH v2 02/55] dm: usb: Add a compatible string for PCI EHCI controller

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Add a compatible string to allow this to be specified in the device tree > if needed. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add missing of_match member init so that ehci_pci_ids[] is

Re: [U-Boot] [PATCH v2 03/55] dm: syscon: Allow finding devices by driver data

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > We have a way to find a regmap by its syscon driver data value. Add the same > for syscon itself. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add missing 'given' word > >

Re: [U-Boot] [PATCH v2 06/55] x86: ivybridge: Move lpc_early_init() to probe()

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Move this code to the LPC's probe() method so that it will happen > automatically when the LPC is probed before relocation. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop unused

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: Fix mvtwsi not working on sun6i and newer sunxi SoCs

2016-01-20 Thread Heiko Schocher
Hello Hans, Am 14.01.2016 um 14:06 schrieb Hans de Goede: On sun6i and newer IFLG is a write-clear bit which is cleared by writing 1, rather then a normal r/w bit which is cleared by writing 0. Signed-off-by: Hans de Goede --- drivers/i2c/mvtwsi.c | 19

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Masahiro Yamada
Hi Simon, 2016-01-21 0:24 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 19 January 2016 at 22:38, Masahiro Yamada > wrote: >> >> Hi Simon, >> >> >> >>> >> >>> +/** >> >>> + * clk_get_by_index() - look up a clock referenced by a device >> >>> + *

Re: [U-Boot] [PATCH] clk: Correct compilation when OF_CONTROL is not set

2016-01-20 Thread Masahiro Yamada
2016-01-21 11:41 GMT+09:00 Simon Glass : > At present clk.h does not build without OF_CONTROL, but it is clearly > intended to. Fix it. > > Signed-off-by: Simon Glass > --- > > include/clk.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff

Re: [U-Boot] [PATCH 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-01-20 Thread Simon Glass
Hi Marcel, On 16 January 2016 at 17:50, Marcel Ziswiler wrote: > Hi Simon > > On Sat, 2016-01-16 at 10:14 -0700, Simon Glass wrote: > > > >> > I wanted to give that patch set a shot but could not figure out >> > against >> > what to get it cleanly applied. Could you reveal

Re: [U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy()

2016-01-20 Thread Joe Hershberger
Hi Tom, On Wed, Jan 20, 2016 at 7:22 PM, Tom Rini wrote: > On Wed, Jan 20, 2016 at 02:04:04PM -0700, Stephen Warren wrote: >> On 01/20/2016 02:00 PM, Tom Rini wrote: >> >On Wed, Jan 20, 2016 at 01:47:55PM -0700, Stephen Warren wrote: >> >>On 01/13/2016 11:23 AM, Stephen

Re: [U-Boot] [PATCHv4 1/7] mtd: Sort subsystem directories aplhabeticaly in Makefile

2016-01-20 Thread Heiko Schocher
Hello Ladislav, Am 17.01.2016 um 04:11 schrieb Ladislav Michl: Signed-off-by: Ladislav Michl Reviewed-by: Tom Rini --- drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Heiko Schocher bye,

Re: [U-Boot] [PATCHv4 2/7] nand_spl_simple: Add a simple NAND read function

2016-01-20 Thread Heiko Schocher
Hello Ladislav, Am 17.01.2016 um 04:12 schrieb Ladislav Michl: From: Thomas Gleixner To support UBI in SPL we need a simple NAND read function. Add one to nand_spl_simple and keep it as simple as it goes. Signed-off-by: Thomas Gleixner Signed-off-by:

Re: [U-Boot] [PATCH 1/2] x86: x86-common.h: Add CONFIG_BOOTDELAY

2016-01-20 Thread Stefan Roese
Hi Tom, On 19.01.2016 18:25, Tom Rini wrote: On Mon, Jan 18, 2016 at 02:49:56PM +0100, Stefan Roese wrote: Without this CONFIG_BOOTDELAY, autobooting does not work at all. As autoboot_command() from common/* will not get called. So lets define CONFIG_BOOTDELAY, so that auto-booting works on

Re: [U-Boot] [PATCH v2 05/55] x86: ivybridge: Set up the LPC device using driver model

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Find the LPC device in arch_cpu_init_dm() as a first step to converting > this code to use driver model. Probing the LPC will probe its parent (the > PCH) automatically, so make sure that probing the PCH does nothing before

[U-Boot] Uboot send pull request

2016-01-20 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 077678eb0c226e52a1f90edabd3369ab26065b32: Merge git://git.denx.de/u-boot-dm (2016-01-12 18:12:42 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH 2/2] sunxi: Add support for the I2C controller which is part of the PRCM

2016-01-20 Thread Heiko Schocher
Hello Hans, Am 14.01.2016 um 14:06 schrieb Hans de Goede: From: Jelle van der Waa Signed-off-by: Jelle van der Waa [hdego...@redhat.com: Minor cleanups] Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c | 10

Re: [U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy()

2016-01-20 Thread Tom Rini
On Wed, Jan 20, 2016 at 02:04:04PM -0700, Stephen Warren wrote: > On 01/20/2016 02:00 PM, Tom Rini wrote: > >On Wed, Jan 20, 2016 at 01:47:55PM -0700, Stephen Warren wrote: > >>On 01/13/2016 11:23 AM, Stephen Warren wrote: > >>>On 12/15/2015 04:41 PM, Joe Hershberger wrote: > Hi Stephen, >

Re: [U-Boot] powerpc/83xx: fix build failure

2016-01-20 Thread Bin Meng
Hi Tom, On Thu, Jan 21, 2016 at 5:01 AM, Tom Rini wrote: > On Thu, Jan 14, 2016 at 06:45:30PM +0800, Shengzhou Liu wrote: > >> Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, >> which has been defined in fsl_ddr_sdram.h >> >> Signed-off-by: Shengzhou Liu

Re: [U-Boot] [PATCH v3 1/8] dm: x86: Create a driver for x86 interrupts

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: > It seems likely that at some point we will want a generic interrupt uclass. > But this is a big undertaking as it involves unifying code across multiple > architectures. > > As a first step, create a simple IRQ uclass and a

Re: [U-Boot] [PATCH v3 4/8] x86: Use the IRQ device when setting up the mptable

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 5:28 PM, Bin Meng wrote: > On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: >> Instead of searching for the device tree node, use the IRQ device which has >> a record of it. >> >> Signed-off-by: Simon Glass >>

Re: [U-Boot] [PATCH v3 3/8] dm: x86: Add a common PIRQ init function

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: > Most x86 interrupt drivers will want to use the standard PIRQ routing and > table setup. Put this code in a common function so it can be used by those > drivers that want it. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 2/8] dm: x86: Set up interrupt routing from interrupt_init()

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass wrote: > At present interrupt routing is set up from arch_misc_init(). We can do it > a little later instead, in interrupt_init(). > > This removes the manual pirq_init() call. Where the platform does not have > an interrupt router

Re: [U-Boot] [PATCH 3/3] tpm: st33zp24: Add tpm st33zp24 spi support

2016-01-20 Thread Simon Glass
On 16 January 2016 at 16:05, Christophe Ricard wrote: > Add support for TPM ST33ZP24 spi. > > The ST33ZP24 does have a spi interface. > The transport protocol is proprietary. > > For spi we are relying only on DM_SPI. > > Signed-off-by: Christophe Ricard

Re: [U-Boot] [PATCH v3 1/5] lib: Add wait_for_bit

2016-01-20 Thread Simon Glass
Hi Matueuz, On 20 January 2016 at 14:03, Mateusz Kulikowski wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi, > > On 20.01.2016 05:34, Simon Glass wrote: > [...] >> On 27 December 2015 at 10:28, Mateusz Kulikowski >>

Re: [U-Boot] [PATCH 2/2] serial: zynq: Fix address reading from DM

2016-01-20 Thread Simon Glass
On 14 January 2016 at 06:36, Michal Simek wrote: > Signed-off-by: Michal Simek > --- > > drivers/serial/serial_zynq.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) Reviewed-by: Simon Glass But this needs a

Re: [U-Boot] [PATCH 1/2] tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM

2016-01-20 Thread Simon Glass
On 16 January 2016 at 16:17, Christophe Ricard wrote: > In case CONFIG_DM_TPM was set without any TPM chipset configured a fault > was generated (NULL pointer access). > > Signed-off-by: Christophe Ricard > --- > > common/cmd_tpm.c | 2 +-

Re: [U-Boot] [PATCH 2/3] tpm: st33zp24: Add tpm st33zp24 support with i2c

2016-01-20 Thread Simon Glass
On 16 January 2016 at 16:05, Christophe Ricard wrote: > Add support for TPM ST33ZP24 family with i2c. > > For i2c we are relying only on DM_I2C. > > Signed-off-by: Christophe Ricard > --- > > README | 7 + >

Re: [U-Boot] [PATCH 1/3] tpm: Rename tpm_tis_infineon.h to tpm_tis.h and move infineon specific stuff in tpm_infineon.c

2016-01-20 Thread Simon Glass
On 16 January 2016 at 16:05, Christophe Ricard wrote: > I2C protocol is not standardize for TPM 1.2. > TIS prococol is define by the Trusted Computing Group and potentially > available on several TPMs. > > tpm_tis_infineon.h header is not generic enough. > > Rename

Re: [U-Boot] [PATCH 2/2] tpm: tpm_tis_lpc: fix typo

2016-01-20 Thread Simon Glass
On 16 January 2016 at 16:17, Christophe Ricard wrote: > TPM_TIS_LPC is connected to the LPC bus, not I2C. > > Signed-off-by: Christophe Ricard > --- > > drivers/tpm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH 1/4] spi: omap3: Remove unused variable irqstatus in omap3_spi_txrx

2016-01-20 Thread Simon Glass
On 17 January 2016 at 03:56, Christophe Ricard wrote: > Remove unused variable irqstatus in omap3_spi_txrx > > Signed-off-by: Christophe Ricard > --- > > drivers/spi/omap3_spi.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon

Re: [U-Boot] [PATCH 2/4] spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN

2016-01-20 Thread Simon Glass
On 17 January 2016 at 03:56, Christophe Ricard wrote: > In some case wordlen may not be set. Use SPI_DEFAULT_WORDLEN as default. > > Signed-off-by: Christophe Ricard > --- > > drivers/spi/spi-uclass.c | 1 + > 1 file changed, 1

[U-Boot] [Patch V5 3/4] spi: fsl_qspi: Fix qspi_op_rdsr memcpy issue

2016-01-20 Thread Gong Qianyu
From: Gong Qianyu In current driver, we always copy 4 bytes to the dest memory. Actually the dest memory may be shorter than 4 bytes. Add an argument to indicate the dest memory length. Avoid writing memory outside of the bounds. Signed-off-by: Gong Qianyu

[U-Boot] [Patch V5 2/4] spi: fsl_qspi: Fix qspi_op_rdid memcpy issue

2016-01-20 Thread Gong Qianyu
From: Gong Qianyu In current driver everytime we memcpy 4 bytes to the dest memory regardless of the remaining length. This patch adds checking the remaining length before memcpy. If the length is shorter than 4 bytes, memcpy the actual length of data to the dest

[U-Boot] [Patch V5 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2016-01-20 Thread Gong Qianyu
From: Gong Qianyu This patch fixes the following compile warning: drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe': drivers/spi/fsl_qspi.c:937:15: warning: cast to pointer from integer of different size

Re: [U-Boot] [PATCHv5 5/7] spl: zImage support in Falcon mode

2016-01-20 Thread Heiko Schocher
Hello Ladislav, Am 17.01.2016 um 04:15 schrieb Ladislav Michl: Other payload than uImage is currently considered to be raw U-Boot image. Check also for zImage in Falcon mode. Signed-off-by: Ladislav Michl --- arch/arm/lib/Makefile | 2 ++ arch/arm/lib/bootm.c | 32

Re: [U-Boot] [PATCHv4 4/7] spl: support loading from UBI volumes

2016-01-20 Thread Heiko Schocher
Hello Ladislav, Am 17.01.2016 um 04:13 schrieb Ladislav Michl: Add support for loading from UBI volumes on the top of NAND. Signed-off-by: Ladislav Michl --- common/spl/Makefile | 3 +++ common/spl/spl.c | 4 common/spl/spl_ubi.c | 68

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-20 Thread Heiko Schocher
Hello Ladislav, Am 17.01.2016 um 04:16 schrieb Ladislav Michl: Convert IGEP board to use UBI volumes for U-Boot, its environment and kernel. With exception of first four sectors read by SoC boot ROM whole NAND is UBI managed. As code is too big now, drop CONFIG_SPL_EXT_SUPPORT to make it fit.

Re: [U-Boot] powerpc/83xx: fix build failure

2016-01-20 Thread Bin Meng
Hi Tom, On Thu, Jan 21, 2016 at 9:27 AM, Tom Rini wrote: > On Thu, Jan 21, 2016 at 09:22:43AM +0800, Bin Meng wrote: >> Hi Tom, >> >> On Thu, Jan 21, 2016 at 5:01 AM, Tom Rini wrote: >> > On Thu, Jan 14, 2016 at 06:45:30PM +0800, Shengzhou Liu wrote: >> >

Re: [U-Boot] [PATCH] board/t4240rdb: VID support

2016-01-20 Thread york sun
Can software detect IR mode and support both? Or skip the vid part if the mode is not supported? York Original Message From: Ying Zhang Sent: Wednesday, January 20, 2016 06:05 PM To: york sun

Re: [U-Boot] [PATCH] x86: Clean up SPI flash drivers in defconfig

2016-01-20 Thread Bin Meng
Hi, On Tue, Dec 15, 2015 at 2:27 PM, Jagan Teki wrote: > On 15 December 2015 at 11:48, Bin Meng wrote: > > Hi Jagan, > > > > On Tue, Dec 15, 2015 at 2:15 PM, Jagan Teki wrote: > >> Hi Bin, > >> > >> > >> On Tuesday 15 December 2015

Re: [U-Boot] [PATCH v2 14/55] x86: ivybridge: Probe the LPC in CPU init

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > We can drop the explicit probe of the PCH since the LPC is a child device > and this will happen automatically. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop explicit PCH probe > - Drop

[U-Boot] [PATCH v4 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Simon Glass
Add a method which can locate a clock for a device, given its index. This uses the normal device tree bindings to return the clock device and the first argument which is normally used as a peripheral ID in U-Boot. Signed-off-by: Simon Glass --- Changes in v4: - Add a static

[U-Boot] [PATCH] part: Drop duplication declaration of block_dev_desc_t

2016-01-20 Thread Simon Glass
This is already defined in ide.h, which part.h includes. So we don't need the duplicate typedef. At least with my old blackfin gcc 4.3.5 tool chain, this causes an error. Signed-off-by: Simon Glass --- include/part.h | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Masahiro Yamada
Hi Simon, 2016-01-21 11:46 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 20 January 2016 at 19:26, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2016-01-21 0:24 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 19 January

Re: [U-Boot] [PATCH 2/2] serial: Remove serial_putc_raw_dev

2016-01-20 Thread Bin Meng
On Wed, Jan 20, 2016 at 8:23 PM, Tom Rini wrote: > clang-3.8 reports that serial_putc_raw_dev in serial_ns16550.c is > unused. Further investigation shows that we have 3 places that > implement this function and no callers, remove. > > Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH 1/2] common/console.c: Remove unused inline functions

2016-01-20 Thread Bin Meng
Hi Tom, On Wed, Jan 20, 2016 at 8:23 PM, Tom Rini wrote: > clang-3.8 reports that these functions are unused, remove them. > > Signed-off-by: Tom Rini > --- > common/console.c | 48 > 1 file changed, 48

Re: [U-Boot] [PATCH v2 04/55] dm: pci: Convert bios_emu to use the driver model PCI API

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > At present this BIOS emulator uses a bus/device/function number. Change > it to use a device if CONFIG_DM_PCI is enabled. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop

[U-Boot] Please pull from u-boot-i2c

2016-01-20 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git The following changes since commit 57e5ecaf755d5301cd33683788e4b8432938bbbe: iocon / bamboo: Drop CONFIG_SYS_LONGHELP (2016-01-20 15:25:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for you to fetch

Re: [U-Boot] [PATCH v2 30/55] x86: ivybridge: Do the SATA init before relocation

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > The SATA device needs to set itself up so that it appears correctly on the > PCI bus. The easiest way to do this is to set it up to probe before > relocation. This can do the early setup. > > Signed-off-by: Simon Glass

[U-Boot] Uboot send pull request

2016-01-20 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 077678eb0c226e52a1f90edabd3369ab26065b32: Merge git://git.denx.de/u-boot-dm (2016-01-12 18:12:42 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v2 50/55] x86: ivybridge: Drop special EHCI init

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > This is not needed. On reset wake-on-disconnect is already set. It may a > problem during a soft reset or resume, but for now it does not seem > important. Also drop the command register update since PCI auto-config > does

Re: [U-Boot] [PATCH v2 05/55] x86: ivybridge: Set up the LPC device using driver model

2016-01-20 Thread Bin Meng
On Thu, Jan 21, 2016 at 2:05 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: >> Find the LPC device in arch_cpu_init_dm() as a first step to converting >> this code to use driver model. Probing the LPC will probe its parent (the >>

Re: [U-Boot] [PATCH v2 04/55] dm: pci: Convert bios_emu to use the driver model PCI API

2016-01-20 Thread Bin Meng
On Thu, Jan 21, 2016 at 2:02 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: >> At present this BIOS emulator uses a bus/device/function number. Change >> it to use a device if CONFIG_DM_PCI is enabled. >> >> Signed-off-by: Simon

Re: [U-Boot] [PATCH v2 32/55] x86: ivybridge: Use the SATA driver to do the init

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Instead of manually initing the device, probe the SATA device and move the > init there. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Update to use the disk uclass > >

Re: [U-Boot] [PATCH v2 33/55] x86: ivybridge: Use driver model PCI API in sata.c

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Adjust the functions in this file to use the driver model PCI API. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop unnecessary IRQ and command register init > >

[U-Boot] [PATCH 2/2] armv8/fsl-layerscape: fdt: add fixup for fman

2016-01-20 Thread Gong Qianyu
1.Add fixup for fman clock. 2.Add fdt_fixup_fman_firmware() to insert the Fman ucode firmware into the device tree. Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 121 1 file changed, 121 insertions(+) diff --git

Re: [U-Boot] [PATCH v2 29/55] ahci: Add a disk-controller uclass

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Add a uclass ID for a disk controller. This can be used by AHCI/SATA or > other controller types. There are no operations and no interface so far, > but it is possible to probe a SATA device. > > Signed-off-by: Simon Glass

[U-Boot] [PATCH 1/2] armv8/ls1043a: fsl_qman: Implement device tree fixup for QBMan

2016-01-20 Thread Gong Qianyu
From: Roy Pledge Add support for device tree fixup for the QBMan nodes in ARM platforms Signed-off-by: Roy Pledge Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 87

Re: [U-Boot] [PATCH v2 36/55] x86: ivybridge: Drop the special PCI driver

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > There is nothing special about the ivybridge pci driver now, so just use > the generic one. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop the special compatible string in

Re: [U-Boot] [PATCH v2 03/55] dm: syscon: Allow finding devices by driver data

2016-01-20 Thread Bin Meng
On Thu, Jan 21, 2016 at 1:58 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: >> We have a way to find a regmap by its syscon driver data value. Add the same >> for syscon itself. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 02/55] dm: usb: Add a compatible string for PCI EHCI controller

2016-01-20 Thread Bin Meng
On Thu, Jan 21, 2016 at 1:56 PM, Bin Meng wrote: > On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: >> Add a compatible string to allow this to be specified in the device tree >> if needed. >> >> Signed-off-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH v2 01/55] dm: core: Display the error number when driver binding fails

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > > This is often -96 (-EPFNOSUPPORT) which indicates that the uclass is not > compiled in. Display the error number to make this easier to spot. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH v2 26/55] x86: ivybridge: Move northbridge and PCH init into drivers

2016-01-20 Thread Bin Meng
On Mon, Jan 18, 2016 at 7:11 AM, Simon Glass wrote: > Instead of calling the northbridge and PCH init from bd82x6x_init_extra() > when the PCI bus is probed, call it from the respective drivers. Also drop > the Northbridge init as it has no effect. The registers it touches

  1   2   3   >