Re: [U-Boot] [PATCH 0/4] Remove duplicate functions for power and sleep configuration

2011-10-12 Thread Heiko Schocher
Hello Christian, Heiko Schocher wrote: > Hello Christian, > > Christian Riesch wrote: >> Hi, >> these patches apply on top of Heiko Schocher's patches for the enbw_cmc >> board. They remove the duplicate functions for the power and sleep >> controller of the davinci devices. >> >> The first patch

Re: [U-Boot] [PATCH 04/12] powerpc: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Stefan Roese
On Wednesday 12 October 2011 23:01:43 Anton Staaf wrote: > Signed-off-by: Anton Staaf > Cc: Mike Frysinger > Cc: Lukasz Majewski > Cc: Wolfgang Denk > Cc: Stefan Roese Acked-by: Stefan Roese Thanks, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235

Re: [U-Boot] [PATCH v2] ppc4xx: Add Io64 board support

2011-10-12 Thread Stefan Roese
On Thursday 13 October 2011 08:14:40 Eibach, Dirk wrote: > > > To get around this would involve black magic and sacrifice > > > > of chickens > > > > > to appease them which always leaves a bloody mess on our > > > > R&D floor. So > > > > > I thought this hook might be a better option. > > > >

Re: [U-Boot] [PATCH 3/4] arm, davinci: Add function lpsc_syncreset()

2011-10-12 Thread Christian Riesch
Good morning Heiko, Thanks for reviewing. See my reply below. On Thu, Oct 13, 2011 at 7:42 AM, Heiko Schocher wrote: > Christian Riesch wrote: >> This patch adds a function lpsc_syncreset that allows setting a >> lpsc module into Sync Reset state. >> >> Signed-off-by: Christian Riesch >> Cc: Hei

Re: [U-Boot] [PATCH v2] ppc4xx: Add Io64 board support

2011-10-12 Thread Eibach, Dirk
> > Our FPGA guys keep bugging me to get their stuff in a defined state > > ASAP after poweron. So "before relocation" seemed to me the > best thing > > I could offer to them. > > Well, tell them that ASAP means "right after relocation", then. Hmm, maybe they won't even notice... > > To ge

[U-Boot] [PATCH] autoconf.mk.dep: use target cflags, not host

2011-10-12 Thread Mike Frysinger
The current autoconf.mk.dep rule uses the host cflags when executing the target compiler (which includes target header files). We don't want to mix the target compiler and host compiler flags, so change it to CFLAGS. Otherwise we get things like -pedantic which the U-Boot source code does not buil

[U-Boot] [PATCH] sparc: fix unknown escape sequence warnings

2011-10-12 Thread Mike Frysinger
I don't know what exactly the code was going for, but the object code is the same before/after my change, and in looking at the env strings, this seems to be OK. Otherwise gcc warns: cc1: warning: unknown escape sequence: '\$' cc1: warning: unknown escape sequence: '\)' cc1: warning: unknown escap

[U-Boot] [PATCH] sparc: fix unused variable warnings

2011-10-12 Thread Mike Frysinger
Fix the build warnings: board.c: In function 'board_init_f': board.c:179:8: warning: unused variable 'e' board.c:178:6: warning: unused variable 'i' board.c:173:13: warning: unused variable 'cmdtp' bootm.c: In function 'do_bootm_linux': bootm.c:101:28: warning: unused variable 'kernend' bootm.c:101

Re: [U-Boot] [PATCH 3/4] arm, davinci: Add function lpsc_syncreset()

2011-10-12 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > This patch adds a function lpsc_syncreset that allows setting a > lpsc module into Sync Reset state. > > Signed-off-by: Christian Riesch > Cc: Heiko Schocher > Cc: Paulraj Sandeep > Cc: Albert ARIBAUD > --- > arch/arm/cpu/arm926ejs/davinci/psc.c

[U-Boot] [PATCH 2/2] powerpc/mpc8548cds: Add 36-bit support

2011-10-12 Thread Zhao Chenhui
From: chenhui zhao Signed-off-by: Zhao Chenhui --- boards.cfg |1 + include/configs/MPC8548CDS.h | 56 ++ 2 files changed, 57 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 65482ac..1b807cc 100644 --- a/b

[U-Boot] [PATCH 1/2] powerpc/mpc8548cds: Code cleanup and refactoring

2011-10-12 Thread Zhao Chenhui
From: chenhui zhao - Rework tlb and law tables. - PCI2 is not available on MPC8548CDS, so remove it. - Move the memory map to the board config file. - Rewrite the board info according to the manual. - Remove unnecessary macros and redefine some macros to align with other boards. - Fix some typos.

Re: [U-Boot] [PATCH 1/4] arm, davinci: Rename AM1808 lowlevel functions to DA850

