Re: [U-Boot] gpio: mvmfp: support newer MFP bit definitions

2015-04-23 Thread Tom Rini
On Mon, Mar 23, 2015 at 05:56:58PM -0500, Rob Herring wrote: > From: Xiang Wang > > 1. The bits 11..10 for mfp driver strength is only valid for > aspen and old xscale family, for newer Marvell chip, this range > has been moved to 12..11. > 2. add sleep bit support > > Signed-off-by: Xiang Wang

Re: [U-Boot] cmd_led: Extend led command to support blinking and more leds

2015-04-23 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:39AM +0100, Stefan Roese wrote: > This patch extends the U-Boot "led" command to support automatic blinking > by setting a blink frequency in milliseconds. Additionally the number of > supported LEDs is increased to 6 (0...5). > > This will be used by the PCA9551 LED

Re: [U-Boot] gpio: mvmfp: support newer MFP bit definitions

2015-04-23 Thread Tom Rini
On Mon, Mar 23, 2015 at 05:56:58PM -0500, Rob Herring wrote: > From: Xiang Wang > > 1. The bits 11..10 for mfp driver strength is only valid for > aspen and old xscale family, for newer Marvell chip, this range > has been moved to 12..11. > 2. add sleep bit support > > Signed-off-by: Xiang Wang

Re: [U-Boot] Please pull u-boot-dm

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 10:24:32AM -0600, Simon Glass wrote: > Hi Tom, > > This brings in core features to support PMICs (which should come > within a week so), core test fixes and most of the SPL device tree > support . I'd like to do this in two pieces since this is all somewhat > risky. > > T

Re: [U-Boot] Please pull u-boot-x86 branch 'buildman'

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 12:39:41PM -0600, Simon Glass wrote: > Hi Tom, > > Note this is branch 'buildman'. > > The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06: > > serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400) > > are available in the git reposit

Re: [U-Boot] davinci: add support for omapl138-lcdk board

2015-04-23 Thread Tom Rini
On Mon, Mar 23, 2015 at 09:19:56AM +1100, Peter Howard wrote: > Signed-off-by: Peter Howard Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mail

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

2015-04-23 Thread Karl Apsite
On 04/23/2015 01:06 PM, Simon Glass wrote: > Hi Karl, > > On 23 April 2015 at 07:15, Karl Apsite wrote: >> >> On 04/22/2015 09:55 PM, Simon Glass wrote: >>> +Tom >>> >>> Hi Karl, >>> >>> On 22 April 2015 at 13:05, Karl Apsite wrote: Hi! I work at DornerWorks with the Xen Hypervi

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

2015-04-23 Thread Fabio Estevam
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 CuBox-i4Pro, HummingBoard-i2eX and HummingBoard-i1. Si

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

2015-04-23 Thread Fabio Estevam
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 --- Changes since v1: - Attribute the credit to Rabeeh board/solidrun/mx6cuboxi/mx6c

[U-Boot] [PATCH v2 1/5] mx6cuboxi: Fix the defconfig name

2015-04-23 Thread Fabio Estevam
The correct name of the defconfig file is 'mx6cuboxi_defconfig'. Signed-off-by: Fabio Estevam --- Changes since v1: - None board/solidrun/mx6cuboxi/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/solidrun/mx6cuboxi/MAINTAINERS b/board/solidrun/mx6cuboxi/MA

Re: [U-Boot] buildman and multiple toolchains?

2015-04-23 Thread Simon Glass
Hi Tom, On 23 April 2015 at 13:26, Tom Rini wrote: > On Thu, Apr 23, 2015 at 01:22:55PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 23 April 2015 at 12:57, Tom Rini wrote: >> > On Thu, Apr 23, 2015 at 12:44:12PM -0600, Simon Glass wrote: >> >> Hi Tom, >> >> >> >> On 23 April 2015 at 07:07, To

