[U-Boot] [PATCH] Add 8 and 16-bit single register pin controller support

2017-03-26 Thread James Balean
Enables the pinctrl-single driver to support 8 and 16-bit registers. Only 32-bit registers were supported previously. Signed-off-by: James Balean Cc: Felix Brack Cc: Simon Glass --- drivers/pinctrl/pinctrl-single.c | 58

Re: [U-Boot] [PATCH][v2]board: freescale: ls2080a/ls2088a: Enable PPA

2017-03-26 Thread Santan Kumar
> -Original Message- > From: york sun > Sent: Saturday, March 25, 2017 11:05 PM > To: Santan Kumar ; u-boot@lists.denx.de > Cc: Abhimanyu Saini ; Priyanka Jain > > Subject: Re: [PATCH][v2]board: freescale:

Re: [U-Boot] [PATCHV2] tools: plbimage support generate rcw file

2017-03-26 Thread Alison Wang
> On 02/25/2017 04:38 PM, yuan linyu wrote: > > From: yuan linyu > > > > some system will not generate pbl format u-boot, but require rcw. > > > > Signed-off-by: yuan linyu > > --- > > tools/pblimage.c | 48

Re: [U-Boot] [PATCH v2] rockchip: Add support for MiQi rk3288 board

2017-03-26 Thread Eddie Cai
Hi Jernej 2017-03-27 0:49 GMT+08:00 Jernej Skrabec : > MiQi is rk3288 based development board with 1 or 2 GB SDRAM, 16 GB eMMC, > micro SD card interface, 4 USB 2.0 ports, HDMI, gigabit Ethernet and > expansion ports. > > Signed-off-by: Jernej Skrabec

Re: [U-Boot] [PATCHv3 2/5] mtd: nand: remove nand size print from nand_init function

2017-03-26 Thread Z.Q. Hou
Hi York, > -Original Message- > From: york sun > Sent: 2017年3月27日 2:33 > To: Z.Q. Hou ; u-boot@lists.denx.de; > o...@buserror.net; mingkai...@freescale.com; s...@chromium.org; > jh80.ch...@samsung.com; Xiaobo Xie > Subject: Re: [PATCHv3 2/5] mtd:

Re: [U-Boot] [PATCH 3/3] lib: tpm: Add command to list resources

2017-03-26 Thread Simon Glass
On 24 March 2017 at 03:54, Mario Six wrote: > On Wed, Mar 22, 2017 at 2:05 PM, Simon Glass wrote: >> On 20 March 2017 at 03:28, Mario Six wrote: >>> It is sometimes convenient to know how many and/or which resources are >>> currently

Re: [U-Boot] [PATCH v4] Add single register pin controller driver

2017-03-26 Thread Simon Glass
On 22 March 2017 at 04:26, Felix Brack wrote: > This patch adds a pin controller driver supporting devices > using a single configuration register per pin. > Signed-off-by: Felix Brack > --- > > Changes in v4: > - add James Balean's modifications according to v3 to

Re: [U-Boot] [PATCH 2/3] cmd: tpm: Fix flush command

2017-03-26 Thread Simon Glass
On 22 March 2017 at 07:05, Simon Glass wrote: > On 20 March 2017 at 03:28, Mario Six wrote: >> Commit 7690be35de ("lib: tpm: Add command to flush resources") added a >> command >> to flush resources from a TPM. >> >> However, a previous development version

Re: [U-Boot] [PATCH] pci: correct a function description

2017-03-26 Thread Simon Glass
On 22 March 2017 at 03:12, Z.Q. Hou wrote: > Hi Bin, > > Thanks for your review. > > - Zhiqiang > >> -Original Message- >> From: Bin Meng [mailto:bmeng...@gmail.com] >> Sent: 2017年3月22日 16:52 >> To: Z.Q. Hou >> Cc: U-Boot Mailing List

Re: [U-Boot] [PATCH v2 01/14] reset: Add STi reset support

2017-03-26 Thread Simon Glass
On 22 March 2017 at 03:54, wrote: > From: Patrice Chotard > > This patch adds a reset controller implementation for STMicroelectronics > STi family SoCs; it allows a group of related reset like controls found > in multiple system configuration

Re: [U-Boot] [PATCH v2] libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

