[U-Boot] [PATCH v3 3/8] pxa27x_udc: remove call to unimplemented set_GPIO_mode()

2013-04-12 Thread Mike Dunn
If CONFIG_USB_DEV_PULLUP_GPIO is defined, a link error occurs because the set_GPIO_mode() helper function is not implemented. This function doesn't do much except make the code a little more readable, so I just manually coded its equivalent and removed the prototype from the header file. It is

[U-Boot] [PATCH v3 2/8] pxa_lcd: make lcd_enable() a weak pointer

2013-04-12 Thread Mike Dunn
Make lcd_init() a weak pointer so that boards can overload it if necessary. The palmtreo680 board needs to wiggle some gpios and configure the pwm controller in order to get the lcd and its backlight working. Signed-off-by: Mike Dunn miked...@newsguy.com --- Changelog: v3: no change v2: - use

[U-Boot] [PATCH 5/8] lib: import bitrev library from the linux kernel

2013-04-12 Thread Mike Dunn
This patch adds the bitrev library from the linux kernel. This is a simple algorithm that uses an 8 bit look-up table to reverse the bits in data types of 8, 16, or 32 bit widths. The docg4 nand flash driver uses it. [port from linux kernel v3.9 commit 7ee32a6d30d1c8a3b7a07a6269da8f0a08662927]

[U-Boot] [PATCH v3 4/8] arm: bootm: call udc_disable() before booting linux

2013-04-12 Thread Mike Dunn
On the pxa270, if the udc device is not disabled before jumping to linux, the device fails to initialize in linux because it was left in a running state, and the linux driver assumes that it is in a disabled state. Signed-off-by: Mike Dunn miked...@newsguy.com --- Changelog: v3: no change v2:

[U-Boot] [PATCH v3 8/8] palmtreo680: add utility that writes u-boot to flash

2013-04-12 Thread Mike Dunn
This adds a userspace linux utility that writes the u-boot image to an mtd partition on the docg4 nand flash. A special utility is required to do this because u-boot is partially loaded by an initial program loader (IPL) that is permanently programmed to the boot region of the flash. This IPL

[U-Boot] [PATCH v3 6/8] mtd: nand: add driver for diskonchip g4 nand flash

2013-04-12 Thread Mike Dunn
This patch adds a driver for the diskonchip G4 nand flash device. It is based on the driver from the linux kernel. This also includes a separate SPL driver. A separate SPL driver is used because the device operates in a different mode (reliable mode) when loading a boot image, and also because

[U-Boot] [PATCH v3 7/8] add support for palm treo 680 board

2013-04-12 Thread Mike Dunn
A quick overview of u-boot implementation on the treo 680... The treo 680 has a Diskonchip G4 nand flash chip. This device has a 2k region that maps to the system bus at the reset vector in a NOR-like fashion so that it can be used as the boot device. The phone is shipped with this 2k region

Re: [U-Boot] [PATCH v3 6/8] mtd: nand: add driver for diskonchip g4 nand flash