[U-Boot] [PATCH v2 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-23 Thread Fabio Estevam
Instead of hardcoding the 'fdt_file' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on a patch from Rabeeh Khoury. Signed-off-by: Fabio Estevam --- Changes since v1: - Attribute the credit to Rabeeh - Create a U-boot command for checking if the board i

[U-Boot] [PATCH v2 2/5] mx6cuboxi: Prepare for multi SoC support

2015-04-23 Thread Fabio Estevam
Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Use IOMUX_PADS() macro in order to prepare for the multi-SoC support. Also pass 'MX6QDL' in the defconfig to indicate it. Signed-off-by: Fabio Estevam --- Changes since v1: - None board/solidrun/mx

Re: [U-Boot] buildman and multiple toolchains?

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 01:22:55PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 April 2015 at 12:57, Tom Rini wrote: > > On Thu, Apr 23, 2015 at 12:44:12PM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 23 April 2015 at 07:07, Tom Rini wrote: > >> > Hey, > >> > > >> > So I'm merging (or r

Re: [U-Boot] buildman and multiple toolchains?

2015-04-23 Thread Simon Glass
Hi Tom, On 23 April 2015 at 12:57, Tom Rini wrote: > On Thu, Apr 23, 2015 at 12:44:12PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 23 April 2015 at 07:07, Tom Rini wrote: >> > Hey, >> > >> > So I'm merging (or rather have merged and will push shortly) the ARMv7-M >> > support. You can't bui

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

2015-04-23 Thread Vagrant Cascadian
On 2015-04-22, Fabio Estevam wrote: > Instead of hardcoding the 'fdt_file' variable, let's introduce a new > function - build_dts_name(), that can build the dtb filename on the fly. > diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c > b/board/solidrun/mx6cuboxi/mx6cuboxi.c > index 83410b2..1c24a5

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

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 08:13:05AM +0200, Stefano Babic wrote: > Hi Fabio, > > On 23/04/2015 05:57, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Instead of hardcoding the 'fdt_file' variable, let's introduce a new > > function - build_dts_name(), that can build the dtb filename on the fl

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

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 12:57:04AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, > mx6dual and mx6quad. Add support for the different SoC/memory sizes > combinations. > > Tested on a CuBox-i4Pro, HummingBoard-i2e

Re: [U-Boot] buildman and multiple toolchains?

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 12:44:12PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 April 2015 at 07:07, Tom Rini wrote: > > Hey, > > > > So I'm merging (or rather have merged and will push shortly) the ARMv7-M > > support. You can't build this with your normal arm-linux toolchain. Is > > there so

Re: [U-Boot] buildman and multiple toolchains?

2015-04-23 Thread Simon Glass
Hi Tom, On 23 April 2015 at 07:07, Tom Rini wrote: > Hey, > > So I'm merging (or rather have merged and will push shortly) the ARMv7-M > support. You can't build this with your normal arm-linux toolchain. Is > there some way in buildman to be able to say, roughly: > [toolchain] > arm: /usr/bin/

[U-Boot] Please pull u-boot-x86 branch 'buildman'

2015-04-23 Thread Simon Glass
Hi Tom, Note this is branch 'buildman'. The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06: serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400) are available in the git repository at: http://git.denx.de/u-boot-x86.git for you to fetch changes up to 387