2017-03-26 Thread Simon Glass
On 19 March 2017 at 22:34, Vignesh R wrote: > Use CONFIG_IS_ENABLED() macro to check whether OF_TRANSLATE is enabled, so > that code block is compiled irrespective of SPL or U-Boot build > and fdt address translation is used. > > Signed-off-by: Vignesh R > --- >

Re: [U-Boot] [PATCH 1/3] tpm: Add function to load keys via their parent's SHA1 hash

2017-03-26 Thread Simon Glass
On 22 March 2017 at 08:47, Simon Glass wrote: > Hi Mario, > > On 22 March 2017 at 08:07, Mario Six wrote: >> On Wed, Mar 22, 2017 at 2:27 PM, Simon Glass wrote: >>> Hi Mario, >>> >>> On 22 March 2017 at 07:20, Mario Six

Re: [U-Boot] [PATCH v2] Ensure device tree DTS is compiled

2017-03-26 Thread Simon Glass
On 15 March 2017 at 22:11, James Balean wrote: > Enables custom DTS files, or those not associated with a specific target, to > be compiled into a boot image. > > Signed-off-by: James Balean > Cc: Andy Shevchenko >

Re: [U-Boot] [PATCH 05/17] SPL: FIT: allow loading multiple images

2017-03-26 Thread André Przywara
On 08/03/17 21:00, Simon Glass wrote: > Hi Andre, > > On 28 February 2017 at 19:25, Andre Przywara wrote: >> So far we were not using the FIT image format to its full potential: >> The SPL FIT loader was just loading the first image from the /images >> node plus one of

Re: [U-Boot] [PATCH 08/17] armv8: fsl: move ccn504 code into FSL Makefile

2017-03-26 Thread André Przywara
On 08/03/17 21:01, Simon Glass wrote: > Hi Andre, > > On 28 February 2017 at 19:25, Andre Przywara wrote: >> The generic ARMv8 assembly code contains routines for setting up >> a CCN interconnect, though the Freescale SoCs are the only user. >> Link this code only for

Re: [U-Boot] [PATCH 16/17] sunxi: Store the device tree name in the SPL header

2017-03-26 Thread André Przywara
On 08/03/17 21:01, Simon Glass wrote: Hi Simon, many thanks for the review, finally found some time to look at this. I have finished the needed rework (including documentation) and will post something after some testing and some sleep ;-) > On 28 February 2017 at 19:25, Andre Przywara

[U-Boot] [PATCH 3/3] Makefile: Provide an option to select SPL or TPL

2017-03-26 Thread Simon Glass
At present we have SPL_ which can be used in Makefiles to select between normal and SPL CONFIGs like this: obj-$(CONFIG_$(SPL_)DM) += core/ When TPL is being built, SPL_ has the value 'SPL' which is generally a good idea since they tend to follow each other. But in extreme

[U-Boot] [PATCH 2/3] string: Provide a slimmed-down memset()

2017-03-26 Thread Simon Glass
Most of the time the optimised memset() is what we want. For extreme situations such as TPL it may be too large. For example on the 'rock' board, using a simple loop saves a useful 48 bytes. With gcc 4.9 and the rodata bug, this patch is enough to reduce the TPL image below the limit.

[U-Boot] [PATCH 1/3] Makefile: Correct dependency race condition with TPL

2017-03-26 Thread Simon Glass
At present we sometimes see the following build error when building on a machine with multiple cores. +make[2]: *** No rule to make target 'dts/dt.dtb', needed by 'tpl/u-boot-tpl.dtb'. Stop. Add a dependency to correct this. Signed-off-by: Simon Glass --- Makefile | 3

[U-Boot] [PATCH 0/3] RFC: Patches to reduce TPL code size