2011-10-12 Thread Christian Riesch
Hello Heiko, On Thursday, October 13, 2011, Heiko Schocher wrote: > Hello Christian, > > Christian Riesch wrote: >> Rename arch/arm/cpu/arm926ejs/davinci/am1808_lowlevel.c and >> arch/arm/include/asm/arch-davinci/am1808_lowlevel.h to da850_lowlevel.c >> and da850_lowlevel.h since they apply not o

[U-Boot] sparc and .udiv/.rem/.urem/.umul/etc... link errors

2011-10-12 Thread Mike Frysinger
it seems that these symbols are usually implemented in the C library on sparc systems, but under u-boot, we don't have that luxury. Linux itself simply imports the relevant asm files from glibc into their lib subdir. without these, building u-boot for sparc targets with sparc linux compilers f

[U-Boot] [PATCH][v2] powerpc/p3041: fixup portal config info

2011-10-12 Thread Kumar Gala
From: Haiying Wang P3041 has 10 qman portals, we need to configure all of them: * As there are only 4 physical cores sdest can only be 0 to 3 * We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing) * We set P

[U-Boot] [PATCH 2/2] build: force migration away from $(AR)

2011-10-12 Thread Mike Frysinger
People keep adding new code that still uses $(AR) instead of $(cmd_link_o_target), so turn it into a build time error. We still use $(AR) locally, but we don't use $(ARFLAGS). Signed-off-by: Mike Frysinger --- config.mk |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --g

[U-Boot] [PATCH 1/2] build: add missing $(AR)->$(cmd_link_o_target) update

2011-10-12 Thread Mike Frysinger
Seems people fixed their files to use libfoo.o, but didn't actually update the creation targets to use $(cmd_link_o_target). Update the rest of the Makefile's found with grep. Signed-off-by: Mike Frysinger --- i think some of these fixes might already be in flight (wrt tegra) arch/arm/cpu/arm9

Re: [U-Boot] [PATCH 1/4] arm, davinci: Rename AM1808 lowlevel functions to DA850

2011-10-12 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > Rename arch/arm/cpu/arm926ejs/davinci/am1808_lowlevel.c and > arch/arm/include/asm/arch-davinci/am1808_lowlevel.h to da850_lowlevel.c > and da850_lowlevel.h since they apply not only to the AM1808 SoC > but to all DA850 chips. The function names and #defi

Re: [U-Boot] [PATCH 0/4] Remove duplicate functions for power and sleep configuration

2011-10-12 Thread Heiko Schocher
Hello Christian, Christian Riesch wrote: > Hi, > these patches apply on top of Heiko Schocher's patches for the enbw_cmc > board. They remove the duplicate functions for the power and sleep > controller of the davinci devices. > > The first patch renames the low level configuration functions sinc

[U-Boot] [PATCH] avr32: fix timer_init() return type

2011-10-12 Thread Mike Frysinger
The common.h header says this has to return an int, otherwise we get build failures due to mismatched prototype and function definition. Signed-off-by: Mike Frysinger --- arch/avr32/cpu/interrupts.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/avr32/cpu/inte

Re: [U-Boot] [PATCH 00/12] Define ARCH_DMA_MINALIGN for all architectures

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 23:47:02 Kumar Gala wrote: > I haven't looked at this patchset you reference, but what is causing the > need for buffer alignment? > > I question if on PPC we really need this to be at a cache line granularity. look at the "Add cache line alignment support" patchset -

[U-Boot] [PATCH] sh: only add -mno-fdpic if the compiler supports it

2011-10-12 Thread Mike Frysinger
Not all SuperH toolchains support -mno-fdpic. Chances are good that if the flag doesn't work, it isn't defaulting to the FDPIC ABI, so the flag isn't needed. So only add it if it is actually supported. Signed-off-by: Mike Frysinger --- arch/sh/cpu/sh2/config.mk |3 ++- 1 files changed, 2 i

Re: [U-Boot] [PATCH 1/2] Tegra2: Make XTal speed configurable

2011-10-12 Thread Simon Glass
On Wed, Oct 12, 2011 at 5:27 PM, Marek Vasut wrote: > On Wednesday, October 12, 2011 11:17:07 PM Simon Glass wrote: >> Hi Marek, >> >> On Wed, Oct 12, 2011 at 4:19 AM, Marek Vasut wrote: >> > On Wednesday, October 12, 2011 02:30:57 AM Simon Glass wrote: >> >> Hi Marek, >> >> >> >> On Wed, Oct 5,

Re: [U-Boot] [PATCH 00/12] Define ARCH_DMA_MINALIGN for all architectures

2011-10-12 Thread Kumar Gala
On Oct 12, 2011, at 4:01 PM, Anton Staaf wrote: > ARCH_DMA_MINALIGN is a new define borrowed from the Linux kernel. It is > used to define the minimum alignement requirement for a DMA buffer. This > series of patches ensures that it will always be defined in the arch specific > asm/cache.h head

