Re: [U-Boot-Users] [PATCH 07/15 v2] ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)

2008-03-12 Thread Stefan Roese
On Thursday 13 March 2008, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:15 Tue 11 Mar , Stefan Roese wrote: > > This patch adds basic support for the AMCC 460EX/460GT PPC's. > > > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > > int bi_phynum[4]; /* Determin

Re: [U-Boot-Users] [PATCH 13/15 v2] ppc4xx: Add Canyonlands NAND booting support

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 01:07 Thu 13 Mar , Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > > > > +SOBJS= start.o init.o resetvec.o > > > +COBJS= ddr2_fixed.o nand_boot.o nand_ecc.o ndfc.o > > It will be nice to split one line for each file > > Why? IMHO the could will not become more r

Re: [U-Boot-Users] AT91RM9200 USB UHCI

2008-03-12 Thread Eric BENARD
Matt Gessner a écrit : > Is anyone doing any work on this for u-boot? it's OHCI and it's already in u-boot : http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=cpu/arm920t/at91rm9200/usb.c;h=c121de6328ed8cac480ce097b395092bbae4bb9d;hb=HEAD add : #define CONFIG_USB_OHCI_NEW 1 #define

Re: [U-Boot-Users] [PATCH 13/15 v2] ppc4xx: Add Canyonlands NAND booting support

2008-03-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > +SOBJS = start.o init.o resetvec.o > > +COBJS = ddr2_fixed.o nand_boot.o nand_ecc.o ndfc.o > It will be nice to split one line for each file Why? IMHO the could will not become more readble that way, on contrary... Best regards, Wolfgang

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > So is this acceptable? Looks good to me. Please don't forget common/memsize.c and callers; also, printing the new type may be tricky. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Mun

Re: [U-Boot-Users] [PATCH 07/15 v2] ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:15 Tue 11 Mar , Stefan Roese wrote: > This patch adds basic support for the AMCC 460EX/460GT PPC's. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > #define PVR_601 0x0001 > #define PVR_602 0x0005 > #define PVR_603 0x0003 > diff

Re: [U-Boot-Users] [PATCH 08/15 v2] ppc4xx: Add basic support for AMCC 460EX/460GT (4/5)

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:15 Tue 11 Mar , Stefan Roese wrote: > This patch adds basic support for the AMCC 460EX/460GT PPC's. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > -#define UIC_UIC1C0x0001 /* */ > +#define UICB0_UIC2NCI0x0008 /* */ > +#define UICB0_UIC

Re: [U-Boot-Users] [PATCH 10/15 v2] ppc4xx: Add AMCC Canyonlands support (460EX) (1/3)

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:15 Tue 11 Mar , Stefan Roese wrote: > This patch adds support for the AMCC Canyonlands 460EX evaluation > board. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > --- > + > +LIB = $(obj)lib$(BOARD).a > + > +COBJS= $(BOARD).o bootstrap.o Could you split it one line for one fi

Re: [U-Boot-Users] [PATCH 11/15 v2] ppc4xx: Add AMCC Canyonlands support (460EX) (2/3)

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:15 Tue 11 Mar , Stefan Roese wrote: > This patch adds support for the AMCC Canyonlands 460EX evaluation > board. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > --- > include/configs/canyonlands.h | 470 > + > 1 files changed, 470 insertio

Re: [U-Boot-Users] [PATCH 13/15 v2] ppc4xx: Add Canyonlands NAND booting support

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:15 Tue 11 Mar , Stefan Roese wrote: > 460EX doesn't support a fixed bootstrap option to boot from 512 byte page > NAND devices. The only bootstrap option for NAND booting is option F for > 2k page devices. So to boot from a 512 bype page device, the I2C bootstrap > EEPROM needs to be prog

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Jon Loeliger
Kumar Gala wrote: > So is this acceptable? > > - k > > diff --git a/board/freescale/mpc8544ds/mpc8544ds.c > b/board/freescale/mpc8544ds/mpc8544ds.c > index 8107016..24eea6f 100644 > --- a/board/freescale/mpc8544ds/mpc8544ds.c > +++ b/board/freescale/mpc8544ds/mpc8544ds.c > @@ -64,10 +64,9 @@ int

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Kumar Gala
So is this acceptable? - k diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c index 8107016..24eea6f 100644 --- a/board/freescale/mpc8544ds/mpc8544ds.c +++ b/board/freescale/mpc8544ds/mpc8544ds.c @@ -64,10 +64,9 @@ int checkboard (void) return 0;

Re: [U-Boot-Users] [PATCH 2/3] 83xx: serdes setup routines

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:07 Fri 07 Mar , Anton Vorontsov wrote: > This patch adds few routines to configure serdes on 837x targets. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- > cpu/mpc83xx/Makefile |2 +- > cpu/mpc83xx/serdes.c | 161 > ++ >

