Re: [U-Boot] [PATCH] i2c: Move PPC4xx I2C driver into drivers/i2c directory

2010-04-06 Thread Heiko Schocher
Hello Stefan, Stefan Roese wrote: > This patch moves the PPC4xx specific I2C device driver into the I2C > drivers directory. All 4xx config headers are updated to include this > driver. Applied to i2c master. Thanks bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Z

[U-Boot] [i2c] Pull Request

2010-04-06 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit ffa37fc98d71ef930bccd4e9eed37f6ce6b4d6af: Wolfgang Denk (1): Merge branch 'next' are available in the git repository at: git://git.denx.de/u-boot-i2c.git master Stefan Roese (1): i2c: Move PPC4xx I2C driver into drivers/i2c di

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Heiko Schocher
Hello Ben, Ben Warren wrote: > Add a new function to the eth_device struct for programming a network > controller's hardware address. > > After all network devices have been initialized and the proper MAC address for > each has been determined, make a device driver call to program the address > i

[U-Boot] support of SMDK2450

2010-04-06 Thread Magazzino
Hi all. Is the SMDK2450 supported by u-boot? It isn't a listed board, but it should be quite similar to others smdk24xx. If not, I have one of those by hand, and I have to port u-boot to this, so any help is appreciated (I've seen someone else is doing this, we can work together). BTW, what is

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko Schocher > Sent: Tuesday, April 06, 2010 12:49 PM > To: Ben Warren > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [RFC] Program net device MAC addresses > after init

Re: [U-Boot] [PATCH] fix lockup in mcfmii/mii_discover_phy() in case communication fails

2010-04-06 Thread w . wegner
Hi Ben, On 4 Apr 2010 at 22:44, Ben Warren wrote: > Hi Wolfgang, > > On 3/30/2010 10:19 AM, Wolfgang Wegner wrote: > > Signed-off-by: Wolfgang Wegner > > --- > > drivers/net/mcfmii.c |6 +- > > 1 files changed, 5 insertions(+), 1 deletions(-) > > > > diff --git a/drivers/net/mcfmii.c

[U-Boot] [PATCH v2 RFC] fix lockup in mcfmii/mii_discover_phy() in case communication fails

2010-04-06 Thread Wolfgang Wegner
Signed-off-by: Wolfgang Wegner --- modified formatting of inner for() loop and changed if(cond){...} to if(!cond) continue; to avoid deep indentation. drivers/net/mcfmii.c | 45 +++-- 1 files changed, 23 insertions(+), 22 deletions(-) diff --git a/drive

Re: [U-Boot] [PATCH] fix lockup in mcfmii/mii_discover_phy() in case communication fails

2010-04-06 Thread w . wegner
Hi, I just sent another proposal having the for(...) in only two lines by replacing the outer indentation level if (phytype != 0x) {... } to if (phytype == 0x) continue; Any comments on this? Regards, Wolfgang

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-06 Thread Michael Zaidman
On Sat, Apr 3, 2010 at 3:22 AM, Timur Tabi wrote: > On Fri, Apr 2, 2010 at 8:49 AM, Michael Zaidman > wrote: > >> +inline static void ecc_clear(volatile ddr83xx_t *ddr) > > Please use I/O accessors instead of "volatile". > > -- > Timur Tabi > Linux kernel developer at Freescale > I do not questio

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2010-04-06 Thread Stefano Babic
Hi Tom, in the pull request there are also two patches by Heiko that were already included in the late pull, but they generated warnings and are not yet in mainline. The patch to remove these warnings was already merged by Wolfgang and it is in mainline. The following changes since commit ffa37f

Re: [U-Boot] at91sam9g45ekes SDHC/MMC

2010-04-06 Thread Ulf Samuelsson
Henry SĂșcart skrev: > Hi, > > I've been trying to get an SD card working with an at91sam9g45ek-es board. I > read a couple of threads in the archive and ended up doing this: > I have booted the AT91SAM9G45EKES (Actually the AT91SAM9M10EKES, but it is almost the same) from SD-Card for the last mo

Re: [U-Boot] [PATCH 1/8] Nomadik: move timer code to drivers/misc