Re: [U-Boot] [PATCH] tools: checkpatch.pl from Linux added to tools

2011-10-12 Thread Mike Frysinger
On Tuesday 11 October 2011 21:41:19 Joe Hershberger wrote: > --- /dev/null > +++ b/.checkpatch.conf > > +# Not Linux, so don't expect a Linux tree. > +--no-tree the only things checkpatch.pl uses $tree for, i think we want. like #include asm/foo.h instead of linux/foo.h. why do you want this ?

Re: [U-Boot] [PATCH] tools: checkpatch.pl from Linux added to tools

2011-10-12 Thread Xiangfu Liu
On 10/12/2011 09:41 AM, Joe Hershberger wrote: > Added from Linux - commit 30ecad51849ae132dc6ef6ddb62d499c7257515b > > Include config file to ignore common false-positives great thanks Joe. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.

Re: [U-Boot] Interrupt issue about bootvx command

2011-10-12 Thread Peter Pan
Hi Wolfgang, This is a customized board, which is very similar with Freescale's P1020RDB (which is p1_p2_rdb in u-boot), only we replace the process with a compatible one-core version. And the board support files are mostly copied from the p1_p2_rdb. And the following is my updated patch. My git

Re: [U-Boot] [PATCH] Blackfin: define CONFIG_SYS_CACHELINE_SIZE

2011-10-12 Thread Anton Staaf
On Wed, Oct 12, 2011 at 5:54 PM, Mike Frysinger wrote: > Common U-Boot API wants this define, so import asm/cache.h from Linux > to provide suitable defines. > > Signed-off-by: Mike Frysinger > --- >  arch/blackfin/include/asm/blackfin_local.h |    1 + >  arch/blackfin/include/asm/cache.h        

[U-Boot] [PATCH] Makefile: Remove MLO on make clean

2011-10-12 Thread Joel A Fernandes
From: Joel A Fernandes SPL builds could leave an MLO which is an mkimage of type omapimage Make sure its deleted on make clean/distclean Signed-off-by: Joel A Fernandes --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 99b9278..102a

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-10-12 Thread Kumar Gala
On Oct 12, 2011, at 4:23 PM, Simon Glass wrote: > Hi Scott, > > On Fri, May 6, 2011 at 1:28 PM, Scott Wood wrote: >> On Wed, 4 May 2011 16:30:00 -0700 >> Simon Glass wrote: >> >>> Hi Scott, >>> >>> This is a very useful patch and it works well. I have taken the liberty of >>> modifying it sl

Re: [U-Boot] checkpatch compliance

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 20:56:09 Joe Hershberger wrote: > WARNING:CONSIDER_KSTRTO: consider using kstrto* in preference to > simple_strtoul This one seems pretty clear and has been discussed before. i think we were going to add a .checkpatch.conf to the top level where we could add all the i

Re: [U-Boot] [PATCH v3 6/6] part_efi: dcache: allocate cacheline aligned buffers

2011-10-12 Thread Mike Frysinger
Acked-by: Mike Frysinger -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] checkpatch compliance

2011-10-12 Thread Joe Hershberger
On Sun, Oct 9, 2011 at 2:22 PM, Wolfgang Denk wrote: > Dear Joe Hershberger, > > In message > you > wrote: >> >> I'm attempting to make the files I touched in several recent >> patch-series chechkpatch.pl compliant. >> >> I've hit several cases which fail and probably shouldn't.  For each of >>

Re: [U-Boot] [PATCH v3 5/6] mmc: dcache: allocate cache aligned buffers for ext_csd

2011-10-12 Thread Mike Frysinger
Acked-by: Mike Frysinger -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] [PATCH v3 3/6] mmc: dcache: allocate cache aligned buffer for scr and switch_status

2011-10-12 Thread Mike Frysinger
built fine for me Acked-by: Mike Frysinger -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] [PATCH v3 1/6] cache: add ALLOC_CACHE_ALIGN_BUFFER macro

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 19:55:59 Anton Staaf wrote: > doc/README.arm-caches |2 + seems like most of the advice in this is arch independent -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boo

[U-Boot] [PATCH] Blackfin: define CONFIG_SYS_CACHELINE_SIZE

2011-10-12 Thread Mike Frysinger
Common U-Boot API wants this define, so import asm/cache.h from Linux to provide suitable defines. Signed-off-by: Mike Frysinger --- arch/blackfin/include/asm/blackfin_local.h |1 + arch/blackfin/include/asm/cache.h | 70 arch/blackfin/include/asm/conf

Re: [U-Boot] [PATCH 1/2] Tegra2: Make XTal speed configurable