Re: [U-Boot-Users] [PATCH] net: Divided code of NE2000 ethernet driver

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:08 Wed 05 Mar , goda.yusuke wrote: > There are more devices of the NE2000 base. > A present code is difficult for us to support more devices. > To support more NE2000 clone devices, separated the function. > > Signed-off-by: Yusuke Goda <[EMAIL PROTECTED]> > --- > drivers/net/ne2000.c

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:38 Wed 12 Mar , Kumar Gala wrote: > Wolfgang, > > Before I went and looked at every board that uses initdram I wanted to get > some feedback of such a patch (for a wide majority of boards) would be > acceptable. > > The idea is that initdram() should really have returned a 'unsigned lon

Re: [U-Boot-Users] [PATCH 1/2] NET: Add Vitesse VSC7385 firmware uploading

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:27 Wed 12 Mar , Timur Tabi wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > > >> SRCS := $(COBJS:.o=.c) > >^ > > Please remove the whitespace > > Couldn't you have reviewed my patch when I posted it last month, instead of 5 > minutes after the 83xx maintainer applied it

Re: [U-Boot-Users] [PATCH] sh: Add support Renesas Solutions R2D plus board

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:40 Wed 12 Mar , Nobuhiro Iwamatsu wrote: > R2D plus is SH reference board used with SH7751R. > This board has 266Mhz CPU, 64MB SDRAM, Cardbus, CF interface, > + > +#undef DEBUG > + > +#define CONFIG_SH1 > +#define CONFIG_SH4 1 > +#defi

Re: [U-Boot-Users] [PATCH] sh: Add support PCI host driver for SH7751/SH7751R

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:41 Wed 12 Mar , Nobuhiro Iwamatsu wrote: > Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> > --- > cpu/sh4/Makefile |2 +- > cpu/sh4/pci-sh7751.c | 204 > ++ > include/asm-sh/pci.h |4 +- > 3 files changed, 208 insertions

Re: [U-Boot-Users] [PATCH 1/2] NET: Add Vitesse VSC7385 firmware uploading

2008-03-12 Thread Timur Tabi
Jean-Christophe PLAGNIOL-VILLARD wrote: >> SRCS:= $(COBJS:.o=.c) >^ > Please remove the whitespace Couldn't you have reviewed my patch when I posted it last month, instead of 5 minutes after the 83xx maintainer applied it to his tree?? -- Timur Tabi Linux kernel developer a

Re: [U-Boot-Users] [PATCH 1/2] NET: Add Vitesse VSC7385 firmware uploading

