[U-Boot] [PATCH v2] net/designware: Consecutive writes to the same register to be avoided

2012-06-09 Thread Dinh Nguyen
This commit is an add-on to f6c4191f. There are a few registers where consecutive writes to the same location should be avoided or have a delay. According to Synopsys, here is a list of the registers and bit(s) where consecutive writes should be avoided or a delay is required: DMA Registers: Regi

Re: [U-Boot] [PATCH 0/8] EXT2 cleanup

2012-06-09 Thread Marek Vasut
Dear Jorgen Lundman, > Marek Vasut wrote: > > Now I'm angry ... > > > > So, I cleaned up the ext2 filesystem code a bit. I tried to separate the > > changes to increase the reviewability. > > If you are angry, that makes me not want to comment, especially since I > don't belong here. Heh, sorry

[U-Boot] Possible PHYLIB issue

2012-06-09 Thread Marek Vasut
Hi Joe, I'm sending you this snipped of network-related problem (maybe). It's from u- boot IRC. 23:32 < demigod2k> you said a few hours ago to look at PHYLIB 23:32 < demigod2k> it defers the config properly 23:32 < demigod2k> however in drivers/net/phy/marvell.c for example, the values in _confi

Re: [U-Boot] [PATCH v2 1/7] tegra: Rework Tamonten support

2012-06-09 Thread Stephen Warren
Allen Martin wrote: >On Fri, Jun 08, 2012 at 10:28:57PM -0700, Stephen Warren wrote: >> On 06/08/2012 03:27 PM, Allen Martin wrote: >> > On Fri, Jun 08, 2012 at 02:07:25PM -0700, Stephen Warren wrote: >> >> On 06/08/2012 02:01 PM, Allen Martin wrote: >> >>> On Fri, May 25, 2012 at 06:46:22AM -0700

Re: [U-Boot] [PATCH 0/8] EXT2 cleanup

2012-06-09 Thread Jason Cooper
Marek, On Fri, Jun 08, 2012 at 07:31:45PM +0200, Marek Vasut wrote: > So, I cleaned up the ext2 filesystem code a bit. I tried to separate the > changes > to increase the reviewability. > > Marek Vasut (8): > EXT2: Indent cleanup of dev.c > EXT2: Indent cleanup ext2fs.c > EXT2: Rework ext2

Re: [U-Boot] [PATCH 0/8] EXT2 cleanup

2012-06-09 Thread Marek Vasut
Dear Jason Cooper, > Marek, > > On Fri, Jun 08, 2012 at 07:31:45PM +0200, Marek Vasut wrote: > > So, I cleaned up the ext2 filesystem code a bit. I tried to separate the > > changes to increase the reviewability. > > > > Marek Vasut (8): > > EXT2: Indent cleanup of dev.c > > EXT2: Indent cle

Re: [U-Boot] [PATCH v3 04/14] mkconfig: add support for SPL CPU

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:15 PM, Allen Martin wrote: > Add support for specifying a different CPU for main u-boot and SPL > u-boot builds. This is done by adding an optional SPL CPU after the > main CPU in boards.cfg as follows: > > normal_cpu:spl_cpu > > This this case CPU will be

Re: [U-Boot] [PATCH v3 07/14] ARM: add tegra20 support to arm720t

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > Add support for tegra20 arm7 boot processor. This processor is used > to power on the Cortex A9 and transfer control to it. > > Signed-off-by: Allen Martin --- > arch/arm/cpu/arm720t/cpu.c |2 + > arc

Re: [U-Boot] [PATCH v3 08/14] tegra20: add SPL config options for tegra20 boards

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > Add SPL options to tegra20 config files and enable SPL build for > tegra20 boards in boards.cfg > > Signed-off-by: Allen Martin > --- > boards.cfg| 18 - > include/configs/tegra20-common-post.

Re: [U-Boot] [PATCH v3 09/14] tegra20: add u-boot.t2 target

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > Add target for tegra20 u-boot image. This is a concatenation of tegra > spl and normal u-boot binaries. > > Signed-off-by: Allen Martin > --- > .gitignore |1 + > Makefile| 11 ++