2017-03-26 Thread Simon Glass
With the rockchip 'rock' board some build and code size problems have come to light with TPL. This series provides a few ideas to improve things. Simon Glass (3): Makefile: Correct dependency race condition with TPL string: Provide a slimmed-down memset() Makefile: Provide an option to

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 15:28:44 CEST schrieb Simon Glass: > Hi Heiko, > > On 26 March 2017 at 15:00, Heiko Stuebner wrote: > > Am Sonntag, 26. März 2017, 22:52:16 CEST schrieb Heiko Stuebner: > >> Am Sonntag, 26. März 2017, 22:41:35 CEST schrieb Heiko Stuebner: > >> > Am

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Simon Glass
Hi Heiko, On 26 March 2017 at 15:00, Heiko Stuebner wrote: > Am Sonntag, 26. März 2017, 22:52:16 CEST schrieb Heiko Stuebner: >> Am Sonntag, 26. März 2017, 22:41:35 CEST schrieb Heiko Stuebner: >> > Am Sonntag, 26. März 2017, 22:13:08 CEST schrieb Heiko Stuebner: >> > > Am

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 22:52:16 CEST schrieb Heiko Stuebner: > Am Sonntag, 26. März 2017, 22:41:35 CEST schrieb Heiko Stuebner: > > Am Sonntag, 26. März 2017, 22:13:08 CEST schrieb Heiko Stuebner: > > > Am Sonntag, 26. März 2017, 14:00:51 CEST schrieb Simon Glass: > > > > Hi Heiko, > > > > >

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 22:41:35 CEST schrieb Heiko Stuebner: > Am Sonntag, 26. März 2017, 22:13:08 CEST schrieb Heiko Stuebner: > > Am Sonntag, 26. März 2017, 14:00:51 CEST schrieb Simon Glass: > > > Hi Heiko, > > > > > > On 26 March 2017 at 13:59, Simon Glass wrote: > > >

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 22:13:08 CEST schrieb Heiko Stuebner: > Am Sonntag, 26. März 2017, 14:00:51 CEST schrieb Simon Glass: > > Hi Heiko, > > > > On 26 March 2017 at 13:59, Simon Glass wrote: > > > Hi Heiko, > > > > > > On 26 March 2017 at 13:06, Heiko Stuebner

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 14:00:51 CEST schrieb Simon Glass: > Hi Heiko, > > On 26 March 2017 at 13:59, Simon Glass wrote: > > Hi Heiko, > > > > On 26 March 2017 at 13:06, Heiko Stuebner wrote: > >> Hi Simon, > >> > >> Am Samstag, 25. März 2017, 20:39:08

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Simon Glass
Hi Heiko, On 26 March 2017 at 13:59, Simon Glass wrote: > Hi Heiko, > > On 26 March 2017 at 13:06, Heiko Stuebner wrote: >> Hi Simon, >> >> Am Samstag, 25. März 2017, 20:39:08 CEST schrieb Simon Glass: >>> On 23 March 2017 at 17:41, Heiko Stuebner

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Simon Glass
Hi Heiko, On 26 March 2017 at 13:06, Heiko Stuebner wrote: > Hi Simon, > > Am Samstag, 25. März 2017, 20:39:08 CEST schrieb Simon Glass: >> On 23 March 2017 at 17:41, Heiko Stuebner wrote: >> > The Rock is a RK3188 based single board computer by Radxa. >> >

Re: [U-Boot] [PATCH 8/8] rockchip: Enable pmic options and act8846 driver on rk3188 rock boards

2017-03-26 Thread Heiko Stuebner
Am Donnerstag, 23. März 2017, 21:28:15 CEST schrieb Simon Glass: > On 20 March 2017 at 05:40, Heiko Stuebner wrote: > > The rock board uses the already existing act8846 as pmic, so enable the > > driver and needed pmic options for it. > > > > Signed-off-by: Heiko Stuebner

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
Hi Simon, Am Samstag, 25. März 2017, 20:39:08 CEST schrieb Simon Glass: > On 23 March 2017 at 17:41, Heiko Stuebner wrote: > > The Rock is a RK3188 based single board computer by Radxa. > > Currently it still relies on the proprietary DDR init and > > cannot use the generic SPL,

[U-Boot] [PATCH 2/2] rockchip: rk3188: Add Radxa Rock board

2017-03-26 Thread Heiko Stuebner
The Rock is a RK3188 based single board computer by Radxa. Currently it still relies on the proprietary DDR init and cannot use the generic SPL, but at least is able to boot a linux kernel and system up to a regular login prompt. Signed-off-by: Heiko Stuebner Reviewed-by: Simon

[U-Boot] [PATCH 1/2] rockchip: rk3188: follow THUMB_BUILD Kconfig migration

2017-03-26 Thread Heiko Stuebner
Commit 3a649407a49b ("arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD") moved the THUMB_BUILD symbols from the header to Kconfig symbols. With it still defined in the rk3188 header we end up with a duplicate symbol and compile errors, so fix that. Signed-off-by: Heiko