Re: [U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

2015-04-23 Thread Simon Glass
On 23 April 2015 at 12:36, Michal Simek wrote: > On 04/23/2015 08:30 PM, Simon Glass wrote: >> Hi, >> >> On 23 April 2015 at 12:23, Simon Glass wrote: >>> On 20 April 2015 at 03:46, Michal Simek wrote: Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain. Signed-

Re: [U-Boot] [PATCH v2] patman: check git format.subjectprefix setting when generate patches prefix

2015-04-23 Thread Simon Glass
On 23 April 2015 at 12:33, Simon Glass wrote: > On 14 April 2015 at 20:25, Josh Wu wrote: >> For the local project, we may specified format.subjectprefix setting. >> Then the patch will be formated as [Project_prefix][PATCH]. >> But patman will not check this setting. It will remove the >> format

Re: [U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

2015-04-23 Thread Michal Simek
On 04/23/2015 08:30 PM, Simon Glass wrote: > Hi, > > On 23 April 2015 at 12:23, Simon Glass wrote: >> On 20 April 2015 at 03:46, Michal Simek wrote: >>> Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain. >>> >>> Signed-off-by: Michal Simek >>> --- >>> >>> tools/buildman/RE

Re: [U-Boot] [PATCH v2] patman: check git format.subjectprefix setting when generate patches prefix

2015-04-23 Thread Simon Glass
On 14 April 2015 at 20:25, Josh Wu wrote: > For the local project, we may specified format.subjectprefix setting. > Then the patch will be formated as [Project_prefix][PATCH]. > But patman will not check this setting. It will remove the > format.subjectprefix. > > So This patch will let patman che

Re: [U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

2015-04-23 Thread Simon Glass
Hi, On 23 April 2015 at 12:23, Simon Glass wrote: > On 20 April 2015 at 03:46, Michal Simek wrote: >> Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain. >> >> Signed-off-by: Michal Simek >> --- >> >> tools/buildman/README | 2 +- >> tools/buildman/toolchain.py | 2 +-

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

2015-04-23 Thread Stefano Babic
Hi Fabio, On 23/04/2015 19:18, Fabio Estevam wrote: >> What about to export your is_hummingboard() function as U-Boot command ? >> You can then use it in U-Boot scripts, and the correct fdt name can be >> set in the "bootcmd" variable. Something like "if is_humming;then ..." > > I am not sure ho

Re: [U-Boot] [U-Boot 6/7] dm: spi: xilinx_spi: Convert to driver model

2015-04-23 Thread Simon Glass
Hi Jagan, On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This converts the xilinx spi driver to use the driver model. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > --- > Note: Michal, can you test this, I don't have hardware. > > driv

Re: [U-Boot] [U-Boot 2/7] zynq: Kconfig: Enable dm spi and spi_flash

2015-04-23 Thread Simon Glass
On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > > Enabled CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH for zynq soc. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > arch/arm/Kconfig | 2 ++ > 1 file change

Re: [U-Boot] [U-Boot 5/7] dts: zynq: Enable spi1 for zc770_xm010 board

2015-04-23 Thread Simon Glass
On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This patch enables spi1 for zynq zc770_xm010 board dts. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > arch/arm/dts/zynq-zc770-xm010.dts | 4 >

Re: [U-Boot] [U-Boot 3/7] dts: zynq: Add zynq spi controller nodes

2015-04-23 Thread Simon Glass
On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This patch adds zynq spi controller nodes in zynq-7000.dtsi. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > arch/arm/dts/zynq-7000.dtsi

Re: [U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

2015-04-23 Thread Simon Glass
On 20 April 2015 at 03:46, Michal Simek wrote: > Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain. > > Signed-off-by: Michal Simek > --- > > tools/buildman/README | 2 +- > tools/buildman/toolchain.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Acked-b

Re: [U-Boot] [U-Boot 4/7] spi: zynq_spi: Add fdt support in driver

2015-04-23 Thread Simon Glass
Hi Jagan, On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > Now zynq spi driver platform data is controlled by devicetree, > enable the status by saying "okay" on respective board dts to use > the devicetree generated platdata. > > Ex: > &spi1 { > status = "okay"; > }; > >

Re: [U-Boot] [U-Boot 1/7] dm: spi: zynq_spi: Convert to driver model

2015-04-23 Thread Simon Glass
Hi Jagan, On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This converts the zynq spi driver to use the driver model. > > Minimal functional changes like using meaningful name on > structure members wrt mainlined dm spi drivers. > - input_hz -> frequency > - req_hz -> freq > - bas

Re: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards

2015-04-23 Thread Simon Glass
On 21 April 2015 at 10:53, York Sun wrote: > > > On 04/20/2015 08:37 PM, Masahiro Yamada wrote: >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT must be defined >> to build under lib/ directory for SPL. >> >> This directory contains very basic functions such as memcpy, memset >> in lib/string.c, so it

Re: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards

2015-04-23 Thread Simon Glass
Hi Tom, On 22 April 2015 at 08:14, Tom Rini wrote: > On Tue, Apr 21, 2015 at 12:37:18PM +0900, Masahiro Yamada wrote: >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT must be defined >> to build under lib/ directory for SPL. >> >> This directory contains very basic functions such as memcpy, memset >>

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

2015-04-23 Thread 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: > >> Hello Scott, > >> > >> Am 23.04.2015 00:47, schrieb Scott Wood: > >>> On Mon, 2015-04-20 at 07:47 +0200, Heiko Scho

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

2015-04-23 Thread Fabio Estevam
Hi Stefano, On Thu, Apr 23, 2015 at 3:13 AM, Stefano Babic wrote: > I admit I do not like a lot to have C code setting / fixing the > environment. This has the drawback that when a user try to set the > environment from the console as he wants, he cannot because the code has > reverted back and

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

2015-04-23 Thread Simon Glass
Hi Karl, On 23 April 2015 at 07:15, Karl Apsite wrote: > > On 04/22/2015 09:55 PM, Simon Glass wrote: >> +Tom >> >> Hi Karl, >> >> On 22 April 2015 at 13:05, Karl Apsite wrote: >>> Hi! >>> >>> I work at DornerWorks with the Xen Hypervisor. We work with a variety of >>> embedded systems, and we

[U-Boot] unassigned-patches/143: [PATCH 4/4] x86: minnowmax: initialize the pin-muxing from device tree

2015-04-23 Thread u-boot
Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/143 >Responsible:patch-coord >Message-Id: <1429805775-1809-5-git-send-email-cont...@huau-gabriel.fr> >In-Reply-To:<1429805775-1809-1-git-send-email-cont...@huau-gabriel.fr> >References: <1429805775-1809-

[U-Boot] unassigned-patches/142: [PATCH 0/4] x86: support of pin-muxing from device tree

2015-04-23 Thread u-boot
This serie of patches adds the support of pin-muxing from the device tree through different properties. I have put two example to enable the USB Host on the minnowboard max. The support of the call to 'setup_pch_gpios' is still supported and only the minnowboard has been tested with the device tr

[U-Boot] [PATCH 2/4][v2]drivers:usb:fsl: Add XHCI driver support

2015-04-23 Thread Ramneek Mehresh
Add xhci driver support for all FSL socs Signed-off-by: Ramneek Mehresh --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 6 ++ drivers/usb/host/Makefile | 1 + drivers/usb/host/xhci-fsl.c | 107 ++ include/linux/usb/xh

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

2015-04-23 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021atwr.h | 36 include/linux/usb/xhci-fsl.h | 5 + 2 files changed, 41 insertions(+) diff --git a/include/configs/ls1021atwr.h b/

[U-Boot] Commands to partition the hw partitions on emmc using uboot 2015-04

2015-04-23 Thread harsha kiran
Hi ! I am unable to create the hardware (gp1-4) partitions my eMMC on a custom board using the new Uboot(2015.04). I think i am missing something in my commands..I was wondering if someone can point at the mistake i am doing.. i am trying to create a gp1 partition with 7009.875 MB and SLC on and w

[U-Boot] unassigned-patches/141: [PATCH] x86: minnowmax: use the correct NOR in the configuration

2015-04-23 Thread u-boot
The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/141 >Responsible:patch-coord >Message-Id: <1429805814-1892-1-git-send-email-cont...@huau-gabriel.fr> >In-Reply-To: >References: >Patch-Date:

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

2015-04-23 Thread u-boot
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 needs to be provided as well. Here is an example: pin_usb_host_en0@0 { gpio-

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

2015-04-23 Thread u-boot
There is 6 banks: 4 banks for CORE: available in S0 mode 2 banks for SUS (Suspend): available in S0-S5 mode Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/140 >Responsible:patch-coord >Message-Id: <1429805775-1809-3-git-send-email-cont...@huau-gabri

[U-Boot] unassigned-patches/139: [PATCH 1/4] x86: baytrail: fix the GPIOBASE address

2015-04-23 Thread u-boot
Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/139 >Responsible:patch-coord >Message-Id: <1429805775-1809-2-git-send-email-cont...@huau-gabriel.fr> >In-Reply-To:<1429805775-1809-1-git-send-email-cont...@huau-gabriel.fr> >References: <1429805775-1809-

[U-Boot] Please pull u-boot-dm

2015-04-23 Thread Simon Glass
Hi Tom, This brings in core features to support PMICs (which should come within a week so), core test fixes and most of the SPL device tree support . I'd like to do this in two pieces since this is all somewhat risky. The images sizes mostly drop slightly with these patches which is a good sign (

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

2015-04-23 Thread Gabriel Huau
The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau --- include/configs/minnowmax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index 3c7b266..72393fa 100644 --- a/include/configs/mi

[U-Boot] [PATCH 4/4] x86: minnowmax: initialize the pin-muxing from device tree

2015-04-23 Thread Gabriel Huau
Signed-off-by: Gabriel Huau --- board/intel/minnowmax/minnowmax.c | 9 + include/configs/minnowmax.h | 1 + 2 files changed, 10 insertions(+) diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c index 6e82b16..60dd2bb 100644 --- a/board/intel/minnowma

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

2015-04-23 Thread Gabriel Huau
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 needs to be provided as well. Here is an example: pin_usb_host_en0@0 { gpio-

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

2015-04-23 Thread Gabriel Huau
There is 6 banks: 4 banks for CORE: available in S0 mode 2 banks for SUS (Suspend): available in S0-S5 mode Signed-off-by: Gabriel Huau --- arch/x86/dts/minnowmax.dts | 42 ++ 1 file changed, 42 insertions(+) diff --git a/arch/x86/dts/minnowmax.dt

[U-Boot] [PATCH 0/4] x86: support of pin-muxing from device tree

2015-04-23 Thread Gabriel Huau
This serie of patches adds the support of pin-muxing from the device tree through different properties. I have put two example to enable the USB Host on the minnowboard max. The support of the call to 'setup_pch_gpios' is still supported and only the minnowboard has been tested with the device tr

[U-Boot] [PATCH 1/4] x86: baytrail: fix the GPIOBASE address

2015-04-23 Thread Gabriel Huau
Signed-off-by: Gabriel Huau --- arch/x86/include/asm/arch-baytrail/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/arch-baytrail/gpio.h b/arch/x86/include/asm/arch-baytrail/gpio.h index ab4e059..4e8987c 100644 --- a/arch/x86/include/asm/arch-baytra

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

2015-04-23 Thread Simon Glass
Hi Hans, On 23 April 2015 at 00:55, Hans de Goede wrote: > Hi, > > > On 22-04-15 19:20, Simon Glass wrote: >> >> Hi Hans, >> >> On 20 April 2015 at 12:10, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 20-04-15 17:39, Simon Glass wrote: Hi Hans, On 20 April 2015 at 03:13, H

Re: [U-Boot] [U-Boot PATCH v2] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Jagan Teki
On 23 April 2015 at 19:57, Jagannadha Sutradharudu Teki wrote: > This reverts commit 562f8df18da62ae02c4ace1e530451fe82c3312d. > > Note: Even un-reverting this patch couldn't works as expected, based > on the latest testing from Heiko Schocher. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc

Re: [U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-04-23 Thread York Sun
Resend with corrected email address. +Masahiro Yamada On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote: > >> -Original Message- >> From: Sun York-R58495 >> Sent: Friday, April 17, 2015 3:22 AM >> To: Liu Shengzhou-B36685; u-boot@lists.denx.de >> Subject: Re: [PATCH v4] powerpc/t1023rdb

Re: [U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-04-23 Thread York Sun
+Masahiro Yamada On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote: > >> -Original Message- >> From: Sun York-R58495 >> Sent: Friday, April 17, 2015 3:22 AM >> To: Liu Shengzhou-B36685; u-boot@lists.denx.de >> Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support >> >> On

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

2015-04-23 Thread Stefano Babic
Hi Nikolay, On 23/04/2015 16:38, Nikolay Dimitrov wrote: > > As more and more board variants are supported by unified source files, > functions like "is_specificboard()" are not scaling well - there's a > repetitive code for extracting hw-specific info, and then there's the > multiple functions t

Re: [U-Boot] [dm/next PATCH v1] dm: qspi fix claim bus and release bus

2015-04-23 Thread Simon Glass
Hi Peng, On 15 April 2015 at 03:50, Peng Fan wrote: > Add missed people. > > > On 4/14/2015 1:19 PM, Peng Fan wrote: >> >> For fsl_qspi_claim_bus and fsl_qspi_release_bus, the input parameter >> "struct udevice *dev" represents device: "qspi[x]: qspi@[address] {...}". >> Since "dev" already repre

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

2015-04-23 Thread Simon Glass
Hi Albert, On 8 April 2015 at 00:12, Albert ARIBAUD wrote: > Hi Simon, > > Le Tue, 7 Apr 2015 21:20:22 -0600, Simon Glass a > écrit : > >> Well the problem is that we don't have driver model support in rtc, We >> do have an eeprom uclass, but it is currently implemented only for >> sandbox. We d

Re: [U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-23 Thread Simon Glass
Hi, On 21 April 2015 at 02:13, Sjoerd Simons wrote: > Hey Joe, > > On Mon, 2015-04-20 at 23:31 -0500, Joe Hershberger wrote: >> Hi Sjoerd, >> >> On Mon, Apr 13, 2015 at 3:54 PM, Sjoerd Simons >> wrote: >> > Make the sandbox setup more generic/examplary by including >> > config_distro_defaults.h

Re: [U-Boot] [PATCH 02/20] dm: i2c: sandbox: Add debugging to the speed limit

2015-04-23 Thread Simon Glass
Hi Heiko, On 20 April 2015 at 23:04, Heiko Schocher wrote: > Hello Simon, > > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Print a debug() message with the I2C speed is exceeded. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/i2c/sandbox_i2c.c | 4 +++- >> 1 file changed, 3 insert

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

2015-04-23 Thread Joe Hershberger
On Thu, Apr 23, 2015 at 12:58 AM, shengzhou@freescale.com wrote: >> -Original Message- >> From: Florian Fainelli [mailto:f.faine...@gmail.com] >> Sent: Thursday, April 23, 2015 12:39 PM >> To: Liu Shengzhou-B36685; net...@vger.kernel.org; joe.hershber...@gmail.com >> Subject: Re: [PATC

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

2015-04-23 Thread Joe Hershberger
Hi Shengzhou Liu, On Wed, Apr 22, 2015 at 5:22 AM, Shengzhou Liu wrote: > RTL8211F needs to enalbe TXDLY for RGMII during > phy initialization, so move it to rtl8211f_config > for early initialization. > > Signed-off-by: Shengzhou Liu > cc: Joe Hershberger > --- > drivers/net/phy/realtek.c | 2

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

2015-04-23 Thread Nikolay Dimitrov
Hi Fabio, guys, On 04/23/2015 06:57 AM, Fabio Estevam wrote: From: Fabio Estevam Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cubo

Re: [U-Boot] [RFC PATCH] arm: mx6: Clamp MMDC and DDR3 clocks for timing calculations

2015-04-23 Thread Stefano Babic
Hi Nikolay, On 23/04/2015 16:26, Nikolay Dimitrov wrote: >> >> +arch/arm/cpu/armv7/mx6/ddr.c: In function 'mx6_dram_cfg': >> +arch/arm/cpu/armv7/mx6/ddr.c:279:4: error: assignment of member >> 'mem_speed' in read-only object >> +arch/arm/cpu/armv7/mx6/ddr.c:286:4: error: assignment of member >> 'm

[U-Boot] [U-Boot PATCH v2] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Jagannadha Sutradharudu Teki
This reverts commit 562f8df18da62ae02c4ace1e530451fe82c3312d. Note: Even un-reverting this patch couldn't works as expected, based on the latest testing from Heiko Schocher. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Heiko Schocher --- README| 11 --- drive

Re: [U-Boot] [RFC PATCH] arm: mx6: Clamp MMDC and DDR3 clocks for timing calculations

2015-04-23 Thread Nikolay Dimitrov
Hi Stefano, On 04/22/2015 05:02 PM, Stefano Babic wrote: Hi Nikolay, On 22/04/2015 14:22, Nikolay Dimitrov wrote: Hi Stefano, On 04/22/2015 03:12 PM, Stefano Babic wrote: Hi Nikolay, On 17/04/2015 00:36, Nikolay Dimitrov wrote: This is proposal for clamping the MMDC/DDR3 clocks to the maxi

[U-Boot] [U-Boot 4/7] spi: zynq_spi: Add fdt support in driver

2015-04-23 Thread Jagannadha Sutradharudu Teki
Now zynq spi driver platform data is controlled by devicetree, enable the status by saying "okay" on respective board dts to use the devicetree generated platdata. Ex: &spi1 { status = "okay"; }; Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durg

[U-Boot] [U-Boot 5/7] dts: zynq: Enable spi1 for zc770_xm010 board

2015-04-23 Thread Jagannadha Sutradharudu Teki
This patch enables spi1 for zynq zc770_xm010 board dts. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- arch/arm/dts/zynq-zc770-xm010.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynq-zc770-xm010.dts

[U-Boot] [U-Boot 7/7] spi: xilinx_spi: Add asm/io.h include file

2015-04-23 Thread Jagannadha Sutradharudu Teki
This patch includes asm/io.h for readl and writel calls. build errors: drivers/spi/xilinx_spi.c: In function 'xilinx_spi_probe': drivers/spi/xilinx_spi.c:119:2: warning: implicit declaration of function 'writel' [-Wimplicit-function-declaration] drivers/spi/xilinx_spi.c: In function 'xilinx_spi_x

[U-Boot] [U-Boot 6/7] dm: spi: xilinx_spi: Convert to driver model

2015-04-23 Thread Jagannadha Sutradharudu Teki
This converts the xilinx spi driver to use the driver model. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek --- Note: Michal, can you test this, I don't have hardware. drivers/spi/xilinx_spi.c | 212 +++ 1 file changed,

[U-Boot] [U-Boot 0/7] dm: spi: Convert few drivers to driver model

2015-04-23 Thread Jagannadha Sutradharudu Teki
Driver model conversion, patches. - drivers/spi/zynq_spi.c and drivers/spi/xilinx_spi.c thanks! -- Jagan. Jagannadha Sutradharudu Teki (7): dm: spi: zynq_spi: Convert to driver model zynq: Kconfig: Enable dm spi and spi_flash dts: zynq: Add zynq spi controller nodes spi: zynq_spi: Add fdt

[U-Boot] [U-Boot 2/7] zynq: Kconfig: Enable dm spi and spi_flash

2015-04-23 Thread Jagannadha Sutradharudu Teki
Enabled CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH for zynq soc. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 3702bb0.

[U-Boot] [U-Boot 3/7] dts: zynq: Add zynq spi controller nodes

2015-04-23 Thread Jagannadha Sutradharudu Teki
This patch adds zynq spi controller nodes in zynq-7000.dtsi. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- arch/arm/dts/zynq-7000.dtsi | 24 doc/device-tree-bindings/spi/spi-zynq.txt | 27

[U-Boot] [U-Boot 1/7] dm: spi: zynq_spi: Convert to driver model

2015-04-23 Thread Jagannadha Sutradharudu Teki
This converts the zynq spi driver to use the driver model. Minimal functional changes like using meaningful name on structure members wrt mainlined dm spi drivers. - input_hz -> frequency - req_hz -> freq - base -> regs Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Sime

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

2015-04-23 Thread Karl Apsite
On 04/22/2015 09:55 PM, Simon Glass wrote: > +Tom > > Hi Karl, > > On 22 April 2015 at 13:05, Karl Apsite wrote: >> Hi! >> >> I work at DornerWorks with the Xen Hypervisor. We work with a variety of >> embedded systems, and we wanted to facilitate Xen's boot procedure through >> U-boot's Flatt

Re: [U-Boot] [U-Boot,1/2] integrator: stop zeroing the gd flags

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 03:35:59PM +0200, Linus Walleij wrote: > This assignment conflicts with code that add flags with > gd->flags |= FOO prior to the execution of this function. > Seems like a historical artifact and creates bugs with > early alloc(). > > Cc: Masahiro Yamada > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 5/5] ARM: integrator: move CONFIG_ARCH_CINTEGRATOR to Kconfig

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:39PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [U-Boot, v2, 4/5] ARM: integrator: abolish CONFIG_INTEGRATOR

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:38PM +0900, Masahiro Yamada wrote: > Switch to CONFIG_ARCH_INTEGRATOR defined by Kconfig. > > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] SPDX: add X11 SPDX-License-Identifier

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 01:39:27PM +0900, Masahiro Yamada wrote: > These is a growing trend to license DT files dual GPL and X11 > especially in the Linux community. It allows easier reuse of > device trees for other software projects. > > This commit prepares for doing so in U-Boot too, since D

Re: [U-Boot] [U-Boot, v2, 1/5] ARM: ARM720t: remove empty asm/arch/hardware.h

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:35PM +0900, Masahiro Yamada wrote: > arch/arm/cpu/arm720t/start.S includes , > but the hardware.h headers of ARM720T boards are all empty. > > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij > Cc: Stephen Warren > Cc: Tom Warren Applied to u-boot/master, than

Re: [U-Boot] [U-Boot, v2, 3/5] ARM: integrator: split board select into AP/CP select and CM select

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:37PM +0900, Masahiro Yamada wrote: > Select integrator boards by the combination of platform select (AP/CP) > and core module select (CM720T, CM920T, ...). > > This allows us to remove CONFIG_SYS_EXTRA_OPTIONS and make Kconfig > much cleaner. > > Signed-off-by: Masa

Re: [U-Boot] [U-Boot, v2, 2/5] ARM: integrator: move board select into mach-integrator/Kconfig

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:36PM +0900, Masahiro Yamada wrote: > The board/SoC select menu in arch/arm/Kconfig is still cluttered. > Add ARCH_INTEGRATOR into arch/arm/Kconfig and move the board select > under arch/arm/mach-integrator. > > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij Ap

Re: [U-Boot] Licenses: fix a typo in README

2015-04-23 Thread Tom Rini
On Fri, Apr 17, 2015 at 10:20:43AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] vexpress64: use DM for all vexpress64 boards

2015-04-23 Thread Tom Rini
On Tue, Apr 14, 2015 at 10:01:35AM +0200, Linus Walleij wrote: > Commit d8bafe1310487ba0e0785997726b4792072178d3 > "ARMv8: enable DM in vexpress64 board" only enabled DM > for the simulated vexpress64 board (FVP) with the > hardcoded clock value for the simulated board, causing > a console regress

Re: [U-Boot] [U-Boot, 4/4] stm32f4: Add support for stm32f429-discovery board

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:42PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot,2/3] board/BuR/tseries: reactivate NAND-board

2015-04-23 Thread Tom Rini
On Wed, Apr 08, 2015 at 07:38:34AM +0200, Hannes Petermaier wrote: > The NAND-version has been become a bit orphan. > Now we need to reactivate it, so bring necessary things: > > - loading devicetree > - switch control signal to correct pins > - setup pinmux > - default-environment > > up to dat

Re: [U-Boot] [U-Boot,3/3] board/BuR/tseries: change pinmux

2015-04-23 Thread Tom Rini
On Wed, Apr 08, 2015 at 07:38:35AM +0200, Hannes Petermaier wrote: > some pins on the board have been rerouted to other peripherals, so we > change the pinmux to apply with hardware-design. > > Signed-off-by: Hannes Petermaier Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] cmd_scsi: Enable SoC AHCI device on platforms with PCI

2015-04-23 Thread Tom Rini
On Fri, Mar 20, 2015 at 10:27:54AM +0800, tang yuantian wrote: > Current driver assumes the AHCI is connected to PCI, this is not > true on some SoCs, e.g. LS1021A, which has PCI but the AHCI is > in SoC. This patch will enable embedded AHCI devices on platforms > with PCI. > PCI AHCI devices stil

Re: [U-Boot] [U-Boot, 1/3] board/BuR/common: simplify access to devicetree

2015-04-23 Thread Tom Rini
On Wed, Apr 08, 2015 at 07:38:33AM +0200, Hannes Petermaier wrote: > instead of polling everytime the environment, we take usage of the global > gd->fdt_blob variable and check it only against NULL. > > Variable "dtbaddr" from environment is needed only one time on loading the > devicetree within

Re: [U-Boot] [U-Boot,3/4] stm32f4: Add serial driver

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:41PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot,1/4] ARM: Add ARMv7-M support

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:39PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailma

Re: [U-Boot] [U-Boot,2/4] ARMv7M: Add STM32F4 support

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:40PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot, V2, 1/2] gunzip: add gzwrite routine for extracting compresed images to block device

2015-04-23 Thread Tom Rini
On Tue, Feb 17, 2015 at 11:30:30AM -0700, Eric Nelson wrote: > Initial filesystem images are generally highly compressible. > > Add a routine gzwrite that allows gzip-compressed images to be > written to block devices. > > Signed-off-by: Eric Nelson > Reviewed-by: Tom Rini Applied to u-boot/m

Re: [U-Boot] [U-Boot, 2/2] unzip: add gzwrite command to write compressed image to block device

2015-04-23 Thread Tom Rini
On Sun, Feb 15, 2015 at 04:16:07PM -0700, Eric Nelson wrote: > Add gzwrite command to write gzip-compressed images to block devices. > > Input must be gzip-compressed according to RFC1952, since the crc > and file size in the trailer will be confirmed during operation. > The decompressed file siz

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 06:08:43PM +0530, maitysancha...@gmail.com wrote: > Hello, > > On 15-04-15 16:24:21, Sanchayan Maity wrote: > > Hello, > > > > This is the third version of the patchset which adds support for the > > Toradex Colibri Vybrid VF50 and VF61 modules. Boot up has been tested > >

Re: [U-Boot] [PATCH] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Heiko Schocher
Hello Jagan, Am 23.04.2015 15:06, schrieb Jagan Teki: On 23 April 2015 at 18:28, Heiko Schocher wrote: Hello Jagan, Am 22.04.2015 13:03, schrieb Jagan Teki: On 23 December 2014 at 13:45, Jagan Teki wrote: Hi Heiko, On 23 December 2014 at 12:04, Heiko Schocher wrote: Hello Jagan, Am

  1   2   >