2008-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:15 Fri 08 Feb , Timur Tabi wrote: > The Vitesse VSC7385 is a 5-port switch found on the Freescale MPC8349E-mITX > and other boards. A small firwmare must be uploaded to its on-board memory > before it can be enabled. This patch adds the code which uploads firmware > (but not the firmwar

Re: [U-Boot-Users] [PATCH 1/2] NET: Add Vitesse VSC7385 firmware uploading

2008-03-12 Thread Kim Phillips
On Mon, 18 Feb 2008 22:06:53 -0500 Ben Warren <[EMAIL PROTECTED]> wrote: > Acked-by: Ben Warren <[EMAIL PROTECTED]> > > Kim - would you mind pulling this into your tree? Best to keep it with > part 2. done. Kim - This SF

Re: [U-Boot-Users] [PATCH 2/2] 83xx: Add Vitesse VSC7385 firmware uploading

2008-03-12 Thread Kim Phillips
On Fri, 8 Feb 2008 13:15:55 -0600 Timur Tabi <[EMAIL PROTECTED]> wrote: > Update the MPC8349E-mITX, MPC8313E-RDB, and MPC837XE-RDB board files to upload > the Vitesse VSC7385 firmware. Changed CONFIG_VSC7385 to CONFIG_VSC7385_ENET. > Cleaned up the board header files to make selecting the VSC738

[U-Boot-Users] [PATCH 14/20] [new uImage] Add new uImage fromat support to fpga command

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/cmd_fpga.c | 85 +++-- 1 files changed, 76 insertions(+), 9 deletions(-) diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c index 0bb82f6

Re: [U-Boot-Users] AT91RM9200 USB UHCI

2008-03-12 Thread Ulf Samuelsson
> Is anyone doing any work on this for u-boot? > > Thanks, > I think that the Atmel U-Boot at www.linux4sam.org has USB host support allowing access to a USB memory. Best Regards Ulf Samuelsson - This SF.net email is spon

Re: [U-Boot-Users] [PATCH 18/20] [new uImage] Fix build problems on trab board

2008-03-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c > index fa08bff..5311e12 100644 > --- a/board/trab/auto_update.c > +++ b/board/trab/auto_update.c > @@ -224,7 +224,7 @@ au_check_cksum_valid(int idx, long nbytes) > return -1

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > Shouldn't we just use size_t to return the size of what is effectively > an array of /n/ bytes of RAM? (Does size_t's baggage WRT different C > standards and different C compilers cause more grief than it solves?) My understanding is that size_t is

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Wolfgang Denk
Dear Kumar, in message <[EMAIL PROTECTED]> you wrote: > > would phys_size_t be better? Yes, definitely much better :-) > >> +phys_addr_t initdram(int board_type) > >> { > >> - long dram_size = 0; > >> + phys_addr_t dram_size = 0; > > > > No - initdram() does not return an address, it returns

[U-Boot-Users] [PATCH 18/20] [new uImage] Fix build problems on trab board

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- board/trab/auto_update.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index fa08bff..5311e12 100644 --- a/board/

[U-Boot-Users] [PATCH 13/20] [new uImage] Add new uImage format handling to other bootm related commands

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Updated commands: docboot - cmd_doc.c fdcboot - cmd_fdc.c diskboot - cmd_ide.c nboot- cmd_nand.c scsiboot - cmd_scsi.c usbboot - cmd_usb.c Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/cmd_doc.c | 34 ++

[U-Boot-Users] [PATCH 20/20] [new uImage] Add new uImage format documentation and examples

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Create doc/uImage.FIT documentation directory with the following files: - command_syntax_extensions.txt : extended command syntax description - howto.txt : short usage howto - source_file_format.txt: internal new uImage format

[U-Boot-Users] [PATCH 19/20] [new uImage] Fix definition of common bootm_headers_t fields

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> verify, autostart and lmb fields are used regardless of CONFIG_FIT setting, move their definitions to common section. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- include/image.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

[U-Boot-Users] [PATCH 17/20] [new uImage] Add proper ramdisk/FDT handling when FIT configuration is used

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Save FIT configuration provied in the first bootm argument and use it when to get ramdisk/FDT subimages when second and third (ramdisk/FDT) arguments are not specified. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- README |1

[U-Boot-Users] [PATCH 16/20] [new uImage] More verbose kernel image uncompress error message

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/cmd_bootm.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 6591e61..e95c5dd 100644 --- a/common/cmd_bootm.c +++

[U-Boot-Users] [PATCH 15/20] [new uImage] Use show_boot_progress() for new uImage format

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> This patch allocates a set of show_boot_progress() IDs for new uImage format and adds show_boot_progress() calls in new uImage format handling code. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- README | 83 +++

[U-Boot-Users] [PATCH 12/20] [new uImage] Add new uImage format support to imgextract command

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/cmd_ximg.c | 109 ++--- 1 files changed, 78 insertions(+), 31 deletions(-) diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c index 360b05

[U-Boot-Users] [PATCH 11/20] [new uImage] Add new uImage format support to autoscript routine

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> autoscript() routine is updated to accept second argument, which is only used for FIT images and provides a FIT subimage unit name. autoscript() routine callers must now pass two arguments. For non-interactive use (like in cmd_load.c, cmd_net.c), new en

[U-Boot-Users] [PATCH 09/20] [new uImage] Add node offsets for FIT images listed in struct bootm_headers

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> This patch adds new node offset fields to struct bootm_headers and updates bootm_headers processing code to make use of them. Saved node offsets allow to avoid repeating fit_image_get_node() calls. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --

[U-Boot-Users] [PATCH 10/20] [new uImage] Add new uImage format support to arch specific do_bootm_linux() routines

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> This patch updates architecture specific implementations of do_bootm_linux() adding new uImage format handling for operations like get kernel entry point address, get kernel image data start address. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]>

[U-Boot-Users] [PATCH 08/20] [new uImage] ppc: Add new uImage format support to FDT handling routines

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Support for new (FIT) format uImages is added to powerpc specific boot_get_fdt() routine which now recognizes, sanity checks FIT image and is able to access data sections of the requested component image. Signed-off-by: Marian Balakowicz <[EMAIL PROTECT

[U-Boot-Users] [PATCH 07/20] [new uImage] Re-enable interrupts for non automatic booting

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Re-enable interrupts if we return from do_bootm_ and 'autostart' environment variable is not set to 'yes'. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/cmd_bootm.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) dif

[U-Boot-Users] [PATCH 06/20] [new uImage] Remove unnecessary arguments passed to ramdisk routines

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> boot_get_ramdisk() and image_get_ramdisk() do not need all cmdtp, flag, argc and argv arguments. Simplify routines definition. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/image.c| 32 include/

[U-Boot-Users] [PATCH 05/20] [new uImage] Add new uImage format support for ramdisk handling

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> This patch updates boot_get_ramdisk() routine adding format verification and handling for new (FIT) uImages. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/image.c | 124 +--- 1 fil