2011-10-12 Thread Marek Vasut
On Wednesday, October 12, 2011 11:17:07 PM Simon Glass wrote: > Hi Marek, > > On Wed, Oct 12, 2011 at 4:19 AM, Marek Vasut wrote: > > On Wednesday, October 12, 2011 02:30:57 AM Simon Glass wrote: > >> Hi Marek, > >> > >> On Wed, Oct 5, 2011 at 10:05 AM, Marek Vasut wrote: > >> > On Wednesday, O

[U-Boot] [PATCH v3 1/6] cache: add ALLOC_CACHE_ALIGN_BUFFER macro

2011-10-12 Thread Anton Staaf
This macro is used to allocate cache line size aligned stack buffers for use with DMA hardware. Signed-off-by: Anton Staaf Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Mike Frysinger Cc: Aneesh V Cc: Albert ARIBAUD Cc: Wolfgang Denk --- doc/README.arm-caches |2 + include/common.h |

[U-Boot] [PATCH v3 4/6] ext2: Cache line aligned partial sector bounce buffer

2011-10-12 Thread Anton Staaf
Currently, if a device read request is done that does not begin or end on a sector boundary a stack allocated bounce buffer is used to perform the read, and then just the part of the sector that is needed is copied into the users buffer. This stack allocation can mean that the bounce buffer will n

[U-Boot] [PATCH v3 5/6] mmc: dcache: allocate cache aligned buffers for ext_csd

2011-10-12 Thread Anton Staaf
Currently the mmc_change_freq and mmc_startup functions allocates buffers on the stack that are passed down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size. This causes problems when using DMA and with caches enabled. This patch correctly cache alignes the bu

[U-Boot] [PATCH v3 6/6] part_efi: dcache: allocate cacheline aligned buffers

2011-10-12 Thread Anton Staaf
Currently part_efi.c allocates buffers for the gpt_header, the legacy_mbr, and the pte (partition table entry) that may be incorrectly aligned for DMA operations. This patch uses ALLOC_CACHE_ALIGN_BUFFER for the stack allocated buffers and memalign to replace the malloc of the pte. Signed-off-by:

[U-Boot] [PATCH v3 3/6] mmc: dcache: allocate cache aligned buffer for scr and switch_status

2011-10-12 Thread Anton Staaf
Currently the sd_change_freq function allocates two buffers on the stack that it passes down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size. This causes problems when using DMA and with caches enabled. This patch correctly cache alignes the buffers used for

[U-Boot] [PATCH v3 2/6] tegra: define CONFIG_SYS_CACHELINE_SIZE for tegra

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Tom Warren Cc: Simon Glass Cc: Mike Frysinger Cc: Albert ARIBAUD --- include/configs/tegra2-common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 73e0f05..a9c665

[U-Boot] [PATCH v3 0/6] Add cache line alignment support

2011-10-12 Thread Anton Staaf
The cache line alignment issue has gone around a couple of times now. This patch set implements all of the details that we have discussed about the implementation of ALLOC_CACHE_ALIGN_BUFFER. It also includes patches that use the macro to fix MMC and ext2 buffers, as well as define the CONFIG_SYS

Re: [U-Boot] SPL broken for pandaboard with v2011.09?

2011-10-12 Thread Steve Sakoman
On Wed, Oct 12, 2011 at 3:23 PM, John Rigby wrote: > My tree has a bunch of extra patches on top and is based on rc2. I > know it works: > > http://git.linaro.org/gitweb?p=boot/u-boot-linaro-stable.git;a=summary Very strange - it doesn't work for me :-( I build from the above repo, commit 5cb3

Re: [U-Boot] [PATCH 08/12] blackfin: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
On Wed, Oct 12, 2011 at 4:23 PM, Mike Frysinger wrote: > i'm just going to import Blackfin's asm/cache.h from Linux and define > CONFIG_SYS_CACHELINE_SIZE in Blackfin's asm/config.h OK, how would you like to deal with that with respect to this patch set? Would you like to do that and have me remo

Re: [U-Boot] [PATCH 08/12] blackfin: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Mike Frysinger
i'm just going to import Blackfin's asm/cache.h from Linux and define CONFIG_SYS_CACHELINE_SIZE in Blackfin's asm/config.h -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lis

Re: [U-Boot] [PATCH v6 5/5] tegra2: Add support for Ventana

2011-10-12 Thread Simon Glass
On Wed, Oct 12, 2011 at 3:53 PM, Stephen Warren wrote: > Ventana is a board which is very similar to Seaboard. Support it by > re-using board/nvidia/seaboard/seaboard.c with minor run-time conditionals. > > v5: Makefile: Use cmd_link_o_target, remove unused clean/distclean targets. > v6: Make gpio

[U-Boot] [PATCH v6 5/5] tegra2: Add support for Ventana