Re: [U-Boot] [PATCH v3 10/14] tegra: move SDRAM param save to later in boot

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > Move warmboot_save_sdram_params() to later in the boot sequence. This > code relies on devicetree to get the address of the memory controller > and with upcoming changes for SPL boot it gets called early in the > boot process when

Re: [U-Boot] [PATCH v3 11/14] tegra20: Remove CPU init code from tegra20 u-boot

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > This code is now included in the tegra20 SPL > > Signed-off-by: Allen Martin > --- > arch/arm/cpu/armv7/start.S |2 - > arch/arm/cpu/tegra20-common/ap20.c | 258 > +-- > arch/arm/cpu/

Re: [U-Boot] [PATCH v3 12/14] tegra20: Remove armv4t build flags

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 11:34 PM, Allen Martin wrote: > On Fri, Jun 08, 2012 at 10:24:42PM -0700, Stephen Warren wrote: > > On 06/08/2012 03:16 PM, Allen Martin wrote: > > > These flags were necessary when building tegra20 as a single binary > > > that supported ARM7TDMI and Cortex A9.

Re: [U-Boot] [PATCH v3 12/14] tegra20: Remove armv4t build flags

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > These flags were necessary when building tegra20 as a single binary > that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support > is split into a separate SPL, this is no longer necessary. > > Signed-off-by: Allen Martin

Re: [U-Boot] [PATCH v3 13/14] tegra20: plutux: change obj directory mkdir commands

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin wrote: > Change the mkdir commands for the object directories to be more > general purpose. This fixes an issue when building for SPL where > SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE. > > Signed-off-by: Allen Martin >

Re: [U-Boot] [PATCH v3 0/14] split tegra20 arm7 code into separate SPL

2012-06-09 Thread Simon Glass
Hi Allen, On Fri, Jun 8, 2012 at 2:15 PM, Allen Martin wrote: > This patch series fixes a long standing problem with the tegra20 > u-boot build. Tegra20 contains an ARM7TDMI boot processor and a > Cortex A9 main processor. Prior to this patch series this was > accomplished by #ifdefing out any

Re: [U-Boot] [PATCH 1/2 V6] EXYNOS5: PINMUX: Added default pinumx settings

2012-06-09 Thread Simon Glass
On Wed, Jun 6, 2012 at 10:54 PM, Rajeshwari Shinde wrote: > This patch performs the pinmux configuration in a common file. > As of now only EXYNOS5 pinmux for SDMMC, UART and Ethernet is > supported. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Che-Liang Chiou > Signed-off-by: Rajeshwar

Re: [U-Boot] [PATCH 2/2 V6] EXYNOS: SMDK5250: Enable the pinmux setup

2012-06-09 Thread Simon Glass
On Wed, Jun 6, 2012 at 10:54 PM, Rajeshwari Shinde wrote: > Use the pinmux configuration function for SMDK5250. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Rajeshwari Shinde > Acked-by: Chander Kashyap > Acked-by: Simon Glass > Acked-by: Simon Glass > --- > Changes in V2: >

Re: [U-Boot] [PATCH] tegra2: move tegra2 SoC code to arch/arm/cpu/tegra2-common

2012-06-09 Thread Simon Glass
Hi Allen, On Mon, Apr 30, 2012 at 12:52 PM, Allen Martin wrote: > On Mon, Apr 30, 2012 at 11:31:44AM -0700, Simon Glass wrote: > > > > -Have the armv4t build reach up and over into armv7 > > -Move the code out to board/nvidia > > > > Both of these seemed worse > > > > I've thought about this a b

Re: [U-Boot] [PATCH] fdt: send all dtc output to stderr

2012-06-09 Thread Simon Glass
Hi Stephen, On Fri, Jun 8, 2012 at 3:28 PM, Stephen Warren wrote: > From: Stephen Warren > > Commit 896bbb5 "fdt: avoid bad MAKEALL status" added logic to capture > the result code from dtc by echoing $? to stdout and capturing it using > $(). However, dtc emits some diagnostics to stderr and so