2010-04-06 Thread Rabin VINCENT
On Sun, Mar 28, 2010 at 07:30:01PM +0200, Tom wrote: > Rabin Vincent wrote: > > The Nomadik MTU driver will also be used on the U8500 SoC, so move it > > out of platform-specific code. > > > > Acked-by: Alessandro Rubini > > Acked-by: Michael Brandt > > Signed-off-by: Rabin Vincent > > --- > >

Re: [U-Boot] [PATCH 2/8] Nomadik: move gpio driver to drivers/gpio

2010-04-06 Thread Rabin VINCENT
On Sun, Mar 28, 2010 at 07:32:17PM +0200, Tom wrote: > Rabin Vincent wrote: > > diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h [...] > > #ifndef __ASSEMBLY__ > > -#include > > +#include > > It would be better if the #include was not in config file. > Can this be moved to the

Re: [U-Boot] [PATCH v2] Marvell GuruPlug Board Support

2010-04-06 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Monday, March 22, 2010 1:16 AM > To: Tom; Prafulla Wadaskar > Cc: Siddarth Gore; u-boot@lists.denx.de; Ashish Karkare; > Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH v2] Marvell GuruPlug Board Support > > De

Re: [U-Boot] [PATCH 1/8] Nomadik: move timer code to drivers/misc

2010-04-06 Thread Alessandro Rubini
>> > .../{asm-arm/arch-nomadik/mtu.h => nomadik_mtu.h} |0 >> >> Move the nomadik_gpio.h and nomadik_mtu.h into nomadik.h >> Just to have 1 nomadik *.h > > nomadik.h is currently used for 8815-specific addresses. If Alessandro > has no objections, I will move it to, say, nmdk8815.h and then

[U-Boot] [PATCH] net: Kirkwood_egiga.c bugfixes for rx path

2010-04-06 Thread Prafulla Wadaskar
Cosmetic changes: Few comments updated Functionality: Rx packet frame size is programming should be done when port is in disabled state. this is corrected Signed-off-by: Prafulla Wadaskar --- drivers/net/kirkwood_egiga.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --

[U-Boot] [PATCH] net:kirkwood_egiga.c: MAC addresses programming using write_hwaddr

2010-04-06 Thread Prafulla Wadaskar
This patch depends upon a patch http://lists.denx.de/pipermail/u-boot/2010-April/069478.html Added a new function kwgbe_write_hwaddr for programming egiga controller's hardware address. This function will be called for each egiga port being used This is a significant improvement and better soluti

[U-Boot] LinkedIn Messages, 4/06/2010

2010-04-06 Thread LinkedIn Communication
LinkedIn REMINDERS: Invitation Reminders: * View Invitation from Christopher McNamara http://www.linkedin.com/e/YhLefj14Y3m-0E8v1ZCDgtixJP5Kn9_7/blk/I1908441891_2/39vcjAUcjgQe30VckALqnpPbOYWrSlI/svi/ PENDING MESSAGES: There are a total of 12 messages awaiting

[U-Boot] [PATCH v2] net:kirkwood_egiga.c: MAC addresses programming using write_hwaddr

2010-04-06 Thread Prafulla Wadaskar
This patch depends upon a patch http://lists.denx.de/pipermail/u-boot/2010-April/069478.html Added a new function kwgbe_write_hwaddr for programming egiga controller's hardware address. This function will be called for each egiga port being used This is a significant improvement and better soluti

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Wolfgang Denk
Dear Ben Warren, In message <1270450929-17004-1-git-send-email-biggerbadder...@gmail.com> you wrote: > Add a new function to the eth_device struct for programming a network > controller's hardware address. > > After all network devices have been initialized and the proper MAC address for > each

[U-Boot] [PATCH] pm9261: remove CONFIG_CMD_AUTOSCRIPT

2010-04-06 Thread Asen Dimov
Signed-off-by: Asen Dimov --- include/configs/pm9261.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/pm9261.h b/include/configs/pm9261.h index 47bb8c0..41e28d3 100644 --- a/include/configs/pm9261.h +++ b/include/configs/pm9261.h @@ -200,7 +200,6 @@ #in

[U-Boot] [PATCH] pm9261 converted to at91 soc access

2010-04-06 Thread Asen Dimov
Signed-off-by: Asen Dimov --- board/ronetix/pm9261/led.c| 18 +++-- board/ronetix/pm9261/pm9261.c | 152 +++- include/configs/pm9261.h | 68 +-- 3 files changed, 130 insertions(+), 108 deletions(-) diff --git a/board/ronetix/pm92