2011-10-12 Thread Stephen Warren
Ventana is a board which is very similar to Seaboard. Support it by re-using board/nvidia/seaboard/seaboard.c with minor run-time conditionals. v5: Makefile: Use cmd_link_o_target, remove unused clean/distclean targets. v6: Make gpio_config_uart_seaboard() static. Signed-off-by: Stephen Warren -

[U-Boot] [PATCH v6 4/5] tegra2: Modify MMC driver to handle power and cd GPIOs

2011-10-12 Thread Stephen Warren
Pass the GPIO numbers for power and card detect to tegra2_mmc_init(), and modify that function to perform all required GPIO initialization. This removes the need for board files to perform these operations. Move board_mmc_getcd() into tegra2_mmc.c now that the driver knows which GPIOs to use. Upd

[U-Boot] [PATCH v6 3/5] tegra2: Move board_mmc_init into board files

2011-10-12 Thread Stephen Warren
For Seaboard, this is mostly a cut/paste of board_mmc_init() and pin_mux_mmc() into seaboard.c; pin_mux_mmc() was modified to add some missing pinmux_tristate_disable calls for the GPIOs. For Harmony, those functions were modified to configure SDMMC2 (index 2) instead of SDMMC3 (index 1), since th

[U-Boot] [PATCH v6 2/5] tegra2: Move MMC clock initialization into MMC driver

2011-10-12 Thread Stephen Warren
This centralizes knowledge of MMC clocking into the MMC driver. This also removes clock setup from the board files, which will simplify later changes that modify the Harmony board to support the correct set of MMC controllers. Signed-off-by: Stephen Warren Acked-by: Simon Glass Tested-by: Simon

[U-Boot] [PATCH v6 1/5] tegra2: Use cmd_link_o_target in board Makefiles

2011-10-12 Thread Stephen Warren
v5: New patch Signed-off-by: Stephen Warren Acked-by: Mike Frysinger Tested-by: Simon Glass --- board/nvidia/harmony/Makefile |2 +- board/nvidia/seaboard/Makefile |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/nvidia/harmony/Makefile b/board/nvidia/harmon

Re: [U-Boot] SPL broken for pandaboard with v2011.09?

2011-10-12 Thread Steve Sakoman
On Wed, Oct 12, 2011 at 3:23 PM, John Rigby wrote: > My tree has the precalculated ddr timing patch: > > U-Boot/SPL: omap4: Make ddr pre-calculated timings as default. > > All ddr configurations(geometry/timings) are done automatically > by detecting the device connected at run time. Though this

Re: [U-Boot] SPL broken for pandaboard with v2011.09?

2011-10-12 Thread John Rigby
On Wed, Oct 12, 2011 at 4:08 PM, Steve Sakoman wrote: > On Wed, Oct 12, 2011 at 3:00 PM, John Rigby wrote: > >>> Has anyone else been able to successfully use SPL on pandaboard with >>> v2011.09? >>> >> You may want to see if the spl is oversize.  Sometime ago the size was >> pushed up to 38K bu

Re: [U-Boot] [PATCH 00/12] Define ARCH_DMA_MINALIGN for all architectures

2011-10-12 Thread Anton Staaf
Shoot, I just noticed that I forgot to purge the Gerrit generated Change-Id: tags from the commit messages. If and when I send a v2 series I'll remove these. Thanks, Anton On Wed, Oct 12, 2011 at 2:01 PM, Anton Staaf wrote: > ARCH_DMA_MINALIGN is a new define borrowed from the Linux kernel.

Re: [U-Boot] SPL broken for pandaboard with v2011.09?

2011-10-12 Thread Steve Sakoman
On Wed, Oct 12, 2011 at 3:00 PM, John Rigby wrote: >> Has anyone else been able to successfully use SPL on pandaboard with >> v2011.09? >> > You may want to see if the spl is oversize.  Sometime ago the size was > pushed up to 38K but the base was not moved to  accommodate the extra > size so th

Re: [U-Boot] SPL broken for pandaboard with v2011.09?

2011-10-12 Thread John Rigby
On Tue, Oct 11, 2011 at 3:00 PM, Steve Sakoman wrote: > I'm considering using SPL instead of x-load for an upcoming omap project. > > To begin learning about SPL I tried building and running SPL for > pandaboard using v2011.09. > > With my initial build I got the following output: > >  U-Boot SPL

Re: [U-Boot] [PATCH] net/dns.c: Fix broken endian handling in dns command

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 17:23:20 Bernhard Kaindl wrote: > The U-Boot dns command only worked in little-endian CPUs so far because it > was based on an antique version of the TADNS source which was using a > broken macro to read the shorts found in DNS reply messages by shifting > the LSB from

[U-Boot] [PATCH 1/3] powerpc/p5020: fixup portal config info

2011-10-12 Thread Kumar Gala
From: Haiying Wang P5020 has 10 qman portals, we need to configure all of them: * As there are only 2 physical cores sdest can only be 0 or 1 * We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing) * We set P