Re: [U-Boot] [PATCHV2] tools: plbimage support generate rcw file

2017-03-26 Thread york sun
On 02/25/2017 04:38 PM, yuan linyu wrote: > From: yuan linyu > > some system will not generate pbl format u-boot, but require rcw. > > Signed-off-by: yuan linyu > --- > tools/pblimage.c | 48

Re: [U-Boot] [PATCH v2] pcie-layerscape: Fixup iommu-map property of pci node

2017-03-26 Thread york sun
On 03/21/2017 11:45 PM, Bharat Bhushan wrote: > This patch fixup iommu-map property on pci node to have > a valid mapping of requester-id to stream-id. > The requester-id to stream-id mapping is based on > PCI-LUT table initialization. > > Signed-off-by: Bharat Bhushan >

Re: [U-Boot] [PATCHv3 2/5] mtd: nand: remove nand size print from nand_init function

2017-03-26 Thread york sun
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Add nand_size() function to move the nand size print into initr_nand(). > Remove nand size print from nand_init() to allow other function to call > nand_init() without printing nand size. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/2] LS2080A: Move sec_init to board_init

2017-03-26 Thread york sun
On 02/03/2017 03:26 AM, Udit Agarwal wrote: > Moves sec_init to board_init rather than in misc_init function beacuse > PPA will be initialised in board_init function and for PPA validation > sec_init has to be done prior to PPA init. > > Signed-off-by: Sumit Garg >

[U-Boot] [PATCH v2] rockchip: Add support for MiQi rk3288 board

2017-03-26 Thread Jernej Skrabec
MiQi is rk3288 based development board with 1 or 2 GB SDRAM, 16 GB eMMC, micro SD card interface, 4 USB 2.0 ports, HDMI, gigabit Ethernet and expansion ports. Signed-off-by: Jernej Skrabec --- Changes in v2: - change license to SPDX identifier - reorder boards in

[U-Boot] [PATCH v3] net: Kconfig:make PHY_GIGE and individual Micrel PHYs selectable

2017-03-26 Thread Philipp Tomsich
This change migrate the following configuration options for Kconfig: * PHY_GIGE, indicates that a controller (with an appropriate PHY) is Gigabit capable and enables extra support in the miiutil for parsing the status of Gigabit PHYs * adds configuration options for Micrel KSZ9021 and

Re: [U-Boot] [PATCH v2 1/2] rockchip: rk3399: spl: add UART0 support for SPL

2017-03-26 Thread Dr. Philipp Tomsich
Simon, you’ll need CONFIG_DEBUG_UART_BOARD_INIT=y as include/debug_uart.h checks this macro and either defines this function inline (with an empty body) or allows the function definition. Seems like everyone just adds this to their defconfig (as did we), but I am open towards an

Re: [U-Boot] [PATCH 6/6] dts: rk3399-puma: add gmac for the RK3399-Q7

2017-03-26 Thread Dr. Philipp Tomsich
Simon, > On 26 Mar 2017, at 05:48, Simon Glass wrote: > > Hi Philipp, > > On 24 March 2017 at 12:24, Philipp Tomsich > wrote: >> This change enables the Gigabit Ethernet support on the RK3399-Q7. >> >> X-AffectedPlatforms: RK3399-Q7

Re: [U-Boot] [PATCH v2 2/2] board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue

2017-03-26 Thread Joe Hershberger
On Sun, Mar 26, 2017 at 10:41 AM, Stefano Babic wrote: > On 26/03/2017 16:34, Joe Hershberger wrote: >> Hi Stefano, >> >> On Tue, Mar 21, 2017 at 8:57 AM, Ray, Ian (GE Healthcare) >> wrote: >>> On 21/02/2017 17:31, Stefano Babic wrote: On 21/02/2017 02:56,

Re: [U-Boot] [PATCH v2 2/2] board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue

2017-03-26 Thread Stefano Babic
On 26/03/2017 16:34, Joe Hershberger wrote: > Hi Stefano, > > On Tue, Mar 21, 2017 at 8:57 AM, Ray, Ian (GE Healthcare) > wrote: >> On 21/02/2017 17:31, Stefano Babic wrote: >>> On 21/02/2017 02:56, Ken Lin wrote: Apply the proper setting for the reserved bits in SetDes Test

Re: [U-Boot] [PATCH v2 2/2] board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue

