Re: [U-Boot] [PATCH v3] mx6: Read silicon revision from register

2012-03-14 Thread Liu Hui-R64343
-Original Message- From: Fabio Estevam [mailto:feste...@gmail.com] Sent: Wednesday, March 14, 2012 10:57 AM To: u-boot@lists.denx.de Cc: sba...@denx.de; eric.nel...@boundarydevices.com; dirk.be...@de.bosch.com; Liu Hui-R64343; Estevam Fabio-R49496 Subject: [PATCH v3] mx6: Read silicon

[U-Boot] [PATCH] EXYNOS: Detect cpuid based on Exynos product codes

2012-03-14 Thread Chander Kashyap
Exynos based SoC's have two different naming conventions. One is S5PC_ and other is EXXX_. This patch adds generic code to handle EXXX_ connvention. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- arch/arm/include/asm/arch-exynos/cpu.h |5 - 1 files changed, 4

Re: [U-Boot] SPI flash writing

2012-03-14 Thread Gerlando Falauto
On 03/14/2012 03:16 AM, Mike Frysinger wrote: On Tuesday 13 March 2012 17:31:02 Falauto, Gerlando wrote: From: Mike Frysinger [mailto:vap...@gentoo.org] On Tuesday 13 March 2012 16:17:52 Jason Cooper wrote: On Tue, Mar 13, 2012 at 04:11:29PM -0400, Mike Frysinger wrote: On Tuesday 13 March

Re: [U-Boot] SPI flash writing

2012-03-14 Thread Gerlando Falauto
On 03/14/2012 03:18 AM, Simon Glass wrote: Hi Gerlando, On Tue, Mar 13, 2012 at 11:25 AM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Hi everyone, [I took the liberty to Cc: Mike and Simon as they have provided patches in the area] I struggled for a while trying to update a

[U-Boot] [PATCH v2] kirkwood: add support for Cloud Engines Pogoplug E02

2012-03-14 Thread David C. Purdy
[PATCH v2] add support for Cloud Engines Pogoplug E02 This patch adds support for Cloud Engines Pogoplug E02. Signed-off-by: David Purdy david.c.pu...@gmail.com Cc: prafu...@marvell.com Cc: albert.u.b...@aribaud.net --- Changes for v2: - added MAINTAINERS info for pogoplug_e02 - fixed

Re: [U-Boot] [PATCH 1/4] doc: Add documentation for mpc85xx debugger support

2012-03-14 Thread Prabhakar Kushwaha
Hi Wolfgang, On Tuesday 13 March 2012 12:44 PM, Prabhakar Kushwaha wrote: Hi Wolfgang, On Wednesday 07 March 2012 06:00 PM, Wolfgang Denk wrote: Dear Prabhakar Kushwaha, In message4f572159.9020...@freescale.com you wrote: Also, what's the V1_V2 ? Are there also other systems (say, e500 v3

Re: [U-Boot] Building uboot image for panda board

2012-03-14 Thread old000
Hi Charles, I have encountered similar problems before. The error might happen while compiling MLO for OMAP platforms. Check the Makefile under u-boot/spl/board/ or other spl-related Makefiles. There might be some unnecessary .o files outside the #ifndef CONFIG_SPL_BUILD

Re: [U-Boot] [PATCH v3] mx6: Read silicon revision from register

2012-03-14 Thread Fabio Estevam
On Wed, Mar 14, 2012 at 3:09 AM, Liu Hui-R64343 r64...@freescale.com wrote: I'm afraid whether this is correct to add it here since some registers of anatop was included into the ccm_reg. ANATOP is a collection of analog and anadig. So, ANATOP register mostly is consist of 4 parts:

[U-Boot] [U-boot -Users]- Hush shell

2012-03-14 Thread periyasamy samy
Hi.. I defined CFG_HUSH_PARSER and CFG_PROMPT_HUSH_PS2 for Command Interpreter. I am facing a problem that i able to see only one line at the screen (last printf) and overwrites the previouly printed lines. I am trying to display like welcome to u-boot and in the next line u-boot version