[U-Boot] [PATCH 3/3] powerpc/p3041: fixup portal config info

2011-10-12 Thread Kumar Gala
From: Haiying Wang P3041 has 10 qman portals, we need to configure all of them: * As there are only 4 physical cores sdest can only be 0 to 3 * We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing) * We set P

[U-Boot] [PATCH 2/3] powerpc/p2041: fixup portal config info

2011-10-12 Thread Kumar Gala
From: Haiying Wang P2041 has 10 qman portals, we need to configure all of them: * As there are only 4 physical cores sdest can only be 0 to 3 * We assign dqrr & frame data LIODNs for all portals so if they are utilized the proper mapping tables can be setup uniquely (PAMU stashing) * We set P

[U-Boot] [PATCH] sf: fix erase debug output

2011-10-12 Thread Mike Frysinger
From: Vadim Bendebury We want to show the length, so multiplying by sector size makes no sense. This is a hold over from the erase code before the big refactor. Signed-off-by: Vadim Bendebury Signed-off-by: Mike Frysinger --- drivers/mtd/spi/spi_flash.c |3 +-- 1 files changed, 1 insertio

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-10-12 Thread Simon Glass
Hi Scott, On Fri, May 6, 2011 at 1:28 PM, Scott Wood wrote: > On Wed, 4 May 2011 16:30:00 -0700 > Simon Glass wrote: > >> Hi Scott, >> >> This is a very useful patch and it works well. I have taken the liberty of >> modifying it slightly, because I think you should subtract 1 from the port >> nu

[U-Boot] [PATCH] net/dns.c: Fix broken endian handling in dns command

2011-10-12 Thread Bernhard Kaindl
From: Bernhard Kaindl The U-Boot dns command only worked in little-endian CPUs so far because it was based on an antique version of the TADNS source which was using a broken macro to read the shorts found in DNS reply messages by shifting the LSB from the message into the CPU's MSB of a short int