2013-04-12 Thread Scott Wood
On 04/12/2013 01:59:18 PM, Mike Dunn wrote: This patch adds a driver for the diskonchip G4 nand flash device. It is based on the driver from the linux kernel. This also includes a separate SPL driver. A separate SPL driver is used because the device operates in a different mode (reliable

Re: [U-Boot] fatwrite problem

2013-04-12 Thread Benoît Thébaudeau
Hi Tom, Ruud, Mats, On Friday, April 12, 2013 5:12:31 PM, Tom Rini wrote: On Fri, Apr 12, 2013 at 05:06:35PM +0200, Ruud Commandeur wrote: Hi Mats, Thanks a lot, this seems to solve my problem. Nothing more actualy than adding a if(size) around the code block of set_sector( ). I could

Re: [U-Boot] How do I use AM335x eth1 rather than eth0 ?

2013-04-12 Thread Mark Jackson
On 12/04/13 17:05, Tom Rini wrote: On Fri, Apr 12, 2013 at 11:56:57AM +0100, Mark Jackson wrote: We have a dual Ethernet board (based on the BeagelBone) but with both Ethernet ports connected. I'm wanting to use eth1 (rather than eth0), so in my board.c file, I changed:- snip ...

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-04-12 Thread Simon Glass
Hi Tom / Jerry, On Mon, Mar 11, 2013 at 9:30 AM, Simon Glass s...@chromium.org wrote: When building host utilities, we include libfdt.h from the host, not from U-Boot. This in turn brings in libfdt_env.h from the host, which can mess up the types and cause a build failure, depending on the

Re: [U-Boot] [PATCH] integrator: enable device tree

2013-04-12 Thread Albert ARIBAUD
Hi Linus, On Thu, 4 Apr 2013 07:19:20 +0200, Linus Walleij linus.wall...@linaro.org wrote: This enables the device tree library on the Integrator platforms so we can pass a device tree when booting. Signed-off-by: Linus Walleij linus.wall...@linaro.org ---

Re: [U-Boot] fatwrite problem

2013-04-12 Thread Tom Rini
On Fri, Apr 12, 2013 at 09:39:19PM +0200, Beno??t Th??baudeau wrote: Hi Tom, Ruud, Mats, On Friday, April 12, 2013 5:12:31 PM, Tom Rini wrote: On Fri, Apr 12, 2013 at 05:06:35PM +0200, Ruud Commandeur wrote: Hi Mats, Thanks a lot, this seems to solve my problem. Nothing more

[U-Boot] [PATCH v2 1/3] tpm: Add casts for proper compilation

2013-04-12 Thread Simon Glass
From: Taylor Hutt th...@chromium.org When building for the Sandbox version, the casts in this change are necessary to avoid compilation issues. Signed-off-by: Taylor Hutt th...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass s...@chromium.org --- Changes in v2:

[U-Boot] [PATCH v2 2/3] tpm: Add Infineon slb9635_i2c TPM driver

2013-04-12 Thread Simon Glass
From: Rong Chang rongch...@chromium.org Add a driver for the I2C TPM from Infineon. Signed-off-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Rong Chang rongch...@chromium.org Signed-off-by: Tom Wai-Hong Tam waih...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- Changes

[U-Boot] [PATCH v2 3/3] exynos: Enable I2C TPM for smdk5250

2013-04-12 Thread Simon Glass
This is used on some Exynos 5250 variants. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Move CONFIG change to exynos5-dt.h include/configs/exynos5250-dt.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/exynos5250-dt.h

[U-Boot] Please pull u-boot-ti/master

2013-04-12 Thread Tom Rini
Hello, The following changes since commit 90639feaa0d66a204f9d03a325ab14e2f97f6cbb: arm/km: add support for kmsuv31 board (2013-04-12 21:42:22 +0530) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to

[U-Boot] [PATCH 1/5] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2013-04-12 Thread Simon Glass
From: Che-liang Chiou clch...@chromium.org The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Peter Huewe peter.hu...@infineon.com Signed-off-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Acked-by: Mike Frysinger

[U-Boot] [PATCH 2/5] x86: config: Reflect the name changes of LPC TPM configs

2013-04-12 Thread Simon Glass
From: Tom Wai-Hong Tam waih...@chromium.org The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Tom Wai-Hong Tam waih...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass s...@chromium.org --- include/configs/coreboot.h | 3 ++-

[U-Boot] [PATCH 5/5] exynos: config: Reflect the name changes of I2C TPM configs

2013-04-12 Thread Simon Glass
From: Tom Wai-Hong Tam waih...@chromium.org The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Tom Wai-Hong Tam waih...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass s...@chromium.org --- include/configs/exynos5250-dt.h | 6

[U-Boot] [PATCH 3/5] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-04-12 Thread Simon Glass
From: Vincent Palatin vpala...@chromium.org Add support for Infineon's new SLB 9645 TT 1.2 I2C TPMs, which supports clockstretching, combined reads and a bus speed of up to 400khz. The device also has a new device id. This is based on the kernel patch provided by Infineon :

[U-Boot] [PATCH 4/5] tpm: Reorganize the I2C TPM driver

2013-04-12 Thread Simon Glass
From: Tom Wai-Hong Tam waih...@chromium.org This patch does a similar code reogranzation from http://patchwork.ozlabs.org/patch/132179/ which is based on an old version of code (fdt support and bus selection still not in). It merges this tidy-up on top of the recent code. It does not make any

[U-Boot] Pending TPM patches for release

2013-04-12 Thread Simon Glass
Hi Tom, I think there are only 5 patches pending for this release, of which one is probably better delayed until we have another config change to go with it. I have pulled these in and build-tested. So please see below for a pull request based on current mainline. Regards, Simon The

Re: [U-Boot] fatwrite problem

2013-04-12 Thread Benoît Thébaudeau
Hi Tom, On Friday, April 12, 2013 10:42:34 PM, Tom Rini wrote: On Fri, Apr 12, 2013 at 09:39:19PM +0200, Beno??t Th??baudeau wrote: Hi Tom, Ruud, Mats, On Friday, April 12, 2013 5:12:31 PM, Tom Rini wrote: On Fri, Apr 12, 2013 at 05:06:35PM +0200, Ruud Commandeur wrote: Hi Mats,

[U-Boot] [PATCH] Tegra: T30: Beaver board support.

2013-04-12 Thread Tom Warren
Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be. Signed-off-by: Tom Warren twar...@nvidia.com --- board/nvidia/beaver/Makefile| 38 + board/nvidia/dts/tegra30-beaver.dts | 66

[U-Boot] [PATCH v2] Tegra: T30: Beaver board support.

2013-04-12 Thread Tom Warren
Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be. Signed-off-by: Tom Warren twar...@nvidia.com --- v2: Add MAINTAINERS and beaver.h config file MAINTAINERS | 1 +

Re: [U-Boot] [PATCH] Tegra: T30: Beaver board support.

2013-04-12 Thread Tom Rini
On Fri, Apr 12, 2013 at 03:30:39PM -0700, Tom Warren wrote: Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be. Signed-off-by: Tom Warren twar...@nvidia.com --- board/nvidia/beaver/Makefile| 38

Re: [U-Boot] [PATCH] Tegra: T30: Beaver board support.

2013-04-12 Thread Stephen Warren
On 04/12/2013 04:35 PM, Tom Rini wrote: On Fri, Apr 12, 2013 at 03:30:39PM -0700, Tom Warren wrote: Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be. Signed-off-by: Tom Warren twar...@nvidia.com ---

Re: [U-Boot] [PATCH] Tegra: T30: Beaver board support.

2013-04-12 Thread Tom Warren
On Fri, Apr 12, 2013 at 3:35 PM, Tom Rini tr...@ti.com wrote: On Fri, Apr 12, 2013 at 03:30:39PM -0700, Tom Warren wrote: Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin to be differentiated, if need be. Signed-off-by: Tom Warren

Re: [U-Boot] [PATCH] Tegra: T30: Beaver board support.

2013-04-12 Thread Tom Rini
On Fri, Apr 12, 2013 at 03:40:43PM -0700, Tom Warren wrote: On Fri, Apr 12, 2013 at 3:35 PM, Tom Rini tr...@ti.com wrote: On Fri, Apr 12, 2013 at 03:30:39PM -0700, Tom Warren wrote: Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu. Add a Beaver build so it can begin

Re: [U-Boot] [PATCH v4] i2c: s3c24xx: add hsi2c controller support

2013-04-12 Thread Naveen Krishna Ch
On 6 April 2013 07:07, Naveen Krishna Chatradhi naveenkrishna...@gmail.com wrote: Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna

Re: [U-Boot] [PATCH 1/2] power: exynos-tmu: fix warnings and clean up code

2013-04-12 Thread Naveen Krishna Ch
On 6 April 2013 03:51, Naveen Krishna Chatradhi naveenkrishna...@gmail.com wrote: From: Naveen Krishna Chatradhi ch.nav...@samsung.com This patch does the folowing 1. change the data types for unsigned int variable to unsigned 2. change the tmu_base type to struct exynos5_tmu_reg * 3. Add

<    1   2