Re: [U-Boot] [PATCH v3] mx6: Read silicon revision from register

2012-03-14 Thread Wolfgang Grandegger
Hi Fabio, On 03/14/2012 11:24 AM, Fabio Estevam wrote: On Wed, Mar 14, 2012 at 3:09 AM, Liu Hui-R64343 r64...@freescale.com wrote: I'm afraid whether this is correct to add it here since some registers of anatop was included into the ccm_reg. ANATOP is a collection of analog and anadig.

[U-Boot] [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc

2012-03-14 Thread Chander Kashyap
TZPC IP is common across S5P and Exynos based SoC'c. Renaming exynos5_tzpc in arch/arm/include/asm/arch-exynos/tzpc.h to s5p_tzpc will allow generic usase of tzpc. Also modify board/samsung/smdk5250/tzpc_init.c to use s5p_tzpc. Signed-off-by: Chander Kashyap chander.kash...@linaro.org ---

Re: [U-Boot] [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc

2012-03-14 Thread Kyungmin Park
Hi Chander, On Wed, Mar 14, 2012 at 10:14 PM, Chander Kashyap chander.kash...@linaro.org wrote: TZPC IP is common across S5P and Exynos based SoC'c. Renaming exynos5_tzpc in arch/arm/include/asm/arch-exynos/tzpc.h to s5p_tzpc will allow generic usase of tzpc. Also modify

Re: [U-Boot] [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc

2012-03-14 Thread Chander Kashyap
Hi Kyungmin Park, On 14 March 2012 19:02, Kyungmin Park kmp...@infradead.org wrote: Hi Chander, On Wed, Mar 14, 2012 at 10:14 PM, Chander Kashyap chander.kash...@linaro.org wrote: TZPC IP is common across S5P and Exynos based SoC'c. Renaming exynos5_tzpc in

[U-Boot] Device tree in uboot eeprom environment

2012-03-14 Thread jonsm...@gmail.com
We have multiple versions of hardware that all boot from SD card. Uboot is on the SD card. Since these SD cards can be put into different devices they can't carry the device tree. The hardware has a good sized eeprom on it. Is there any uboot support for having device trees or partial devices

Re: [U-Boot] [PATCH v2] kirkwood: add support for Cloud Engines Pogoplug E02

2012-03-14 Thread Prafulla Wadaskar
-Original Message- From: David C. Purdy [mailto:david.c.pu...@gmail.com] Sent: 14 March 2012 05:47 To: u-boot@lists.denx.de Cc: Prafulla Wadaskar; albert.u.b...@aribaud.net Subject: [PATCH v2] kirkwood: add support for Cloud Engines Pogoplug E02 [PATCH v2] add support for Cloud

Re: [U-Boot] [PATCH V2] i.MX6: mx6q_sabrelite: add SATA bindings

2012-03-14 Thread Dirk Behme
On 13.03.2012 17:59, Eric Nelson wrote: ... --- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c +++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c ... + /* Enable sata clock */ + reg = readl(imx_ccm-CCGR5); /* CCGR5 */ + reg |= MXC_CCM_CCGR5_CG2_MASK; + writel(reg,

[U-Boot] Is it possible to send HDMI signal from u-boot on PandaBoard?

2012-03-14 Thread Qiao . HelloWorld
Hi everyone, I'm working on modifying u-boot source code for testing HDMI function on PandaBoard (CPU is TI OMAP4430). There seems no related information on the web. I've studied the android kernel source, and it confused me that the linux video driver access lots of registers which are not

Re: [U-Boot] [PATCH v3] mx6: Read silicon revision from register

2012-03-14 Thread Eric Nelson
On 03/14/2012 05:10 AM, Wolfgang Grandegger wrote: Hi Fabio, On 03/14/2012 11:24 AM, Fabio Estevam wrote: On Wed, Mar 14, 2012 at 3:09 AM, Liu Hui-R64343r64...@freescale.com wrote: I'm afraid whether this is correct to add it here since some registers of anatop was included into the

[U-Boot] [PATCH V4] net: fec_mxc: allow use with cache enabled

2012-03-14 Thread Eric Nelson
ensure that transmit and receive buffers are cache-line aligned invalidate cache for each packet as received update receive buffer descriptors one cache line at a time flush cache before transmitting Original patch by Marek:

Re: [U-Boot] [PATCH V5] BOOT: Add bootz command to boot Linux zImage on ARM

2012-03-14 Thread Stephen Warren
On 03/13/2012 09:47 PM, Marek Vasut wrote: From: Marek Vasut marek.va...@gmail.com This command boots Linux zImage from where the zImage is loaded to. Passing initrd and fdt is supported. Tested on i.MX28 based DENX M28EVK Tested on PXA270 based Voipac PXA270. NOTE: This currently only

Re: [U-Boot] [PATCH V5] BOOT: Add bootz command to boot Linux zImage on ARM

2012-03-14 Thread Marek Vasut
Dear Stephen Warren, On 03/13/2012 09:47 PM, Marek Vasut wrote: From: Marek Vasut marek.va...@gmail.com This command boots Linux zImage from where the zImage is loaded to. Passing initrd and fdt is supported. Tested on i.MX28 based DENX M28EVK Tested on PXA270 based Voipac

Re: [U-Boot] Enabling nand createbbt command

2012-03-14 Thread Charles Manning
On Wednesday 14 March 2012 17:00:58 Bud Miljkovic wrote: Charles That is interesting. Any clue how to configure the start and end blocks manually? Yes I do since I wrote yaffs :-). Set the statrt_block and end_block (might be startBlock and endBlock) values as needed BEFORE the mount/init

Re: [U-Boot] [PATCH V3] net: fec_mxc: allow use with cache enabled

2012-03-14 Thread Mike Frysinger
On Wednesday 14 March 2012 01:12:38 Eric Nelson wrote: Most of the PPC devices seem to have values of 16 or 32 for ARCH_DMA_MINALIGN, but PPC64BRIDGE and E500MC would have a problem if their drivers don't implement a bounce buffer because PKTALIGN ARCH_DMA_MINALIGN. (see

Re: [U-Boot] [PATCH v2] kirkwood: add support for Cloud Engines Pogoplug E02

2012-03-14 Thread David Purdy
Thank you Prafulla, I supplied 4 responses and some questions ... On Wed, Mar 14, 2012 at 9:23 AM, Prafulla Wadaskar prafu...@marvell.com wrote: -Original Message- From: David C. Purdy [mailto:david.c.pu...@gmail.com] Sent: 14 March 2012 05:47 To: u-boot@lists.denx.de Cc: Prafulla

Re: [U-Boot] [PATCH V5] BOOT: Add bootz command to boot Linux zImage on ARM

2012-03-14 Thread Mike Frysinger
On Wednesday 14 March 2012 01:38:45 Marek Vasut wrote: On Tuesday 13 March 2012 23:47:56 Marek Vasut wrote: This command boots Linux zImage from where the zImage is loaded to. Passing initrd and fdt is supported. i've got no opinion on the matter of supporting zImage directly

Re: [U-Boot] [PATCH V3] net: fec_mxc: allow use with cache enabled

2012-03-14 Thread Eric Nelson
On 03/13/2012 10:41 PM, Mike Frysinger wrote: On Wednesday 14 March 2012 01:12:38 Eric Nelson wrote: Most of the PPC devices seem to have values of 16 or 32 for ARCH_DMA_MINALIGN, but PPC64BRIDGE and E500MC would have a problem if their drivers don't implement a bounce buffer because PKTALIGN

Re: [U-Boot] [PATCH V5] BOOT: Add bootz command to boot Linux zImage on ARM

2012-03-14 Thread Marek Vasut
Dear Mike Frysinger, On Wednesday 14 March 2012 01:38:45 Marek Vasut wrote: On Tuesday 13 March 2012 23:47:56 Marek Vasut wrote: This command boots Linux zImage from where the zImage is loaded to. Passing initrd and fdt is supported. i've got no opinion on the matter of

Re: [U-Boot] [PATCH 1/4] doc: Add documentation for mpc85xx debugger support

2012-03-14 Thread Scott Wood
On 03/14/2012 04:35 AM, Prabhakar Kushwaha wrote: Hi Wolfgang, On Tuesday 13 March 2012 12:44 PM, Prabhakar Kushwaha wrote: Hi Wolfgang, On Wednesday 07 March 2012 06:00 PM, Wolfgang Denk wrote: Dear Prabhakar Kushwaha, In message4f572159.9020...@freescale.com you wrote: Also, what's

Re: [U-Boot] [PATCH V3] net: fec_mxc: allow use with cache enabled

2012-03-14 Thread Mike Frysinger
On Wednesday 14 March 2012 15:12:10 Eric Nelson wrote: On 03/13/2012 10:41 PM, Mike Frysinger wrote: On Wednesday 14 March 2012 01:12:38 Eric Nelson wrote: Most of the PPC devices seem to have values of 16 or 32 for ARCH_DMA_MINALIGN, but PPC64BRIDGE and E500MC would have a problem if

Re: [U-Boot] [PATCH V3] net: fec_mxc: allow use with cache enabled

2012-03-14 Thread Eric Nelson
On 03/14/2012 01:33 PM, Mike Frysinger wrote: On Wednesday 14 March 2012 15:12:10 Eric Nelson wrote: On 03/13/2012 10:41 PM, Mike Frysinger wrote: On Wednesday 14 March 2012 01:12:38 Eric Nelson wrote: Most of the PPC devices seem to have values of 16 or 32 for ARCH_DMA_MINALIGN, but

Re: [U-Boot] [PATCH V3] net: fec_mxc: allow use with cache enabled

2012-03-14 Thread Mike Frysinger
On Wednesday 14 March 2012 17:04:32 Eric Nelson wrote: You want I should send a formal patch? yes please Should I consider looks fine to be an ack? i'll post an acked-by tag to that and then patchwork will do the right thing for people to track -mike signature.asc Description: This is a

[U-Boot] [PATCH] net: force PKTALIGN to ARCH_DMA_MINALIGN

2012-03-14 Thread Eric Nelson
This will prevent the need for architectures whose DMA alignment is greater than 32 to have bounce buffers. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- include/net.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/net.h b/include/net.h index

Re: [U-Boot] [PATCH] net: force PKTALIGN to ARCH_DMA_MINALIGN

2012-03-14 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] SPI flash writing

2012-03-14 Thread Tom Rini
On Tue, Mar 13, 2012 at 10:31:02PM +0100, Falauto, Gerlando wrote: -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: Tue 13.03.2012 21:35 To: Jason Cooper Cc: Falauto, Gerlando; u-boot; Brunck, Holger Subject: Re: [U-Boot] SPI flash writing On Tuesday 13

Re: [U-Boot] SPI flash writing

2012-03-14 Thread Mike Frysinger
On Wednesday 14 March 2012 02:44:45 Gerlando Falauto wrote: The thing is, if you issue e write (or erase) and accidentally cross the flash size boundary, you get a wraparound (or aliasing, or whatever you want to call it) so that you end up overwriting (e.g. zeroing out bits) the initial

Re: [U-Boot] SPI flash writing

2012-03-14 Thread Mike Frysinger
On Wednesday 14 March 2012 20:02:27 Tom Rini wrote: On Tue, Mar 13, 2012 at 10:31:02PM +0100, Falauto, Gerlando wrote: Can't the same command also be used for burning something *other than* u-boot (e.g. a kernel, config section, or something like that)? So the size of the flash *does

Re: [U-Boot] [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc

2012-03-14 Thread Minkyu Kang
Dear Chander Kashyap, On 14 March 2012 22:38, Chander Kashyap chander.kash...@linaro.org wrote: Hi Kyungmin Park, On 14 March 2012 19:02, Kyungmin Park kmp...@infradead.org wrote: Hi Chander, On Wed, Mar 14, 2012 at 10:14 PM, Chander Kashyap chander.kash...@linaro.org wrote: TZPC IP is

[U-Boot] [PATCH v4 0/27] Create generic board init for ARM, x86, PPC

2012-03-14 Thread Simon Glass
This series creates a generic board.c implementation which contains the essential functions of the major arch/xxx/lib/board.c files. What is the motivation for this change? 1. There is a lot of repeated code in the board.c files. Any change to things like setting up the baud rate requires a

[U-Boot] [PATCH v4 01/27] arm: Change board baud_rate to ulong

2012-03-14 Thread Simon Glass
This is a ulong for some architectures and just unsigned for others. Change ARM to be consistent. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/u-boot.h |2 +- common/cmd_bdinfo.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v4 04/27] x86: Remove dead code in eNET

2012-03-14 Thread Simon Glass
This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass s...@chromium.org --- board/eNET/eNET.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 429fe1b..2f26470 100644 --- a/board/eNET/eNET.c +++

[U-Boot] [PATCH v4 09/27] Introduce generic link section.h symbol files

2012-03-14 Thread Simon Glass
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us. Each

[U-Boot] [PATCH v4 05/27] x86: Add initial memory barrier macros

2012-03-14 Thread Simon Glass
These are available on other architectures, so add them on x86. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/io.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 9b757d4..b12bdd8

[U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Simon Glass
We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of SOC-specific additions. It isn't clear how best to deal with these, but for now we just use #ifdef. Checkpatch warnings here might be unavoidable: warning:

[U-Boot] [PATCH v4 06/27] ppc: Add initial memory barrier macros

2012-03-14 Thread Simon Glass
These are available on other architectures, so add them on ppc. Signed-off-by: Simon Glass s...@chromium.org --- arch/powerpc/include/asm/io.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index

[U-Boot] [PATCH v4 03/27] arm: Only display frame buffer info if there is LCD/video support

2012-03-14 Thread Simon Glass
This value has no meaning otherwise. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_bdinfo.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 54a56f4..80c100c 100644 --- a/common/cmd_bdinfo.c +++

[U-Boot] [PATCH v4 02/27] x86: Change board baud_rate to ulong

2012-03-14 Thread Simon Glass
This is a ulong for some architectures and just unsigned for others. Change x86 to be consistent. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/u-boot.h |2 +- common/cmd_bdinfo.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v4 10/27] arm: Use sections header to obtain link symbols

2012-03-14 Thread Simon Glass
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h arch/arm/include/asm/u-boot-arm.h |4 arch/arm/lib/board.c |1 +

[U-Boot] [PATCH v4 14/27] Introduce generic pre-relocation board_f.c

2012-03-14 Thread Simon Glass
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Cast away the volatile on gd for memcpy()

[U-Boot] [PATCH v4 11/27] x86: Change stub example to use asm-generic/sections.h

2012-03-14 Thread Simon Glass
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h examples/standalone/stubs.c |7 +++ 1 files changed, 3

[U-Boot] [PATCH v4 12/27] Introduce a basic initcall implementation

2012-03-14 Thread Simon Glass
This library supports calling a list of functions one after the other. It is intended that we move to a more powerful initcall implementation as proposed by Graeme Russ graeme.r...@gmail.com. For now, this allows us to do the basics. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v4 08/27] Introduce generic u-boot.h file

2012-03-14 Thread Simon Glass
This file holds the board info structure. We need this to be generic for the unified board series, so create a structure which contains the basic fields required by the main architectures. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add three more fields required for ARM

[U-Boot] [PATCH v4 21/27] x86: Enable generic board support

2012-03-14 Thread Simon Glass
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/config.mk |3 --- arch/x86/include/asm/global_data.h |7 +++ arch/x86/include/asm/u-boot.h | 11 +++

[U-Boot] [PATCH v4 18/27] Add CONFIG_SYS_SYM_OFFSETS to support offset symbols

2012-03-14 Thread Simon Glass
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so that we can support both. As we convert architectures over to generic board, we can see if this option is actually needed, or whether it is possible to

[U-Boot] [PATCH v4 16/27] Add spl load feature

2012-03-14 Thread Simon Glass
This adds secondary program loader support to the generic board. Signed-off-by: Simon Glass s...@chromium.org --- common/board_f.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 9477721..a08f0a1 100644 ---

[U-Boot] [PATCH v4 15/27] Introduce generic post-relocation board_r.c

2012-03-14 Thread Simon Glass
This file handles common post-relocation init for boards which use the generic framework. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h common/Makefile |1 + common/board_r.c | 401

[U-Boot] [PATCH v4 17/27] arm: Enable generic board support

2012-03-14 Thread Simon Glass
This enables generic board support so that ARM boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/config.mk |3 --- arch/arm/include/asm/global_data.h |7 +++ arch/arm/include/asm/u-boot.h |9 +

[U-Boot] [PATCH v4 19/27] x86: Use sections header to obtain link symbols

2012-03-14 Thread Simon Glass
These are defined in asm-generic/sections.h, so remove them from architecture-specific files. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add header to new x86 relocate.c and init_helpers.c Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h

[U-Boot] [PATCH v4 20/27] Add x86 fields to generic global_data

2012-03-14 Thread Simon Glass
These fields are needed for x86. Signed-off-by: Simon Glass s...@chromium.org --- include/asm-generic/global_data.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 6199926..fb976f9 100644 ---

[U-Boot] [PATCH v4 27/27] tegra: Enable generic board for Seaboard.

2012-03-14 Thread Simon Glass
Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add CONFIG_SYS_GENERIC_BOARD to allow board to select generic board - Add PowerPC support - Change generic board to an opt-in system on a per-board basic - Rebase to master

[U-Boot] [PATCH v4 26/27] tegra: Mark board init files for ARMv4t

2012-03-14 Thread Simon Glass
Since Tegra executes early code on an ARMv4T (but the rest on ARMv7) we must mark the new board init files for compilation with ARMv4t architecture. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/config.mk |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

[U-Boot] [PATCH v4 25/27] ppc: Enable generic board board

2012-03-14 Thread Simon Glass
This enables generic board support so that ppc boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- arch/powerpc/config.mk |3 --- arch/powerpc/include/asm/global_data.h |7 +++ arch/powerpc/include/asm/u-boot.h |7

[U-Boot] [PATCH v4 24/27] Adjust board_r.c for PowerPC

2012-03-14 Thread Simon Glass
This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Updates to sit on top of earlier patches common/board_r.c | 462 +- 1 files changed, 459 insertions(+), 3

[U-Boot] [PATCH v4 23/27] Adjust board_f for ppc

2012-03-14 Thread Simon Glass
This adds ppc features to the generic pre-relocation board init. This is a separate commit so that these features are clearly shown. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Updates to sit on top of earlier patches common/board_f.c | 373

[U-Boot] [PATCH v4 22/27] Add ppc fields to generic global data

2012-03-14 Thread Simon Glass
This adds fields required by PowerPC to the global data. Signed-off-by: Simon Glass s...@chromium.org --- include/asm-generic/global_data.h | 124 + 1 files changed, 124 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/global_data.h

[U-Boot] [PATCH v4 13/27] Define CONFIG_SYS_LEGACY_BOARD everywhere

2012-03-14 Thread Simon Glass
We are introducing a new unified board setup and we want this to be the default. So we need to opt all architectures out first. Signed-off-by: Simon Glass s...@chromium.org --- README| 11 +++ arch/arm/config.mk|3 +++ arch/avr32/config.mk |3

Re: [U-Boot] [PATCH v4 04/27] x86: Remove dead code in eNET

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass s...@chromium.org ---  board/eNET/eNET.c |    5 -  1 files changed, 0 insertions(+), 5 deletions(-) Acked-By: Graeme Russ

Re: [U-Boot] [PATCH v4 04/27] x86: Remove dead code in eNET

2012-03-14 Thread Simon Glass
On Wed, Mar 14, 2012 at 7:27 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass s...@chromium.org ---  board/eNET/eNET.c |    5 -

Re: [U-Boot] [PATCH v4 11/27] x86: Change stub example to use asm-generic/sections.h

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Use asm/sections.h instead of

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of SOC-specific additions. It isn't clear how best to deal with these, but for now we just use

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of SOC-specific additions. It isn't clear how best to deal with these, but for now we just use

Re: [U-Boot] [PATCH v4 20/27] Add x86 fields to generic global_data

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: These fields are needed for x86. Signed-off-by: Simon Glass s...@chromium.org ---  include/asm-generic/global_data.h |    2 ++  1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH v4 11/27] x86: Change stub example to use asm-generic/sections.h