[U-Boot] [OT] initrd problem with m68k linux

2010-04-06 Thread Wolfgang Wegner
Dear all, I know it is a little off-topic for this list, but maybe it is somewhat related to U-Boot. I really do not know at which stage I am making a mistake here. I have a MCF54455 board running U-Boot and a slightly modified kernel from Freescale (linux 2.6.25). I can boot the system using ini

[U-Boot] [PATCH v3 0/3] TI: tnetv107x patch series

2010-04-06 Thread Cyril Chemparathy
TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a bunch on on-chip integrated peripherals. This patch series generalizes current ARM1176 code to allow for the addition of new ARM1176 SOCs. The remaining patches in this series add arch and board support. The contents of th

[U-Boot] [PATCH v3 1/3] ARM1176: Coexist with other ARM1176 platforms

2010-04-06 Thread Cyril Chemparathy
The current ARM1176 CPU specific code is too specific to the SMDK6400 architecture. The following changes were necessary prerequisites for the addition of other SoCs based on ARM1176. Existing board's (SMDK6400) configuration has been modified to keep behavior unchanged despite these changes. 1.

[U-Boot] [PATCH v3 3/3] TI: TNETV107X EVM initial support

2010-04-06 Thread Cyril Chemparathy
TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a bunch on on-chip integrated peripherals. This patch adds support for the TNETV107X EVM board. Signed-off-by: Cyril Chemparathy --- v3: Added NAND MTDID comment in board config v2: Added maintainers entry v2: Fixed sort ord

[U-Boot] [PATCH] remove myself as a maintainer of several ARM boards

2010-04-06 Thread Guennadi Liakhovetski
Since I haven't been actively maintaining these boards for a long while, keeping myself as their maintainer makes no sense. Signed-off-by: Guennadi Liakhovetski --- I've submitted my last patch to U-Boot almost a year ago and haven't been following U-Boot development since then. This, the gene

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-06 Thread Timur Tabi
On Tue, Apr 6, 2010 at 4:28 AM, Michael Zaidman wrote: > I do not question the rationale behind the requirement to use the I/O > accessors. My question is - if there are any exceptions to the rule? Not really. The problem is that volatile does not take the PowerPC execution ordering into accoun

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-06 Thread Michael Zaidman
>> Rewriting code to use accessors API added 56 bytes or 14 opcodes. It >> doubled the routine's execution time. The routine is called in the >> loop per each ecc word, that significantly increased execution time of >> the ECC POST test and consequently board startup time. > > If this is really a p

[U-Boot] How to add multiple serial port support fort MPC8379 ?

2010-04-06 Thread harsh poshtiwala
Hi All, I have an evaluation board with MPC8379. It has couple of serial ports. Can anyone please let me know the detailed steps to bringup the two serial ports and communicate over it simultaneously? -- Thanks & Regards Harsh ___ U-Boot mailing list U

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-06 Thread Timur Tabi
On Tue, Apr 6, 2010 at 10:29 AM, Michael Zaidman wrote: > I thought that is what I actually do in this patch... Not quite. You're missing the memory barrier that the sync() function includes. You're doing this: __asm__ __volatile__("sync"); But the sync() macros does this: static inli

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Ben Warren
Hi Wolfgang, On 4/6/2010 5:57 AM, Wolfgang Denk wrote: > Dear Ben Warren, > > In message<1270450929-17004-1-git-send-email-biggerbadder...@gmail.com> you > wrote: > >> Add a new function to the eth_device struct for programming a network >> controller's hardware address. >> >> After all netw

Re: [U-Boot] [PATCH v2 RFC] fix lockup in mcfmii/mii_discover_phy() in case communication fails

2010-04-06 Thread Ben Warren
Hi Wolfgang, On 4/6/2010 2:13 AM, Wolfgang Wegner wrote: > Signed-off-by: Wolfgang Wegner > --- > modified formatting of inner for() loop and changed if(cond){...} to > if(!cond) continue; to avoid deep indentation. > > drivers/net/mcfmii.c | 45 +++-- >

[U-Boot] [PATCH] malloc: sbrk() should return MORECORE_FAILURE instead of NULL on failure

