[U-Boot] [PATCH] net/fm: update ft_fixup_port to differentiate dual-role mac

2014-12-03 Thread Shengzhou Liu
we need to differentiate dual-role MACs into two types: MACs with 10GEC enumeration consistent with DTSEC enumeration(defined by CONFIG_FSL_FM_10GEC_REGULAR_NOTATION) and other MACs without CONFIG_FSL_FM_10GEC_REGULAR_NOTATION defined. Signed-off-by: Shengzhou Liu shengzhou@freescale.com ---

[U-Boot] [PATCH] kconfig: ls102xa: Change the prompt messages

2014-12-03 Thread Alison Wang
As NOR/NAND/SD boot are all supported on LS1021AQDS/TWR boards, the prompt message Support ls1021aqds_nor in Kconfig is not clear. This patch changes it to Support ls1021aqds. Signed-off-by: Alison Wang alison.w...@freescale.com --- arch/arm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH 1/2] x86: move arch-specific asmlinkage to asm/linkage.h

2014-12-03 Thread Masahiro Yamada
Commit 65dd74a674d6 (x86: ivybridge: Implement SDRAM init) introduced x86-specific asmlinkage into arch/x86/include/asm/config.h. Commit ed0a2fbf14f7 (x86: Add a definition of asmlinkage) added the same macro define again, this time, into include/common.h. (Please do not add arch-specific stuff

[U-Boot] [PATCH 0/2] Consolidate asmlinkage defines

2014-12-03 Thread Masahiro Yamada
include/common.h is horribly dirty. It looks like people tend to put things to include/common.h without much thought. When you add something to include/common.h, I think you should consider if you are doing the right thing. Masahiro Yamada (2): x86: move arch-specific asmlinkage to

[U-Boot] [PATCH 2/2] ARM: remove redundant asmlinkage define

2014-12-03 Thread Masahiro Yamada
Use asmlinkage defined in include/linux/linkage.h if necessary. Actually no ARM board uses asmlinkage, so this commit has no impact. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Albert ARIBAUD albert.u.b...@aribaud.net --- include/common.h | 3 --- 1 file changed, 3 deletions(-)

[U-Boot] [PATCH 2/2] mmc: sh_mmcif: Change maximum and minimum value of MMC clock

2014-12-03 Thread Nobuhiro Iwamatsu
Maximum value and the minimum value of clock for sh_mmcif instead by base of MMC clock. This removes fixed clock, make the changes to be calculated according to environment. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/mmc/sh_mmcif.c | 5 +++--

[U-Boot] [PATCH 1/2] mmc: sh_mmcif: Use DIV_ROUND_UP and fls instead of calculation loop

2014-12-03 Thread Nobuhiro Iwamatsu
Use DIV_ROUND_UP and fls to simplify the code. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/mmc/sh_mmcif.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index ed83a14..8f386e2

[U-Boot] [PATCH] mmc: sh_mmcif: Add support rmobile

2014-12-03 Thread Nobuhiro Iwamatsu
Renesas R-Mobile/R-Car ARM SoC of MMC has the same IP that are supported by sh_mmcif. This adds support R-Mobile/R-Car ARM SoC with the setting of the clock support. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/mmc/sh_mmcif.c | 2 +- drivers/mmc/sh_mmcif.h | 7

Re: [U-Boot] [PATCH v10 4/4] Odroid-XU3: Add entry for DTS EHCI GPIO

2014-12-03 Thread Sjoerd Simons
+ajaykumar On Tue, 2014-12-02 at 10:25 -0700, Simon Glass wrote: Hi, On 2 December 2014 at 00:07, Hyungwon Hwang human.hw...@samsung.com wrote: From: Sjoerd Simons sjoerd.sim...@collabora.co.uk Add samsung,vbus-gpio information for the XU3. This allows the usage of the EHCI controller

[U-Boot] [PATCH 0/6] ARM: atmel: enable usb ethernet gadget

2014-12-03 Thread Bo Shen
This patch set enable the usb ethernet on SAMA5D4 base boards, including sama5d4ek and sama5d4_xplained board. Bo Shen (6): ARM: atmel: sama5d4: add usb platform data ARM: atmel: sama5d4: add usb device initial code ARM: atmel: sama5d4ek: add option for usb ethernet gadget ARM: atmel:

[U-Boot] [PATCH 1/6] ARM: atmel: sama5d4: add usb platform data

2014-12-03 Thread Bo Shen
The SAMA5D4 has the same usb platform data with SAMA5D3 SoC. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/atmel_usba_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/atmel_usba_udc.h

[U-Boot] [PATCH 4/6] ARM: atmel: sama5d4ek: enable usb ethernet gadget

2014-12-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d4ek.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h index cbdb3a2..09ab4d7 100644 --- a/include/configs/sama5d4ek.h +++ b/include/configs/sama5d4ek.h @@

[U-Boot] [PATCH 2/6] ARM: atmel: sama5d4: add usb device initial code

2014-12-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d4_devices.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c b/arch/arm/cpu/armv7/at91/sama5d4_devices.c index 2708097..7469825 100644 ---

[U-Boot] [PATCH 6/6] ARM: atmel: sama5d4_xplained: enable usb ethernet gadget

2014-12-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d4_xplained.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h index 104edef..996973d 100644 --- a/include/configs/sama5d4_xplained.h +++

[U-Boot] [PATCH 3/6] ARM: atmel: sama5d4ek: add option for usb ethernet gadget

2014-12-03 Thread Bo Shen
Add the option for USB Ethernet gadget based on atmel usb device. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d4ek/sama5d4ek.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c index

[U-Boot] [PATCH 5/6] ARM: atmel: sama5d4_xplained: add option for usb ethernet gadget

2014-12-03 Thread Bo Shen
Add the option for USB Ethernet gadget based on atmel usb device. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c

[U-Boot] [PATCH][v2] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for P5040DS

2014-12-03 Thread Gaurav Rana
Secure boot target is added for P5040DS platform. Signed-off-by: Gaurav Rana gaurav.r...@freescale.com --- board/freescale/corenet_ds/MAINTAINERS | 1 + configs/P5040DS_SECURE_BOOT_defconfig | 4 2 files changed, 5 insertions(+) create mode 100644 configs/P5040DS_SECURE_BOOT_defconfig

Re: [U-Boot] [PATCH v9 1/2] Odroid-XU3: Add support for Odroid-XU3

2014-12-03 Thread Sjoerd Simons
Hey Jaehoon, On Fri, 2014-11-28 at 17:54 +0900, Jaehoon Chung wrote: On 11/28/2014 11:13 AM, Hyungwon Hwang wrote: On Thu, 27 Nov 2014 22:45:18 +0100 Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: On Thu, 2014-11-27 at 22:21 +0900, Hyungwon Hwang wrote: This patch adds support for

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Przemyslaw Marczak
Hello all, On 12/02/2014 08:07 AM, Hyungwon Hwang wrote: This is v10 of the patchset adding support Odroud XU3 board. link to the previous version: v2: https://www.mail-archive.com/u-boot@lists.denx.de/msg152275.html v3: https://www.mail-archive.com/u-boot%40lists.denx.de/msg152677.html v4:

[U-Boot] [PATCH] tools/kwbimage.c: fix build on m68k

2014-12-03 Thread Angelo Dureghello
Compiler still complains about headersz possible uninitialized, even after last change (switch used). CROSS_COMPILE=/opt/toolchains/m68k/gcc-4.6.3-nolibc/m68k-linux/ bin/m68k-linux- ./MAKEALL -a m68k boards.cfg is up to date. Nothing to do. Building M52277EVB board... textdata bss

Re: [U-Boot] [PATCH] tools/kwbimage.c: fix build on m68k

2014-12-03 Thread Lukasz Majewski
Hi Angelo, Compiler still complains about headersz possible uninitialized, even after last change (switch used). CROSS_COMPILE=/opt/toolchains/m68k/gcc-4.6.3-nolibc/m68k-linux/ bin/m68k-linux- ./MAKEALL -a m68k boards.cfg is up to date. Nothing to do. Building M52277EVB board... text

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Masahiro Yamada
Hi Simon, A little more comments from me. On Mon, 24 Nov 2014 11:57:15 -0700 Simon Glass s...@chromium.org wrote: +int i2c_set_bus_speed(struct udevice *bus, unsigned int speed) +{ + struct dm_i2c_ops *ops = i2c_get_ops(bus); + struct dm_i2c_bus *i2c = bus-uclass_priv; +

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

2014-12-03 Thread Masahiro Yamada
Hi Simon, Another comment for this patch. On Mon, 24 Nov 2014 11:57:24 -0700 Simon Glass s...@chromium.org wrote: -/* Probe to see if a chip is present. */ -static int tegra_i2c_probe(struct i2c_adapter *adap, uchar chip) +static int tegra_i2c_set_offset_len(struct udevice *dev, const uint

Re: [U-Boot] Problem converting da850evm to generic board and use libfdt

2014-12-03 Thread Simon Glass
Hi Peter, On 2 December 2014 at 14:59, Peter Howard p...@northern-ridge.com.au wrote: I'm trying to make two changes to building u-boot for the da850evm. * Use the generic board code to get rid of the warning, and * Enable libfdt to allow booting of linux with a standalone dtb

Re: [U-Boot] [PATCH v3] Export redesign

2014-12-03 Thread Simon Glass
Hi Martin, On 1 December 2014 at 00:16, Martin Dorwig dor...@tetronik.com wrote: this is an atempt to make the export of functions typesafe. I replaced the jumptable void ** by a struct (jt_funcs) with function pointers. The EXPORT_FUNC macro now has 3 fixed parameters and one variadic

Re: [U-Boot] [PATCH] tools/kwbimage.c: fix build on m68k

2014-12-03 Thread Angelo Dureghello
Dear Lukasz, Hi Angelo, You aren't the first person who attempted to fix this. i read the history of the fixes done on this file before posting, and seen the issue was solved using a switch / case approach. I was testing yesterday the kernel.org x86 toolchain for m68k, (m68k/gcc-4.6.3-nolibc)

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Pavel Machek
Hi! Altera Arria10 SOCFPGA Pin Configuration Bindings This document describes device tree bindings required to perform configuration of the pins for an Altera Arria10 SOCFPGA . The bindings are intended to be compact and easy to be consumed only by a SPL running in a small on-chip ram

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Simon Glass
Hi Masahiro, On 1 December 2014 at 04:47, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, My review is still under way, but I have some comments below: Thanks again for the comments, will tidy up a few other things too before sending v4. On Mon, 24 Nov 2014 11:57:15 -0700

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 06:24, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, A little more comments from me. On Mon, 24 Nov 2014 11:57:15 -0700 Simon Glass s...@chromium.org wrote: +int i2c_set_bus_speed(struct udevice *bus, unsigned int speed) +{ +

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

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 06:30, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, Another comment for this patch. On Mon, 24 Nov 2014 11:57:24 -0700 Simon Glass s...@chromium.org wrote: -/* Probe to see if a chip is present. */ -static int tegra_i2c_probe(struct

[U-Boot] exynos: snow: external SD/MMC broken

2014-12-03 Thread Guillaume Gardet
Hi, while trying latest u-boot GIT on snow (Google Chromebook ARM), I encountered some problems with external SD card. I cannot access to external SD card ('mmc dev 1' just returns 'Card did not respond to voltage select!' and then 'Timeout') whereas I have access to internal eMMC (with 'mmc

Re: [U-Boot] [PATCH v3 08/10] dm: Add a simple EEPROM driver

2014-12-03 Thread Simon Glass
Hi Masahiro, On 1 December 2014 at 04:48, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon, 24 Nov 2014 11:57:22 -0700 Simon Glass s...@chromium.org wrote: --- /dev/null +++ b/drivers/misc/i2c_eeprom.c @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2014 Google, Inc + * +

Re: [U-Boot] Attached DTB no longer supported u-boot.imx?

2014-12-03 Thread Bill Pringlemeir
On Fri, Nov 28, 2014 at 06:56:32PM -0500, Bill Pringlemeir wrote: Sorry, both trees behave the same. I will switch to separate binaries. On 28 Nov 2014, tr...@ti.com wrote: This is not intentional. I suspect I know what commit did this. Can you please do a git bisect from v2015.01-rc1

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-12-03 Thread Bill Pringlemeir
I tested these changes on several compilers and binutils. 4.3.3, 4.6.3, 4.7.2, 4.8.2 and 4.9.2 gcc with binutils 2.19, 2.21-24 in both THUMB and ARM on the Vybrid. It seem we must have an image = 224kB which is the IRAM bank0 size - 0x8000 of u-boot base; u-boot since v2014.04 will not boot for

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

2014-12-03 Thread Masahiro YAMADA
Hi Simon, 2014-12-04 0:23 GMT+09:00 Simon Glass s...@chromium.org: -/* Probe to see if a chip is present. */ -static int tegra_i2c_probe(struct i2c_adapter *adap, uchar chip) +static int tegra_i2c_set_offset_len(struct udevice *dev, const uint olen) { - struct i2c_bus *bus; - int

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Masahiro YAMADA
Hi Simon, 2014-12-04 0:13 GMT+09:00 Simon Glass s...@chromium.org: If each driver does not have .set_bus_speed handler, we cannot change the bus speed because changing the bus speed involves some hardware register(s) setting. We should not change i2c-speed_hz without changing the actual

Re: [U-Boot] [PATCH v3 08/10] dm: Add a simple EEPROM driver

2014-12-03 Thread Masahiro YAMADA
Hi Simon, 2014-12-04 0:18 GMT+09:00 Simon Glass s...@chromium.org: Moreover, can we read data from EEPROM without knowing if its parent is I2C bus or SPI bus ? My rough image is like this: int eeprom_read(struct udevice *dev, int offset, uint8_t buf, int size) { struct udevice

Re: [U-Boot] [PATCH v3 0/10] dm: Add I2C support and convert sandbox, tegra

2014-12-03 Thread Przemyslaw Marczak
Hello all, On 11/24/2014 07:57 PM, Simon Glass wrote: This series adds I2C support to driver model. It has become apparent that this is a high priority as it is widely used. It follows along to some extent from the SPI conversion. Several changes are made from the original I2C

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Suriyan Ramasami
Hello all, On Wed, Dec 3, 2014 at 4:46 AM, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello all, On 12/02/2014 08:07 AM, Hyungwon Hwang wrote: This is v10 of the patchset adding support Odroud XU3 board. link to the previous version: v2:

Re: [U-Boot] [PATCH v3 08/10] dm: Add a simple EEPROM driver

2014-12-03 Thread Przemyslaw Marczak
Hello, On 12/03/2014 04:18 PM, Simon Glass wrote: Hi Masahiro, On 1 December 2014 at 04:48, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon, 24 Nov 2014 11:57:22 -0700 Simon Glass s...@chromium.org wrote: --- /dev/null +++ b/drivers/misc/i2c_eeprom.c @@ -0,0 +1,51 @@

Re: [U-Boot] [Driver Model] post_bind() and pre_unbind() handler

2014-12-03 Thread Masahiro YAMADA
Hi Simon, 2014-12-03 2:47 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 1 December 2014 at 22:31, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, I have a question about handlers of struct uclass_driver. When binding a device, uc-uc_drv-post_bind() is called

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Simon Glass
Hi, On 3 December 2014 at 05:46, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello all, On 12/02/2014 08:07 AM, Hyungwon Hwang wrote: This is v10 of the patchset adding support Odroud XU3 board. link to the previous version: v2:

Re: [U-Boot] Building fw_env tools seems broken

2014-12-03 Thread Denys Dmytriyenko
On Wed, Dec 03, 2014 at 10:28:11AM +0900, Masahiro Yamada wrote: Hi Denys, Sorry, I missed your mail. On Tue, 2 Dec 2014 13:09:11 -0500 Denys Dmytriyenko de...@ti.com wrote: Ping on this one. I tried few different defconfigs - the results are mixed, where sandbox and some

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

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 08:52, Masahiro YAMADA yamad...@jp.panasonic.com wrote: Hi Simon, 2014-12-04 0:23 GMT+09:00 Simon Glass s...@chromium.org: -/* Probe to see if a chip is present. */ -static int tegra_i2c_probe(struct i2c_adapter *adap, uchar chip) +static int

Re: [U-Boot] [Driver Model] post_bind() and pre_unbind() handler

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 09:25, Masahiro YAMADA yamad...@jp.panasonic.com wrote: Hi Simon, 2014-12-03 2:47 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 1 December 2014 at 22:31, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, I have a question about

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-12-03 Thread Stefan Agner
On 2014-12-03 16:44, Bill Pringlemeir wrote: I tested these changes on several compilers and binutils. 4.3.3, 4.6.3, 4.7.2, 4.8.2 and 4.9.2 gcc with binutils 2.19, 2.21-24 in both THUMB and ARM on the Vybrid. It seem we must have an image = 224kB which is the IRAM bank0 size - 0x8000 of

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Przemyslaw Marczak
Hello, On 12/03/2014 05:28 PM, Simon Glass wrote: Hi, On 3 December 2014 at 05:46, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello all, On 12/02/2014 08:07 AM, Hyungwon Hwang wrote: This is v10 of the patchset adding support Odroud XU3 board. link to the previous version: v2:

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Simon Glass
On 3 December 2014 at 09:08, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 12/03/2014 05:28 PM, Simon Glass wrote: Hi, On 3 December 2014 at 05:46, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello all, On 12/02/2014 08:07 AM, Hyungwon Hwang wrote: This is v10 of

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Simon Glass
Hi, On 3 December 2014 at 06:48, Pavel Machek pa...@ucw.cz wrote: Hi! Altera Arria10 SOCFPGA Pin Configuration Bindings This document describes device tree bindings required to perform configuration of the pins for an Altera Arria10 SOCFPGA . The bindings are intended to be compact and

Re: [U-Boot] [PATCH 0/8] PSCI v0.2 framework for ARMv8

2014-12-03 Thread Mark Rutland
On Wed, Nov 26, 2014 at 12:52:11PM +, Jan Kiszka wrote: On 2014-08-27 22:29, Arnab Basu wrote: This series of patches creates a generic PSCI v0.2 framework for ARMv8. The first 3 patches refactor existing code so that ARMv7 PSCI, ARMv8 spin-table and ARMv8 PSCI can coexist. The

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Dinh Nguyen
+CC: Matthew Gerlach Not sure why the original submitter was left on this response. On 12/3/14, 11:36 AM, Simon Glass wrote: Hi, On 3 December 2014 at 06:48, Pavel Machek pa...@ucw.cz wrote: Hi! Altera Arria10 SOCFPGA Pin Configuration Bindings This document describes device tree

Re: [U-Boot] [PATCH v1] tools/kwboot: Allow just -t to function

2014-12-03 Thread Suriyan Ramasami
Just a gentle ping to see if this can be commented on/Acked/Merged ? Thanks - Suiryan On Tue, Nov 25, 2014 at 1:59 PM, Suriyan Ramasami suriya...@gmail.com wrote: When kwboot is invoked with -t tty the code implicitly assumes that one of -b (boot message) or -d (debug message) with an image

Re: [U-Boot] image-fdt: boot_get_fdt() return value when no DTB exists

2014-12-03 Thread Tom Rini
On Wed, Oct 22, 2014 at 05:17:49PM +0300, Noam Camus wrote: From: Noam Camus no...@ezchip.com I believe that when no DTB is around we should return 1. This why I fixed such scenarious to not return zero anymore. Else kernel might get NULL pointer to DTB which doesn't exists.

Re: [U-Boot] Attached DTB no longer supported u-boot.imx?

2014-12-03 Thread Tom Rini
On Wed, Dec 03, 2014 at 10:43:59AM -0500, Bill Pringlemeir wrote: On Fri, Nov 28, 2014 at 06:56:32PM -0500, Bill Pringlemeir wrote: Sorry, both trees behave the same. I will switch to separate binaries. On 28 Nov 2014, tr...@ti.com wrote: This is not intentional. I suspect I

[U-Boot] [PATCH 2/2] arm: vf610: Initial load to 1/2MB OC gfxRAM.

2014-12-03 Thread Bill Pringlemeir
The gfxRAM has no ECC, but it is 512KB in size. The other ECC SRAM comes in two banks of 256K each. The HAB uses parts of the 2nd bank and it seems that loading from the SD card may not exceed a bank size (256k-32k boot offset = 224k). U-boot since v2014.04 are larger than this and do not boot

[U-Boot] [PATCH 1/2] arm: vf610: Remove duplicate MTD defines.

2014-12-03 Thread Bill Pringlemeir
Some MTD defines are repeated twice; once with UBI and then with MTD. Remove the duplicate MTD defines from the UBI grouping. Signed-off-by: Bill Pringlemeir bpringlem...@nbsps.com --- include/configs/vf610twr.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/vf610twr.h

[U-Boot] [PATCH 0/2] arm: vf610: Change Vybrid Tower boot memory.

2014-12-03 Thread Bill Pringlemeir
Without the second patch, U-Boot will not boot on the Vybrid tower systems for me. A better mechanism would be to use the SPL to load direct to DDR3. However, the gfxRAM is large enough to fit the current (~400KB) image for initial load. U-Boot is relocated to DDR3 when initialized, so the

[U-Boot] [PATCH 1/1] ARM: kirkwood: mvebu_mmc: Speed up access time

2014-12-03 Thread Gérald KERMA
Review delays and timeouts. Get around 20 x faster access on Sheevaplug tests. Signed-off-by: Gérald KERMA drea...@doukki.net --- drivers/mmc/mvebu_mmc.c | 67 ++--- 1 file changed, 41 insertions(+), 26 deletions(-) diff --git

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Simon Glass
Hi, On 3 December 2014 at 09:49, Matthew Gerlach mgerl...@opensource.altera.com wrote: Hi, From: s...@google.com s...@google.com on behalf of Simon Glass s...@chromium.org Sent: Wednesday, December 3, 2014 9:36 AM To: Pavel Machek Cc: Matthew

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Matthew Gerlach
Hi, From: s...@google.com s...@google.com on behalf of Simon Glass s...@chromium.org Sent: Wednesday, December 3, 2014 9:36 AM To: Pavel Machek Cc: Matthew Gerlach; u-boot@lists.denx.de Subject: Re: [U-Boot] RFC Pin Configuration Device Tree Bindings

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Pavel Machek
Hi! altr,pinmux-regs = 0xF 0xF 0xF 0xF 0xF 0xF 0xF 0xF 0xF 0xF reg = 0xffd07300 0x0048; altr,pinmux-regs = 0x0 0x51010 0x51010 0x51010 0x40605 0x40605 0x00605 0x40605 0x40605 0x40605 0x10605 0x51010 0x51010 0x51010

[U-Boot] [PATCH v4] mpc85xx: inhibit bman portals by default

2014-12-03 Thread Jeffrey Ladouceur
Not all portals might be managed and therefore visible. Set the isdr register so that the corresponding isr register won't be set. This is needed for deepsleep. Signed-off-by: Jeffrey Ladouceur jeffrey.ladouc...@freescale.com --- The following dependent patches should be applied first:

Re: [U-Boot] Problem converting da850evm to generic board and use libfdt

2014-12-03 Thread Peter Howard
On Wed, 2014-12-03 at 06:38 -0700, Simon Glass wrote: Hi Peter, On 2 December 2014 at 14:59, Peter Howard p...@northern-ridge.com.au wrote: I'm trying to make two changes to building u-boot for the da850evm. * Use the generic board code to get rid of the warning, and *

Re: [U-Boot] Problem converting da850evm to generic board and use libfdt

2014-12-03 Thread Simon Glass
Hi Peter, On 3 December 2014 at 13:53, Peter Howard p...@northern-ridge.com.au wrote: On Wed, 2014-12-03 at 06:38 -0700, Simon Glass wrote: Hi Peter, On 2 December 2014 at 14:59, Peter Howard p...@northern-ridge.com.au wrote: I'm trying to make two changes to building u-boot for the

[U-Boot] [PATCH] powerpc/T10xx: Fix number of portals

2014-12-03 Thread Jeffrey Ladouceur
Following boards has incorrect number of portals defined. powerpc/T102xQDS powerpc/T102xRDB powerpc/T1040QDS powerpc/T104xRDB Signed-off-by: Jeffrey Ladouceur jeffrey.ladouc...@freescale.com --- include/configs/T102xQDS.h |4 ++-- include/configs/T102xRDB.h |4 ++--

Re: [U-Boot] exynos: snow: external SD/MMC broken

2014-12-03 Thread Minkyu Kang
+ Jaehoon Chung On 04/12/14 00:23, Guillaume Gardet wrote: Hi, while trying latest u-boot GIT on snow (Google Chromebook ARM), I encountered some problems with external SD card. I cannot access to external SD card ('mmc dev 1' just returns 'Card did not respond to voltage select!' and

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Inha Song
Hi All, In Tizen mainline u-boot, CONFIG_ENV_OFFSET have already been fixed to SZ_1K * 3136 from SZ_1K * 1280. It looks good to change CONFIG_ENV_OFFSET also in u-boot mainline to use the same offset with Tizen u-boot. How about your opinion? Best Regards, Inha Song. 2014년 12월 04일 01:15,

Re: [U-Boot] [PATCH v3 0/10] dm: Add I2C support and convert sandbox, tegra

2014-12-03 Thread Simon Glass
Hi Przemyslaw, On 3 December 2014 at 09:13, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello all, On 11/24/2014 07:57 PM, Simon Glass wrote: This series adds I2C support to driver model. It has become apparent that this is a high priority as it is widely used. It follows along to

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Masahiro Yamada
Hi Simon, More comments again. On Mon, 24 Nov 2014 11:57:15 -0700 + +static int i2c_probe_chip(struct udevice *bus, uint chip_addr) +{ + struct dm_i2c_ops *ops = i2c_get_ops(bus); + struct i2c_msg msg[1]; + uint8_t ch = 0; + + if (!ops-xfer) + return

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 19:01, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, More comments again. On Mon, 24 Nov 2014 11:57:15 -0700 + +static int i2c_probe_chip(struct udevice *bus, uint chip_addr) +{ + struct dm_i2c_ops *ops = i2c_get_ops(bus); +

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 19:01, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, More comments again. On Mon, 24 Nov 2014 11:57:15 -0700 + +static int i2c_probe_chip(struct udevice *bus, uint chip_addr) +{ + struct dm_i2c_ops *ops = i2c_get_ops(bus); +

Re: [U-Boot] [PATCH] net: bootp: as CONFIG_BOOTP_SERVERIP is defined, keep bootfile not changed

2014-12-03 Thread Josh Wu
Hi, Any feedback for this patch? Best Regards, Josh Wu On 11/18/2014 1:07 PM, Josh Wu wrote: Currenly when CONFIG_BOOTP_SERVERIP is defined, the SERVERIP is not changed when receive the BOOTP packet. But BOOTFILE is changed via BOOTP packet. As we will load the BOOTFILE from SERVERIP, if the

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Masahiro Yamada
Hi Simon, I am testing this series on my board and found some bugs. On Mon, 24 Nov 2014 11:57:15 -0700 Simon Glass s...@chromium.org wrote: + +static bool i2c_setup_offset(struct dm_i2c_chip *chip, uint offset, + uint8_t offset_buf[], struct i2c_msg *msg) +{ +

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Hyungwon Hwang
Dear all, On Wed, 03 Dec 2014 09:31:44 -0800 Simon Glass s...@chromium.org wrote: On 3 December 2014 at 09:08, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 12/03/2014 05:28 PM, Simon Glass wrote: Hi, On 3 December 2014 at 05:46, Przemyslaw Marczak

Re: [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-03 Thread Hyungwon Hwang
Dear all, On Thu, 04 Dec 2014 10:27:04 +0900 Inha Song ideal.s...@samsung.com wrote: Hi All, In Tizen mainline u-boot, CONFIG_ENV_OFFSET have already been fixed to SZ_1K * 3136 from SZ_1K * 1280. It looks good to change CONFIG_ENV_OFFSET also in u-boot mainline to use the same offset with

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Simon Glass
Hi Masahiro, On 3 December 2014 at 21:36, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, I am testing this series on my board and found some bugs. On Mon, 24 Nov 2014 11:57:15 -0700 Simon Glass s...@chromium.org wrote: + +static bool i2c_setup_offset(struct dm_i2c_chip

[U-Boot] [PATCH] crypto/fsl: Fix RNG instatntiation failure.

2014-12-03 Thread Gaurav Rana
Corrected the order of arguments in memset in run_descriptor function. Wrong order of argumnets led to improper initialization of members of struct type result. This resulted in RNG instantiation error. Signed-off-by: Gaurav Rana gaurav.r...@freescale.com --- drivers/crypto/fsl/jr.c | 2 +- 1

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Masahiro Yamada
Hi Simon, On Wed, 3 Dec 2014 19:32:18 -0700 Simon Glass s...@chromium.org wrote: BTW, I implemented an i2c driver for my Panasonic board base on this series, and I am playing around with it. I found a strange behavior. Assume an EEPROM chip is assigned with slave-address 0x50.

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-03 Thread Masahiro Yamada
Hi Simon, On Wed, 3 Dec 2014 19:36:15 -0700 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 3 December 2014 at 19:01, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, More comments again. On Mon, 24 Nov 2014 11:57:15 -0700 + +static int

[U-Boot] [PATCH][v2] crypto/fsl: Fix RNG instantiation failure.

2014-12-03 Thread Gaurav Rana
Corrected the order of arguments in memset in run_descriptor function. Wrong order of argumnets led to improper initialization of members of struct type result. This resulted in RNG instantiation error. Signed-off-by: Gaurav Rana gaurav.r...@freescale.com --- Changes from v1: Corrected typo in