[U-Boot-Users] [PATCH 03/20] [new uImage] Add new uImage format support for imls and iminfo commands

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> imls and iminfo can now recognize nad print out contents of the new (FIT) format uImages. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- common/cmd_bootm.c | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --gi

[U-Boot-Users] [PATCH 01/20] [new uImage] Make node unit names const in struct bootm_headers

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- include/image.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/image.h b/include/image.h index 704a3b4..bbd481d 100644 --- a/include/image.h +++ b/include/i

[U-Boot-Users] [PATCH 04/20] [new uImage] Add new uImage format support for kernel booting

2008-03-12 Thread Bartlomiej Sieka
From: Marian Balakowicz <[EMAIL PROTECTED]> New format uImages are recognized by the bootm command, validity of specified kernel component image is checked and its data section located and used for further processing (uncompress, load, etc.) Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --

[U-Boot-Users] [PATCH 00/20] [new uImage] patchset 7 - core functionality

2008-03-12 Thread Bartlomiej Sieka
Hello, This patch series implements the core of the new uImage support functionality, i.e., the actual booting of images in new format, as well as support in auxiliary commands that operate on images. There are also few fixing patches in the series. The patchset concludes major development work o

[U-Boot-Users] [PATCH 02/20] [new uImage] Add support for new uImage format to mkimage tool

2008-03-12 Thread Bartlomiej Sieka
Support for the new uImage format (FIT) is added to mkimage tool. Commandline syntax is appropriately extended: mkimage [-D dtc_options] -f fit-image.its fit-image mkimage (together with dtc) takes fit-image.its and referenced therein binaries (like vmlinux.bin.gz) as inputs, and produces fit-ima

[U-Boot-Users] AT91RM9200 USB UHCI

2008-03-12 Thread Matt Gessner
Is anyone doing any work on this for u-boot? Thanks, Matt Gessner [EMAIL PROTECTED] Avidyne Corp Safety Systems Group Columbus, OH - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Stud

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Jerry Van Baren
Kumar Gala wrote: > On Mar 12, 2008, at 1:40 PM, Wolfgang Denk wrote: > >> Dear Kumar, >> >> in message > [EMAIL PROTECTED]> you wrote: >>> The idea is that initdram() should really have returned a 'unsigned >>> long'. >>> However if we are going to change everyone that has initdram I >>> figu

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Kumar Gala
On Mar 12, 2008, at 1:40 PM, Wolfgang Denk wrote: > Dear Kumar, > > in message [EMAIL PROTECTED]> you wrote: >> >> The idea is that initdram() should really have returned a 'unsigned >> long'. >> However if we are going to change everyone that has initdram I >> figure we >> should make it re

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Wolfgang Denk
Dear Kumar, in message <[EMAIL PROTECTED]> you wrote: > > The idea is that initdram() should really have returned a 'unsigned long'. > However if we are going to change everyone that has initdram I figure we > should make it return a phys_addr_t. Um, no, I don't think so. > +phys_addr_t initdra

Re: [U-Boot-Users] Flash write crash on MPC8548CDS

2008-03-12 Thread Andy Fleming
> Ok closer look revealed this entry. > == tlb.c snip === > /* > * TLB 6: 64M Cacheable, non-guarded > * 0xf000_ 64M LBC SDRAM > */ > SET_TLB_ENTRY(1, CFG_LBC_CACHE_BASE, CFG_LBC_CACH

Re: [U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Jon Loeliger
Kumar Gala wrote: > Wolfgang, > > Before I went and looked at every board that uses initdram I wanted to get > some feedback of such a patch (for a wide majority of boards) would be > acceptable. > > The idea is that initdram() should really have returned a 'unsigned long'. > However if we are go

[U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

2008-03-12 Thread Kumar Gala
Wolfgang, Before I went and looked at every board that uses initdram I wanted to get some feedback of such a patch (for a wide majority of boards) would be acceptable. The idea is that initdram() should really have returned a 'unsigned long'. However if we are going to change everyone that has in

[U-Boot-Users] [PATCH] sh: Add support SH4 cache control

2008-03-12 Thread Nobuhiro Iwamatsu
Add support SH4 cache control and flash_cache function Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> --- cpu/sh4/cpu.c |3 ++- include/asm-sh/cache.h | 35 +++ 2 files changed, 37 insertions(+), 1 deletions(-) create mode 100644 include/asm-s

[U-Boot-Users] [RFC][PATCH] pci: Divided PCI driver for PowerPC.

2008-03-12 Thread Nobuhiro Iwamatsu
Hi, I have the consultation about PCI of PowerPC. I read PCI souce code, I notice that pci_hose_phys_to_bus and pci_hose_bus_to_phys functions are PowerPC specific. Is this correct? I wrote patch so that these functions might use only PPC. When this patch is applied, driver's useless macro is