2010-04-06 Thread karl . beldan
Signed-off-by: Karl Beldan --- common/dlmalloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/dlmalloc.c b/common/dlmalloc.c index 205fc40..2276532 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -1515,7 +1515,7 @@ void *sbrk(ptrdiff_t increment)

[U-Boot] Using initramfs instead of an initrd image ?

2010-04-06 Thread Chip
Greetings, Is there a way making uboot use initramfs images instead of initrd ? I have a glacier AMCC460GT PPC board. I generate my initramfs image from my rootfs directory as: $ cd rootfs $ find . | cpio -o -H newc | gzip > ../rootfs.img so I tried first to use the initramfs image directly =>

Re: [U-Boot] [PATCH 2/3 v2] drivers/serial/serial.c: code maintainability improvments.

2010-04-06 Thread Kim Phillips
On Fri, 2 Apr 2010 12:10:42 +0300 Michael Zaidman wrote: > Signed-off-by: Michael Zaidman > --- Acked-by: Kim Phillips Kim ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] How to add multiple serial port support fort MPC8379 ?

2010-04-06 Thread Kim Phillips
On Tue, 6 Apr 2010 11:29:30 -0400 harsh poshtiwala wrote: > I have an evaluation board with MPC8379. It has couple of serial ports. > > Can anyone please let me know the detailed steps to bringup the two serial > ports and communicate over it simultaneously? look into defining CONFIG_SERIAL_MUL

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-06 Thread Kim Phillips
On Tue, 6 Apr 2010 18:29:08 +0300 Michael Zaidman wrote: > >> Rewriting code to use accessors API added 56 bytes or 14 opcodes. It > >> doubled the routine's execution time. The routine is called in the > >> loop per each ecc word, that significantly increased execution time of > >> the ECC POST

[U-Boot] U-boot environment redundancy

2010-04-06 Thread Nitin Mahajan
Hello, I have some query regarding how the u-boot environment redundancy works. As per my understanding, we need to set the CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_SIZE_REDUND macros in the board config file. The boot loader is supposed to read the both the environments and based on the obsolete

Re: [U-Boot] [PATCH 01/28] nios2: add nios2-generic board

2010-04-06 Thread Thomas Chou
On 04/05/2010 01:36 PM, Ben Warren wrote: > Hi Thomas, > > On 3/19/2010 12:43 AM, Thomas Chou wrote: >> This is a generic approach to port u-boot for nios2 boards. >> It uses a new set of device drivers, such as the cfi flash, spi >> lash, nand flash and new ethernet drivers. >> > >> +#ifdef CONFI

Re: [U-Boot] [PATCH v2] net: add opencore 10/100 ethernet mac driver