2012-03-14 Thread Simon Glass
Hi Graeme, On Wed, Mar 14, 2012 at 7:29 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon

Re: [U-Boot] [PATCH v4 11/27] x86: Change stub example to use asm-generic/sections.h

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:44 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Wed, Mar 14, 2012 at 7:29 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, Does not look like x86 to me - looks like common code Yes that tag is wrong. Should I re-issue the patch? Yes,

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Simon Glass
Hi Graeme, On Wed, Mar 14, 2012 at 7:35 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of

Re: [U-Boot] [PATCH v4 20/27] Add x86 fields to generic global_data

2012-03-14 Thread Simon Glass
Hi Graeme, On Wed, Mar 14, 2012 at 7:36 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: These fields are needed for x86. Signed-off-by: Simon Glass s...@chromium.org ---  include/asm-generic/global_data.h |    2

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:50 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Wed, Mar 14, 2012 at 7:35 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, [snip] IMHO, global data should contain only globally common members and an arch- specific struct and ditch

Re: [U-Boot] [PATCH v3 11/28] arm: Use sections header to obtain link symbols

2012-03-14 Thread Simon Glass
Hi Mike, On Sat, Mar 10, 2012 at 5:54 PM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 08 March 2012 01:39:53 Simon Glass wrote: On Tue, Mar 6, 2012 at 8:17 AM, Mike Frysinger wrote: On Tuesday 06 March 2012 01:24:21 Simon Glass wrote: On Mon, Mar 5, 2012 at 9:03 PM, Mike Frysinger