Re: [U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM

2011-10-12 Thread Igor Grinberg
On 10/12/11 12:18, Premi, Sanjeev wrote: >> -Original Message- >> From: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Igor Grinberg >> Sent: Wednesday, October 12, 2011 1:24 PM >> To: Kumar Nath, Chandan >> Cc: u-boot@lists.denx.de >> Subject: Re: [U-

[U-Boot] [PATCH] powerpc/85xx: Added secure boot option for P2041RDB boards

2011-10-12 Thread Kumar Gala
From: Kuldip Giroh Signed-off-by: Kuldip Giroh Signed-off-by: Kumar Gala --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index d8ff849..25736f9 100644 --- a/boards.cfg +++ b/boards.cfg @@ -669,6 +669,7 @@ P2020RDB-PC_36BIT_SDCARD

Re: [U-Boot] [PATCH 1/2] Tegra2: Make XTal speed configurable

2011-10-12 Thread Simon Glass
Hi Marek, On Wed, Oct 12, 2011 at 4:19 AM, Marek Vasut wrote: > On Wednesday, October 12, 2011 02:30:57 AM Simon Glass wrote: >> Hi Marek, >> >> On Wed, Oct 5, 2011 at 10:05 AM, Marek Vasut wrote: >> > On Wednesday, October 05, 2011 04:10:56 PM Simon Glass wrote: >> >> Hi Marek, >> >> >> >> On F

Re: [U-Boot] [RESEND PATCH v2] tegra2: Enable data cache

2011-10-12 Thread Simon Glass
Hi Anton, On Wed, Oct 12, 2011 at 10:54 AM, Anton Staaf wrote: > On Tue, Oct 11, 2011 at 5:35 PM, Simon Glass wrote: >> This enables the data cache on Tegra2 boards. >> >> As discussed on the list, this is better off in the Tegra2 cpu code than in a >> particular vendor directory. We should be s

Re: [U-Boot] [PATCH v5 4/5] tegra2: Modify MMC driver to handle power and cd GPIOs

2011-10-12 Thread Simon Glass
On Wed, Oct 12, 2011 at 10:52 AM, Stephen Warren wrote: > Pass the GPIO numbers for power and card detect to tegra2_mmc_init(), and > modify that function to perform all required GPIO initialization. This > removes the need for board files to perform these operations. > > Move board_mmc_getcd() in

Re: [U-Boot] [PATCH v5 2/5] tegra2: Move MMC clock initialization into MMC driver

2011-10-12 Thread Simon Glass
On Wed, Oct 12, 2011 at 10:52 AM, Stephen Warren wrote: > This centralizes knowledge of MMC clocking into the MMC driver. This also > removes clock setup from the board files, which will simplify later changes > that modify the Harmony board to support the correct set of MMC controllers. > > Signe

Re: [U-Boot] [PATCH v5 3/5] tegra2: Move board_mmc_init into board files

2011-10-12 Thread Simon Glass
On Wed, Oct 12, 2011 at 10:52 AM, Stephen Warren wrote: > For Seaboard, this is mostly a cut/paste of board_mmc_init() and > pin_mux_mmc() into seaboard.c; pin_mux_mmc() was modified to add some > missing pinmux_tristate_disable calls for the GPIOs. > > For Harmony, those functions were modified t

Re: [U-Boot] [PATCH v5 1/5] tegra2: Use cmd_link_o_target in board Makefiles

2011-10-12 Thread Simon Glass
On Wed, Oct 12, 2011 at 10:52 AM, Stephen Warren wrote: > v5: New patch > > Signed-off-by: Stephen Warren Tested-by: Simon Glass > --- >  board/nvidia/harmony/Makefile  |    2 +- >  board/nvidia/seaboard/Makefile |    2 +- >  2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/bo

[U-Boot] [PATCH 12/12] cache: include asm/cache.h for ARCH_DMA_MINALIGN definition

2011-10-12 Thread Anton Staaf
ARCH_DMA_MINALIGN will be used to allocate DMA buffers that are aligned correctly. In all current cases this means that the DMA buffer will be aligned to at least the L1 data cache line size of the configured architecture. If the board configuration file does not specify the architecture L1 data

[U-Boot] [PATCH 01/12] arm: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Albert ARIBAUD Change-Id: If1063f66775367266a370dd60a2c0b72d3e13eee --- arch/arm/include/asm/cache.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/cache.h b/arch/ar

[U-Boot] [PATCH 07/12] avr32: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Reinhard Meyer Change-Id: I5965f64804c3938823be716f45298f093871fe83 --- arch/avr32/include/asm/cache.h | 40 1 files changed, 40 insertions(+), 0 deletions(-) create mode 100644 a

[U-Boot] [PATCH 05/12] sh: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Nobuhiro Iwamatsu Change-Id: I7dc5fb442b0e9173e9acdaf7acce3014c5b37625 --- arch/sh/include/asm/cache.h | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/sh/include/asm/cache.h b/

[U-Boot] [PATCH 06/12] sparc: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Daniel Hellstrom Change-Id: If33383ff88e0555204c4ed1534d3961587fdee3a --- arch/sparc/include/asm/cache.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/sparc/include/asm/cache.h b/ar

[U-Boot] [PATCH 11/12] x86: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Graeme Russ Change-Id: Ib4b497910f674904f5fd0d9557a082d661c248bb --- arch/x86/include/asm/cache.h | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 arch/x86/in

[U-Boot] [PATCH 04/12] powerpc: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Wolfgang Denk Cc: Stefan Roese Change-Id: I5a007a515ef16e77003aaa74f9295ecc5104aa36 --- arch/powerpc/include/asm/cache.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/as

[U-Boot] [PATCH 08/12] blackfin: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Change-Id: Ibdc2483c66c50d698108b790dd204fae38c7cb48 --- arch/blackfin/include/asm/cache.h | 36 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 arch/blackfin/include/

[U-Boot] [PATCH 02/12] m68k: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Jason Jin Change-Id: Ica2b7459b7a61b521116eb23dc911451b4c2a9a5 --- arch/m68k/include/asm/cache.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/m68k/include/asm/cache.h b/arch/m68k/i

[U-Boot] [PATCH 10/12] mips: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Shinya Kuribayashi Change-Id: Ia6cc9a950e0452926abf39867a70ec3910fbd1dd --- arch/mips/include/asm/cache.h | 36 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 ar

[U-Boot] [PATCH 00/12] Define ARCH_DMA_MINALIGN for all architectures

2011-10-12 Thread Anton Staaf
ARCH_DMA_MINALIGN is a new define borrowed from the Linux kernel. It is used to define the minimum alignement requirement for a DMA buffer. This series of patches ensures that it will always be defined in the arch specific asm/cache.h header and that asm/cache.h is included in common.h. I chose

[U-Boot] [PATCH 09/12] microblaze: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Michal Simek Change-Id: I8ee488ae0654cebac34f4d65771b4a8edbadf6fd --- arch/microblaze/include/asm/cache.h | 37 +++ 1 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 arc

[U-Boot] [PATCH 03/12] nios2: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-12 Thread Anton Staaf
Signed-off-by: Anton Staaf Cc: Mike Frysinger Cc: Lukasz Majewski Cc: Scott McNutt Change-Id: I2982360f1c2ad9e8549d5b9ecdbb423d34b75157 --- arch/nios2/include/asm/cache.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/nios2/include/asm/cache.h b/arch/

[U-Boot] [PATCH] powerpc/85xx: Drop CONFIG_VIDEO_LOGO on P1_P2_RDB-PC boards to reduce size

2011-10-12 Thread Kumar Gala
With older compilers (gcc-4.2.x) we run into issues that resulting image is too large. We can save a bunch of space by removing the video logo as video support in general on these boards is a nice to have since it requires a PCIe add-on card. Signed-off-by: Kumar Gala --- include/configs/p1_p2_

Re: [U-Boot] [GIT PULL] MIPS patch

2011-10-12 Thread Wolfgang Denk
Dear Shinya Kuribayashi, In message <4e95ab8a.2050...@pobox.com> you wrote: > Hi Wolfgang, > > please pull the following patchset from Xiangfu introducing NanoNote > initial support. The device is one of most easy-to-get MIPS devices > and active people and communities are there in the world. T

Re: [U-Boot] Please pull u-boot-ppc4xx/master

2011-10-12 Thread Wolfgang Denk
Dear Stefan Roese, In message <201110121159.41999...@denx.de> you wrote: > Hi Wolfgang, > > please pull the following patches from Dirk: > > The following changes since commit 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff: > > arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used

Re: [U-Boot] Please pull u-boot-ubi/master

2011-10-12 Thread Wolfgang Denk
Dear Stefan Roese, In message <201110121143.45311...@denx.de> you wrote: > Hi Wolfgang, > > please pull those 2 patches: > > The following changes since commit 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff: > > arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used > (2011-10-09

Re: [U-Boot] Pull request: nand flash

2011-10-12 Thread Wolfgang Denk
Dear Scott Wood, In message <20111010221201.ga20...@schlenkerla.am.freescale.net> you wrote: > The following changes since commit 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff: > > arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used > (2011-10-09 23:24:50 +0200) > > are availabl

Re: [U-Boot] Pull request - microblaze

2011-10-12 Thread Wolfgang Denk
Dear Michal Simek, In message <4e929a07.5080...@monstr.eu> you wrote: > Dear Wolfgang Denk, > > please pull the following changes to your tree. > > Thanks, > Michal > > > The following changes since commit 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff: >Wolfgang Denk (1): > arm920t/s3c

Re: [U-Boot] [GIT PULL] Pull request u-boot-85xx.git (updated)

2011-10-12 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > [ fixed mpc8548cds config patch to pass checkpatch ] > > The following changes since commit 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff: > Wolfgang Denk (1): > arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used > > are availab

Re: [U-Boot] [PATCH v4 4/4] tegra2: Add support for Ventana

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 15:29:34 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > I don't have this patch on my list. My interpretation was we skip it? > > > > it's dead/inconsistent code (as i showed), and i don't think using it > > gains us anything. for the few edge cases where arches/b

Re: [U-Boot] [PATCH v4 4/4] tegra2: Add support for Ventana

2011-10-12 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201110121515.59543.vap...@gentoo.org> you wrote: > > > I don't have this patch on my list. My interpretation was we skip it? > > it's dead/inconsistent code (as i showed), and i don't think using it gains > us > anything. for the few edge cases where arches/boar

Re: [U-Boot] checkpatch compliance

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 14:41:33 Wolfgang Denk wrote: > Mike Frysinger wrote: > > perhaps we should start a top level TODO file where we can start logging > > all the known items we want to get done, and for people who feel like > > tackling something crazy, they can pick off items from there.

Re: [U-Boot] [PATCH v4 4/4] tegra2: Add support for Ventana

2011-10-12 Thread Mike Frysinger
On Wednesday 12 October 2011 14:38:18 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > > i've posted a big patch to do that already, but it hasn't yet been > > > > merged -mike > > > > > > I found it at: > > > http://lists.denx.de/pipermail/u-boot/2011-September/101648.html > > > > > > It's unc

Re: [U-Boot] checkpatch compliance

2011-10-12 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201110121357.45088.vap...@gentoo.org> you wrote: > > > Yes. The MK_STR() should be cleaned up as well, of course. Please read as: "... the use of MK_STR() should be cleaned up..." > some of these can be converted away (like CONFIG_ROOTPATH), but MK_STR() > itse

Re: [U-Boot] [PATCH v4 4/4] tegra2: Add support for Ventana

2011-10-12 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201110121345.35351.vap...@gentoo.org> you wrote: > > > > i've posted a big patch to do that already, but it hasn't yet been merged > > > -mike > > > > I found it at: > > http://lists.denx.de/pipermail/u-boot/2011-September/101648.html > > > > It's unclear from th

[U-Boot] [PATCH v3 2/2] omap4_panda: Build in cmd_gpio support on panda

2011-10-12 Thread Joe Hershberger
Enable the gpio command Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Sandeep Paulraj --- Changes for v2: - Correct a bad merge... sorry. Changes for v3: - Boolean defines should not have a value include/configs/omap4_panda.h |3 +++ 1 files changed, 3 insertions(+), 0 deletion

  1   2   3   >