2010-04-06 Thread Thomas Chou
Hi Ben, Thanks. On 04/05/2010 02:31 PM, Ben Warren wrote: > Hi Thomas, > >> + */ >> +struct ethoc { >> +void *iobase; > eth_device struct already has this. If you also want it in the > private struct, please don't use void *. OK. I will use eth_device and remove the private iobase. >> + >>

Re: [U-Boot] [PATCH v4 tabify] net: add altera triple speeds ethernet mac driver

2010-04-06 Thread Thomas Chou
Hi Ben, Thanks. On 04/05/2010 02:19 PM, Ben Warren wrote: > >> + >> +static int tse_eth_send(struct eth_device *dev, volatile void *packet, >> +int length); >> +static int tse_eth_rx(struct eth_device *dev); >> +static void tse_eth_halt(struct eth_device *dev); >> +static void tse_eth

Re: [U-Boot] [PATCH] 85xx: Set HID1[mbdd] on e500v2 rev5.0 or greater

2010-04-06 Thread Kumar Gala
On Mar 31, 2010, at 12:18 AM, Kumar Gala wrote: > From: Sandeep Gopalpet > > The HID1[MBDD] bit is new on rev5.0 or greater cores and will optimize > the performance of mbar/eieio instructions. > > Signed-off-by: Sandeep Gopalpet > --- > cpu/mpc85xx/release.S |7 +++ > cpu/mpc85x

Re: [U-Boot] [PATCH] [v2] p2020ds: add alternate boot bank support using the ngPIXIS FPGA

2010-04-06 Thread Kumar Gala
On Apr 1, 2010, at 10:49 AM, Timur Tabi wrote: > The Freescale P2020DS board uses a new type of PIXIS FPGA, called the ngPIXIS. > The ngPIXIS has one distinct new feature: the values of the on-board switches > can be selectively overridden with shadow registers. This feature is used to > boot fr

Re: [U-Boot] [PATCH] [v2] fsl: improve the PIXIS code and fix a few bugs

2010-04-06 Thread Kumar Gala
On Mar 31, 2010, at 5:44 PM, Timur Tabi wrote: > Refactor and document the Freescale PIXIS code, used on most 85xx and 86xx > boards. This makes the code easier to read and more flexible. > > Delete pixis.h, because none of the exported functions were actually being > used by any other file. M

[U-Boot] [PATCH 01/10] Blackfin: disable NetBSD bootm support by default

2010-04-06 Thread Mike Frysinger
There is no Blackfin/NetBSD port, so enabling support for it by default doesn't make any sense. Signed-off-by: Mike Frysinger --- include/asm-blackfin/config-pre.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/asm-blackfin/config-pre.h b/include/asm-blackfin

[U-Boot] [PATCH 03/10] Blackfin: relax .data alignment

2010-04-06 Thread Mike Frysinger
The strictest alignment on Blackfin systems is 32bits (since that is the largest load instruction), so don't force 256byte alignment here. Signed-off-by: Mike Frysinger --- lib_blackfin/u-boot.lds.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib_blackfin/u-boot.lds

[U-Boot] [PATCH 04/10] Blackfin: bf537-stamp: add board test defines

2010-04-06 Thread Mike Frysinger
We tweak the configs a little when doing automated hardware tests. Signed-off-by: Mike Frysinger --- include/configs/bf537-stamp.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index de2add7..d3159e5

[U-Boot] [PATCH 02/10] Blackfin: drop reference to gd->reloc_off

2010-04-06 Thread Mike Frysinger
The reloc_off member no longer exists, so drop it. Also change this function so that it is always compiled and prevents latent issues like this in the future. Reported-by: Peter Meerwald Signed-off-by: Mike Frysinger --- lib_blackfin/board.c |8 +--- 1 files changed, 5 insertions(+), 3

[U-Boot] [PATCH 07/10] Blackfin: link with normal ABI target

2010-04-06 Thread Mike Frysinger
If someone uses the FDPIC toolchain to compile U-Boot, make sure the linker knows to use the normal ABI target rather than the FDPIC one. This wasn't needed with older toolchains, but when we fixed the linker such that the default target changed based on tuple, this broke. Signed-off-by: Mike Frys

[U-Boot] [PATCH 05/10] Blackfin: cm-bf561: update network/env settings

2010-04-06 Thread Mike Frysinger
From: Harald Krapfenbauer Switch to the SMC911X driver by default now, and fix LDR env settings. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger --- board/cm-bf561/cm-bf561.c |4 ++-- include/configs/cm-bf561.h | 11 --- 2 files changed, 6 insertions(+), 9 dele

[U-Boot] [PATCH 08/10] Blackfin: call watchdog_init() for external watchdogs

2010-04-06 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- lib_blackfin/board.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c index b0b52b2..4e9bb19 100644 --- a/lib_blackfin/board.c +++ b/lib_blackfin/board.c @@ -199,6 +199,7 @@ void init_cplbta

[U-Boot] [PATCH 00/10] Blackfin updates for 2010.06

2010-04-06 Thread Mike Frysinger
New board port and a few random updates. Nothing crazy here. Brent Kandetzki (1): Blackfin: IP04: new board port Harald Krapfenbauer (1): Blackfin: cm-bf561: update network/env settings Mike Frysinger (8): Blackfin: disable NetBSD bootm support by default Blackfin: drop reference to gd-

[U-Boot] [PATCH 06/10] Blackfin: sync ptrace headers with linux

2010-04-06 Thread Mike Frysinger
Scrub a lot of dead cruft in the process. Signed-off-by: Mike Frysinger --- include/asm-blackfin/ptrace.h | 297 - include/asm-blackfin/traps.h | 62 ++--- 2 files changed, 126 insertions(+), 233 deletions(-) diff --git a/include/asm-blackfin/ptra

[U-Boot] [PATCH 09/10] Blackfin: drop bfin #undef in linker script

2010-04-06 Thread Mike Frysinger
Now that the linker script is preprocessed with -ansi, there is no need to manually undef the bfin define. Signed-off-by: Mike Frysinger --- lib_blackfin/u-boot.lds.S |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib_blackfin/u-boot.lds.S b/lib_blackfin/u-boot.lds.S

[U-Boot] [PATCH 10/10] Blackfin: IP04: new board port

2010-04-06 Thread Mike Frysinger
From: Brent Kandetzki A low cost 4 port IP-PBX board. Signed-off-by: Brent Kandetzki Signed-off-by: Mike Frysinger --- MAINTAINERS|4 + MAKEALL|1 + Makefile |2 +- board/ip04/Makefile| 54 board/ip04/config.mk |

[U-Boot] maintainer for Socrates board port?

2010-04-06 Thread Kumar Gala
Is anyone maintaining this port? With some recent changes post v2010.03 it no longer builds for me because we exceed image size. ld: section .bootpg [f000 -> f1e3] overlaps section .u_boot_cmd [eb0c -> f0f3] ld: u-boot: section .bootpg vma 0xf

Re: [U-Boot] [PATCH 6/8] ux500: add SoC-specific code

2010-04-06 Thread Rabin VINCENT
On Sun, Mar 28, 2010 at 07:42:27PM +0200, Tom wrote: > Rabin Vincent wrote: > > +/* Turn on peripheral clock at PRCC level */ > > +void u8500_clock_enable(int periph, int kern, int cluster) > > +{ > > + struct clkrst *clkrst = (struct clkrst *) clkrst_base[periph - 1]; > > -1 on array access.

[U-Boot] Regarding P2020 core 1

2010-04-06 Thread vinay hegde
Hi All, We are coming up with a new platform that uses Freescale P2020 processor and P2020 U-Boot. In this platform, we will be using only one core (core 0) of P2020 and will be disabling the core 1 (thro, some hardware strapping as hardware folks told me). If anybody has already investigated

Re: [U-Boot] Regarding P2020 core 1

2010-04-06 Thread Kumar Gala
On Apr 7, 2010, at 1:11 AM, vinay hegde wrote: > Hi All, > > We are coming up with a new platform that uses Freescale P2020 processor and > P2020 U-Boot. In this platform, we will be using only one core (core 0) of > P2020 and will be disabling the core 1 (thro, some hardware strapping as > h

[U-Boot] [PATCH] ppc/85xx: Use CONFIG_NS16550_MIN_FUNCTIONS to reduce NAND_SPL size

2010-04-06 Thread Kumar Gala
The MPC8536DS_NAND SPL build was failing due to code size increase introduced by commit: commit 33f57bd553edf29dffef5a6c7d76e169c79a6049 Author: Kumar Gala Date: Fri Mar 26 15:14:43 2010 -0500 85xx: Fix enabling of L1 cache parity on secondary cores We built in some NS16550 functions that

Re: [U-Boot] [PATCH] ppc/85xx: Use CONFIG_NS16550_MIN_FUNCTIONS to reduce NAND_SPL size

2010-04-06 Thread Kumar Gala
On Apr 7, 2010, at 1:36 AM, Kumar Gala wrote: > The MPC8536DS_NAND SPL build was failing due to code size increase > introduced by commit: > > commit 33f57bd553edf29dffef5a6c7d76e169c79a6049 > Author: Kumar Gala > Date: Fri Mar 26 15:14:43 2010 -0500 > >85xx: Fix enabling of L1 cache par

Re: [U-Boot] [PATCH] ppc/85xx: Use CONFIG_NS16550_MIN_FUNCTIONS to reduce NAND_SPL size

2010-04-06 Thread Kumar Gala
On Apr 7, 2010, at 1:36 AM, Kumar Gala wrote: > The MPC8536DS_NAND SPL build was failing due to code size increase > introduced by commit: > > commit 33f57bd553edf29dffef5a6c7d76e169c79a6049 > Author: Kumar Gala > Date: Fri Mar 26 15:14:43 2010 -0500 > >85xx: Fix enabling of L1 cache par

Re: [U-Boot] Regarding P2020 core 1

2010-04-06 Thread vinay hegde
Hi Kumar, I have ported U-Boot for our new platform (which is based on P2020 and has other platform specific peripherals). So, actually I wanted to know how to disable core 1 in U-boot source code (I see MPC85xx_DEVDISR_CPU0 and MPC85xx_DEVDISR_CPU1 defines in immap_85xx.h, which are not used).