Re: [U-Boot] [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc

2012-03-14 Thread Chander Kashyap
Dear Minkyu, On 15 March 2012 06:53, Minkyu Kang proms...@gmail.com wrote: Dear Chander Kashyap, On 14 March 2012 22:38, Chander Kashyap chander.kash...@linaro.org wrote: Hi Kyungmin Park, On 14 March 2012 19:02, Kyungmin Park kmp...@infradead.org wrote: Hi Chander, On Wed, Mar 14, 2012

[U-Boot] [PATCH v2] EXYNOS: Rename exynos5_tzpc structure to exynos_tzpc

2012-03-14 Thread Chander Kashyap
TZPC IP is common across Exynos based SoC'c. Renaming exynos5_tzpc in arch/arm/include/asm/arch-exynos/tzpc.h to exynos_tzpc will allow generic usase of tzpc. Also modify board/samsung/smdk5250/tzpc_init.c to use exynos_tzpc. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- Changes

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Simon Glass
Hi Graeme, On Wed, Mar 14, 2012 at 8:02 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Thu, Mar 15, 2012 at 1:50 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Wed, Mar 14, 2012 at 7:35 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, [snip] IMHO, global data

Re: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds

2012-03-14 Thread Simon Glass
Hi Sughosh, On Sat, Mar 10, 2012 at 12:33 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Sat Mar 03, 2012 at 12:33:15PM -0800, Simon Glass wrote: raise() likes to call printf() if it is available, but in SPL builds it either is not available, or adds a large chunk to the

Re: [U-Boot] [PATCH 1/4] doc: Add documentation for mpc85xx debugger support

2012-03-14 Thread Prabhakar Kushwaha
Hi Scott, On Thursday 15 March 2012 01:00 AM, Scott Wood wrote: On 03/14/2012 04:35 AM, Prabhakar Kushwaha wrote: Hi Wolfgang, On Tuesday 13 March 2012 12:44 PM, Prabhakar Kushwaha wrote: Hi Wolfgang, On Wednesday 07 March 2012 06:00 PM, Wolfgang Denk wrote: Dear Prabhakar Kushwaha, In

Re: [U-Boot] [PATCH 1/3 v3] sandbox: SPI emulation bus

2012-03-14 Thread Simon Glass
Hi Mike, On Mon, Mar 12, 2012 at 8:22 AM, Mike Frysinger vap...@gentoo.org wrote: This adds a SPI framework for people to hook up simulated SPI clients. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v3        - rearchitected on top of state/getopt support  

Re: [U-Boot] [PATCH 2/3 v3] sandbox: new SPI flash driver

2012-03-14 Thread Simon Glass
Hi Mike, On Mon, Mar 12, 2012 at 8:22 AM, Mike Frysinger vap...@gentoo.org wrote: This adds a SPI flash driver which simulates SPI flash clients. Currently supports the bare min that U-Boot requires: you can probe, read, erase, and write.  Should be easy to extend to make it behave more

Re: [U-Boot] [Samsung] [PATCH] EXYNOS: Rename exynos5_tzpc structure to s5p_tzpc

2012-03-14 Thread Tushar Behera
On 03/15/2012 06:53 AM, Minkyu Kang wrote: Dear Chander Kashyap, On 14 March 2012 22:38, Chander Kashyap chander.kash...@linaro.org wrote: Hi Kyungmin Park, On 14 March 2012 19:02, Kyungmin Park kmp...@infradead.org wrote: Hi Chander, On Wed, Mar 14, 2012 at 10:14 PM, Chander Kashyap

Re: [U-Boot] [PATCH] WIP: fdt: Add serial port controlled by device tree

2012-03-14 Thread Simon Glass
Hi Mike, On Tue, Feb 21, 2012 at 7:47 AM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 21 February 2012 01:41:21 Simon Glass wrote: --- /dev/null +++ b/common/fdt_decode.c This whole file was not supposed to be there. I removed it from being needed but somehow not from the patch, sorry.

Re: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds

2012-03-14 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: Hi Sughosh, On Sat, Mar 10, 2012 at 12:33 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Sat Mar 03, 2012 at 12:33:15PM -0800, Simon Glass wrote: raise() likes to call printf() if it is available, but in SPL builds it either is not

Re: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds

2012-03-14 Thread Simon Glass
Hi Heiko, On Wed, Mar 14, 2012 at 10:13 PM, Heiko Schocher h...@denx.de wrote: Hello Simon, Simon Glass wrote: Hi Sughosh, On Sat, Mar 10, 2012 at 12:33 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Sat Mar 03, 2012 at 12:33:15PM -0800, Simon Glass wrote: raise() likes

Re: [U-Boot] [PATCH 2/3 v3] sandbox: new SPI flash driver

2012-03-14 Thread Mike Frysinger
On Thursday 15 March 2012 00:09:59 Simon Glass wrote: On Mon, Mar 12, 2012 at 8:22 AM, Mike Frysinger wrote: +/* Used to quickly bulk erase backing store */ +static u8 sb_sf_0xff[0x1]; Ick, Does it really need to be so large? in order to do a single write() for a single sector, yes.

Re: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds

2012-03-14 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: Hi Heiko, On Wed, Mar 14, 2012 at 10:13 PM, Heiko Schocher h...@denx.de wrote: Hello Simon, Simon Glass wrote: Hi Sughosh, On Sat, Mar 10, 2012 at 12:33 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Simon, On Sat Mar 03, 2012 at 12:33:15PM