2017-03-26 Thread Joe Hershberger
Hi Stefano, On Tue, Mar 21, 2017 at 8:57 AM, Ray, Ian (GE Healthcare) wrote: > On 21/02/2017 17:31, Stefano Babic wrote: >>On 21/02/2017 02:56, Ken Lin wrote: >>> Apply the proper setting for the reserved bits in SetDes Test and System >>> Mode >>Control register >>> to avoid

Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2017-03-26 Thread Joe Hershberger
Hi Oliver, On Sun, Dec 11, 2016 at 3:27 PM, Simon Glass wrote: > Hi Oliver, > > On 9 December 2016 at 02:25, Olliver Schinagl wrote: >> Hey simon >> >> On December 8, 2016 11:21:32 PM CET, Simon Glass wrote: >>>Hi Oliver, >>> >>>On 7

Re: [U-Boot] [PATCH 4/6] net: gmac_rockchip: Add support for the RK3399 GMAC

2017-03-26 Thread Joe Hershberger
On Sat, Mar 25, 2017 at 11:48 PM, Simon Glass wrote: > On 25 March 2017 at 13:09, Joe Hershberger wrote: >> On Fri, Mar 24, 2017 at 2:24 PM, Philipp Tomsich >> wrote: >>> The GMAC in the RK3399 is very similar

Re: [U-Boot] [PATCH v2] net: Kconfig:make PHY_GIGE and individual Micrel PHYs selectable

2017-03-26 Thread Joe Hershberger
On Wed, Feb 22, 2017 at 6:55 PM, Maxime Ripard wrote: > Hi, > > On Wed, Feb 22, 2017 at 09:58:42PM +0100, Philipp Tomsich wrote: >> This changeset moves two configuration options into Kconfig: >> * PHY_GIGE, indicates that a controller (with an appropriate PHY)

Re: [U-Boot] [PATCH v5] drivers/net/phy: add fixed-phy / fixed-link support

2017-03-26 Thread Christian Gmeiner
2017-03-23 15:11 GMT+01:00 Hannes Schmelzer : > From: Hannes Schmelzer > > This patch adds support for having a "fixed-link" to some other MAC > (like some embedded switch-device). > > For this purpose we introduce a new phy-driver, called

Re: [U-Boot] [PATCH 6/8] rockchip: rk3188: Switch to new i2c IP blocks

2017-03-26 Thread Heiko Stuebner
Am Samstag, 25. März 2017, 19:17:33 CEST schrieb Simon Glass: > Hi Heiko, > > On 24 March 2017 at 01:32, Heiko Stübner wrote: > > Am Donnerstag, 23. März 2017, 21:28:08 CET schrieb Simon Glass: > >> Hi Heiko, > >> > >> On 20 March 2017 at 05:40, Heiko Stuebner

Re: [U-Boot] [PATCH v2 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-03-26 Thread Andy Shevchenko
On Mon, 2017-03-20 at 15:27 +0200, Andy Shevchenko wrote: > On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: > > Hi Andy, > > > > On 15 March 2017 at 12:42, Andy Shevchenko > > wrote: > > > From: Felipe Balbi > > > > > >

Re: [U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-03-26 Thread Andy Shevchenko
On Mon, 2017-03-13 at 16:09 +0200, Andy Shevchenko wrote: > On Fri, Mar 3, 2017 at 12:31 PM, Kever Yang > wrote: > > On 02/28/2017 08:04 PM, Andy Shevchenko wrote: > > > > > > Add a specific serial driver for Intel MID platforms. > > > > > > It has special fractional

Re: [U-Boot] [PATCH] imx: ventana: fix GW5903 VDD_ARM rail

2017-03-26 Thread Stefano Babic
On 21/03/2017 15:50, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > board/gateworks/gw_ventana/common.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/board/gateworks/gw_ventana/common.c > b/board/gateworks/gw_ventana/common.c > index

Re: [U-Boot] [PATCH] configs: imx6: Select missing BOARD_LATE_INIT

2017-03-26 Thread Stefano Babic
On 23/03/2017 08:32, Jagan Teki wrote: > From: Jagan Teki > > Select missing BOARD_LATE_INIT from configs/ to > respective targets on arch area for Engicam imx6 boards. > > Cc: Tom Rini > Cc: Stefano Babic > Cc: Michael Trimarchi