[U-Boot-Users] [PATCH 2/9] [new uImage] ppc: Determine if we are booting an OF style

2008-02-19 Thread Kumar Gala
If we are bootin OF style than we can skip setting up some things that are used for the old boot method. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- lib_ppc/bootm.c | 25 - 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/lib_ppc/bootm.c b/lib_ppc

[U-Boot-Users] [PATCH 8/9] [new uImage] Provide ability to restrict region used for boot images

2008-02-19 Thread Kumar Gala
Allow the user to set 'bootm_low' and 'bootm_size' env vars as a way to restrict what memory range is used for bootm. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c | 10 +- common/image.c | 26 ++ include/image.h|2 ++ lib_m68k

[U-Boot-Users] [PATCH 5/9] [new uImage] ppc: Allow boards to specify effective amount of memory

2008-02-19 Thread Kumar Gala
For historical reasons we limited the stack to 256M because some boards could only map that much via BATS. However newer boards are capable of mapping more memory (for example 85xx is capable of doing up to 2G). Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- lib_ppc/board.c | 22

[U-Boot-Users] [PATCH 3/9] [new uImage] ppc: Re-order ramdisk/fdt handling sequence

2008-02-19 Thread Kumar Gala
Doing the fdt before the ramdisk allows us to grow the fdt w/o concern however it does mean we have to go in and fixup the initrd info since we don't know where it will be. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- lib_ppc/bootm.c | 39 +++ 1 files

[U-Boot-Users] [PATCH 6/9] [new uImage] Introduce lmb from linux kernel for memory mgmt of boot images

2008-02-19 Thread Kumar Gala
the feature was removed as part of the new uImage cleanup and rather than touching the bootm prototype twice (once for lmb and once for autostart) we just do it once. We don't actually use either the lmb or autostart flag with this patch. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common

[U-Boot-Users] [PATCH 7/9] [new uImage] Use lmb for bootm allocations

2008-02-19 Thread Kumar Gala
+ CFG_BOOTMAPSZ. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c |8 +++ common/image.c | 134 ++- include/image.h| 13 ++--- lib_m68k/bootm.c | 29 lib_ppc/bootm.c| 78 ++ 5

[U-Boot-Users] [PATCH] ppc: Allow boards to specify effective amount of memory

2008-02-18 Thread Kumar Gala
For historical reasons we limited the stack to 256M because some boards could only map that much via BATS. However newer boards are capable of mapping more memory (for example 85xx is capable of doing up to 2G). Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- This patch superseded my previous

[U-Boot-Users] [PATCH] Remove duplicate defines for ARRAY_SIZE

2008-02-18 Thread Kumar Gala
A few duplicate of the ARRAY_SIZE macro sneaked in since we put the define in common.h. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- include/asm-ppc/fsl_law.h |1 - include/asm-ppc/mmu.h |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/asm-ppc/fsl_law.h

[U-Boot-Users] [PATCH] [new uImage] Use lmb for bootm allocations

2008-02-18 Thread Kumar Gala
the offset in physical memory that the bootmap is located at. This is used for allocations of the cmdline, kernel bd, and device tree as they should be contained within bootmap_base and bootmap_base + CFG_BOOTMAPSZ. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- This requires the 'ppc: Allow boards

Re: [U-Boot-Users] [PATCH] Add call command on PPC

2008-02-15 Thread Kumar Gala
On Feb 15, 2008, at 1:29 AM, Mike Frysinger wrote: On Friday 15 February 2008, Haavard Skinnemoen wrote: Mike Frysinger [EMAIL PROTECTED] wrote: if someone can tell me what the number of args are for each arch we can see about providing this everywhere. are you sure you actually need to

[U-Boot-Users] [PATCH] Add sub-commands to fdt

2008-02-15 Thread Kumar Gala
delete index - Delete a mem reserves Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_fdt.c | 111 ++ 1 files changed, 111 insertions(+), 0 deletions(-) diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 9cd22ee..d0f8c27

[U-Boot-Users] [PATCH v2] Add sub-commands to fdt

2008-02-15 Thread Kumar Gala
delete index - Delete a mem reserves Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- fix help white space be more explicit in arg checking for memory vs memrsv common/cmd_fdt.c | 112 ++ 1 files changed, 112 insertions(+), 0 deletions

Re: [U-Boot-Users] [PATCH] Add sub-commands to fdt

2008-02-15 Thread Kumar Gala
On Feb 15, 2008, at 8:09 AM, Jerry Van Baren wrote: Kumar Gala wrote: fdt header - Display header info fdt bootcpu id- Set boot cpuid fdt memory addr size- Add/Update memory node fdt memrsv print- Show current mem

[U-Boot-Users] [PATCH 3/3] [new uImage] ppc: Re-order ramdisk/fdt handling sequence

2008-02-15 Thread Kumar Gala
Do the fdt before the ramdisk allows us to grow the fdt w/o concern however it does me we have to go in and fixup the initrd info since we dont know where it will be. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Patch against u-boot-testing new-image branch. lib_ppc/bootm.c | 38

[U-Boot-Users] [PATCH 2/3] [new uImage] ppc: Determine if we are booting an OF style

2008-02-15 Thread Kumar Gala
If we are bootin OF style than we can skip setting up some things that are used for the old boot method. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- patch against u-boot-testing new-image branch lib_ppc/bootm.c | 25 - 1 files changed, 20 insertions(+), 5

[U-Boot-Users] [PATCH 1/3] [new uImage] Don't pass kdb to ramdisk_high since we may not have one

2008-02-15 Thread Kumar Gala
We don't actually need the kdb param as we are just using it to get bd-bi_memsize which we can get from gd-bd-bi_memsize. Also, if we boot via OF we might not actually fill out a kdb. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Patch against new-image u-boot-testing branch common/image.c

[U-Boot-Users] [PATCH] ppc: Allow boards to specify how much memory they can map

2008-02-15 Thread Kumar Gala
For historical reasons we limited the stack to 256M because some boards could only map that much via BATS. However newer boards are capable of mapping more memory (for example 85xx is capble of doing up to 2G). Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- lib_ppc/board.c |7 ++- 1

Re: [U-Boot-Users] [PATCH] Add sub-commands to fdt

2008-02-15 Thread Kumar Gala
On Feb 15, 2008, at 3:44 PM, Jerry Van Baren wrote: Kumar Gala wrote: fdt header - Display header info fdt bootcpu id- Set boot cpuid fdt memory addr size- Add/Update memory node fdt memrsv print- Show current mem

[U-Boot-Users] [PATCH v3] Add sub-commands to fdt

2008-02-15 Thread Kumar Gala
From e76f97d16c5932d19d698e42c6376d6bbdca2ecf Mon Sep 17 00:00:00 2001 From: Kumar Gala [EMAIL PROTECTED] Date: Fri, 15 Feb 2008 03:34:36 -0600 Subject: [PATCH] Add sub-commands to fdt fdt header - Display header info fdt bootcpu id- Set boot cpuid fdt

[U-Boot-Users] kernel bss size from a uImage?

2008-02-15 Thread Kumar Gala
Does anyone have any bright ideas on how to know what the BSS size of the kernel will be from a uImage. It seems we just hope and pray that u-boot doesn't load things (ramdisk, bd_t, device tree, etc). Clearly the new uImage work should encompass this information, but I'm looking for ideas

Re: [U-Boot-Users] [1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link

2008-02-15 Thread Kumar Gala
On Feb 15, 2008, at 4:15 PM, Marcel Moolenaar wrote: All, I've just pulled the 1.3.2-rc1 snapshot from GIT and I run into a link failure right out of the box (ok, after changing the Makefile to the right cross-compiler :-) Build machine: FreeBSD-6.1 apg-bbuild09% gmake distclean find:

Re: [U-Boot-Users] [1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link

2008-02-15 Thread Kumar Gala
On Feb 15, 2008, at 5:14 PM, Marcel Moolenaar wrote: On Feb 15, 2008, at 2:59 PM, Kumar Gala wrote: On Feb 15, 2008, at 4:15 PM, Marcel Moolenaar wrote: I've just pulled the 1.3.2-rc1 snapshot from GIT and I run into a link failure right out of the box (ok, after changing the Makefile

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Kumar Gala
On Feb 14, 2008, at 6:41 AM, Jerry Van Baren wrote: Kumar Gala wrote: On Feb 13, 2008, at 5:07 PM, Wolfgang Denk wrote: In message Pine.LNX. [EMAIL PROTECTED] you wrote: Add a simple expr style command that will set an env variable as the result of the command. This allows us to do

[U-Boot-Users] [PATCH v2] Add setexpr command

2008-02-14 Thread Kumar Gala
Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: , |, ^, +, -, *, /. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- docs will be added online since that appears

Re: [U-Boot-Users] [PATCH] Add call command on PPC

2008-02-14 Thread Kumar Gala
On Feb 14, 2008, at 11:54 PM, Mike Frysinger wrote: On Friday 15 February 2008, Kumar Gala wrote: --- /dev/null +++ b/lib_ppc/cmd_call.c there's nothing ppc specific about this I'm not familiar w/other architecture ABIs to say if that's true or not. Clearly the upper limit may vary

[U-Boot-Users] [PATCH v2] Add call command on PPC

2008-02-14 Thread Kumar Gala
r3) void func(unsigned long r3, unsigned long r4) ... void func(unsigned long r3, unsigned long r4, ... unsigned long r10) The maximum number of 'arg's is 8. There are no arguments passed on a stack, no floating point or vector arguments. Signed-off-by: Kumar Gala [EMAIL PROTECTED

Re: [U-Boot-Users] [PATCH] Add 'imload' command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 4:11 AM, Bartlomiej Sieka wrote: Kumar Gala wrote: 'imload' provides a more direct means to load from an image file. Also created a load_image routine out of the code in do_bootm() that is shared between do_bootm() and do_imload(). Signed-off-by: Kumar Gala [EMAIL

[U-Boot-Users] [RFC/PATCH] Add expr command

2008-02-13 Thread Kumar Gala
Add a simple expr command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: , |, +, -, *, /. --- I'd like to add this to the default command set in include/config_cmd_default.h but wanted to get

Re: [U-Boot-Users] [PATCH v2] Add expr command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 10:35 AM, Kim Phillips wrote: On Wed, 13 Feb 2008 09:54:31 -0600 (CST) Kumar Gala [EMAIL PROTECTED] wrote: +} + +U_BOOT_CMD( +expr, 5, 0, do_expr, +expr- set environment variable as the result of eval expression\n, +name value1 op value2\n

Re: [U-Boot-Users] [PATCH] Add 'imload' command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 1:55 PM, Bartlomiej Sieka wrote: Kumar Gala wrote: On Feb 13, 2008, at 4:11 AM, Bartlomiej Sieka wrote: Kumar Gala wrote: 'imload' provides a more direct means to load from an image file. Also created a load_image routine out of the code in do_bootm() that is shared

[U-Boot-Users] [PATCH] Fix building of fdt_support.c if DEBUG set

2008-02-13 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Wolfgang, would like to see this go into mainline as it fixes building. common/fdt_support.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 92f1c7f..69eb667 100644

Re: [U-Boot-Users] [PATCH] Add 'imload' command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 4:31 PM, Wolfgang Denk wrote: In message Pine.LNX. [EMAIL PROTECTED] you wrote: 'imload' provides a more direct means to load from an image file. What exactly is an image file here (which sorts of images are allowed?) and what does load mean (which actions are

[U-Boot-Users] [PATCH] Add setexpr command

2008-02-13 Thread Kumar Gala
Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: , |, ^, +, -, *, /. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- this was the expr patch, but renamed based

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-13 Thread Kumar Gala
: , |, ^, +, -, *, /. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- this was the expr patch, but renamed based on comments on the list. grumble Well, *my* command was *not* to rename it. sorry, saw your post after I sent this :) /grumble At least, please don't make it a default command

Re: [U-Boot-Users] [PATCH] Add 'imload' command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 5:01 PM, Wolfgang Denk wrote: In message 7DB626E7-34A4-4EAA-B470- [EMAIL PROTECTED] you wrote: What exactly is an image file here (which sorts of images are allowed?) and what does load mean (which actions are performed on the file)? its suppose to be a 'uImage' not

[U-Boot-Users] [RFC] raw go command

2008-02-13 Thread Kumar Gala
This patch is just a quick work up to see how to handle a particular problem I've got. The idea is that I want finer control over what happens when I 'go' to piece of code. The idea is it looks more like a native function call than the current go which is more main() like. The calling

Re: [U-Boot-Users] [RFC] raw go command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 6:40 PM, Wolfgang Denk wrote: In message Pine.LNX. [EMAIL PROTECTED] you wrote: This patch is just a quick work up to see how to handle a particular problem I've got. The idea is that I want finer control over what happens when I 'go' to piece of code. The idea is

Re: [U-Boot-Users] [PATCH] Add 'imload' command

2008-02-13 Thread Kumar Gala
+switch (image_get_comp (hdr)) { +case IH_COMP_NONE: +if (dst == (ulong)hdr) { +printf ( XIP %s ... , type_name); This is an ugly hack in the old code that should be removed by the new implementation. can you explain this further, I'm happy to git

Re: [U-Boot-Users] [new uImage] Code available on new-image branch of u-boot-testing repo

2008-02-12 Thread Kumar Gala
On Feb 12, 2008, at 4:59 PM, Wolfgang Denk wrote: In message F8B63E55-0B77-44DD- [EMAIL PROTECTED] you wrote: For example, I don't believe we have a way today to just decompress a uImage file. Um... it you try hard enough there is one. See

[U-Boot-Users] [PATCH] 85xx: Expand CCSR space with more DDR controller registers.

2008-02-12 Thread Kumar Gala
Signed-off-by: James Yang [EMAIL PROTECTED] Signed-off-by: Jon Loeliger [EMAIL PROTECTED] Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- in my git tree. include/asm-ppc/immap_85xx.h | 25 + 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/include/asm

[U-Boot-Users] [PATCH] 85xx: Speed up get_ddr_freq() and get_bus_freq()

2008-02-12 Thread Kumar Gala
Yang Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- in my git tree. cpu/mpc85xx/speed.c | 21 + include/asm-ppc/global_data.h |2 -- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/cpu/mpc85xx/speed.c b/cpu/mpc85xx/speed.c index 952f30c..343316e

Re: [U-Boot-Users] [new uImage] Code available on new-image branch of u-boot-testing repo

2008-02-07 Thread Kumar Gala
On Feb 7, 2008, at 10:15 AM, Bartlomiej Sieka wrote: Kumar Gala wrote: Here is a rough patch to common/cmd_bootm.c that passed load_end down to the do_bootm_* commands. I haven't updated the lib_*/bootm.c at this point. I think this is useful to help the bootm commands know exactly what

Re: [U-Boot-Users] [new uImage] Code available on new-image branch of u-boot-testing repo

2008-02-07 Thread Kumar Gala
Here is a rough patch to common/cmd_bootm.c that passed load_end down to the do_bootm_* commands. I haven't updated the lib_*/bootm.c at this point. I think this is useful to help the bootm commands know exactly what memory is used and what is freed. There are situations that I'd like to get

Re: [U-Boot-Users] mpc8544 u-boot support

2008-02-01 Thread Kumar Gala
On Feb 1, 2008, at 7:24 AM, Clemens Koller wrote: Leonid schrieb: Hi: I am not new in u-boot, but this is the first time I must deal with Freescale CPU, namely mpc8544 (I have been working so far with Microblaze, ARM9, ppc440 and ppc405). My board is going to be very close to Interpid

[U-Boot-Users] [PATCH] 85xx: Added support for multicore boot mechanism

2008-02-01 Thread Kumar Gala
Added the cpu command that provides a generic mechanism to get status, reset, and release secondary cores in multicore processors. Added support for using the ePAPR defined spin-table mechanism on 85xx. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- as usually, this is in the mpc85xx branch

Re: [U-Boot-Users] MPC83xx requieres dts aliases nodes to assign MAC addresses?

2008-01-25 Thread Kumar Gala
On Jan 25, 2008, at 9:20 AM, Joakim Tjernlund wrote: Seems to me that mpc83xx now needs to have alias nodes in dts to assign MAC addresses to eth devices when booting linux. Seems a bit premature to drop the old way so soon. Maybe I am missing something? Maybe. but if you are going to

Re: [U-Boot-Users] [PATCH 0/6] [new uImage] patchset2 - cleanup cont.

2008-01-24 Thread Kumar Gala
On Jan 23, 2008, at 8:43 AM, Marian Balakowicz wrote: Hi, This is a second patchset for new uImage, it includes architecture file renames, removals of OF_FLAT_TREE and standalone application support and further code refactoring. This patchset is based on patchset1. MAKEALL was run

[U-Boot-Users] [PATCH/RFC v2] 85xx: Initial ePAPR based cpu release support for MP 85xx

2008-01-23 Thread Kumar Gala
Here's an updated version based on Andy's ide of just having additional [args] to release and letting that be handled by arch specific code. Let me know if there are any other comments, if not.. I'll create a proper patch for the 85xx maintainer tree for the next merge window. - k an example of

[U-Boot-Users] [RFC/PATCH] 85xx: Initial multicore boot support

2008-01-22 Thread Kumar Gala
I was hoping to get some feed back on this patch that will add support for booting the multiprocessor 85xx chips. The boot mechanism is based on the forth coming ePAPR spec (based on how device tree, linux booting-without-of spec). The biggest feedback I'm hoping for is related to the command

Re: [U-Boot-Users] [RFC/PATCH] 85xx: Initial multicore boot support

2008-01-22 Thread Kumar Gala
On Jan 22, 2008, at 2:59 AM, Wolfgang Denk wrote: In message Pine.LNX. [EMAIL PROTECTED] you wrote: I was hoping to get some feed back on this patch that will add support for booting the multiprocessor 85xx chips. The boot mechanism is based on the forth coming ePAPR spec (based on

[U-Boot-Users] [PATCH v2] 85xx: Convert MPC8544 DS to new TLB setup

2008-01-17 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8544ds/Makefile |4 +- board/freescale/mpc8544ds/init.S | 174 -- board/freescale/mpc8544ds/tlb.c | 99 +++ board/freescale/mpc8544ds/u-boot.lds |2 - include

[U-Boot-Users] [PATCH] 85xx: Convert MPC8540/MPC8560 ADS to new TLB setup

2008-01-17 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8540ads/Makefile |3 +- board/freescale/mpc8540ads/init.S | 212 board/freescale/mpc8540ads/tlb.c | 130 board/freescale/mpc8540ads/u-boot.lds |2 - board

[U-Boot-Users] [PATCH] QE: Move FDT support into a common file

2008-01-17 Thread Kumar Gala
Move the flat device tree setup for QE related devices into a common file shared between 83xx 85xx platforms that have QE's. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/fdt_support.c | 48 -- cpu/mpc83xx/fdt.c| 13 ++- cpu/mpc85xx/fdt.c|8

[U-Boot-Users] [PATCH 1/9 v2] 85xx: Move LAW init code into C

2008-01-16 Thread Kumar Gala
Move the initialization of the LAWs into C code and provide an API to allow modification of LAWs after init. Board code is responsible to provide a law_table and num_law_entries. We should be able to use the same code on 86xx as well. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- This whole

[U-Boot-Users] [PATCH 2/9] 85xx: convert MPC8544 DS over to use new LAW init code

2008-01-16 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8544ds/Makefile |2 +- board/freescale/mpc8544ds/init.S | 48 board/freescale/mpc8544ds/law.c| 42 +++ include/configs/MPC8544DS.h|2 + 4

[U-Boot-Users] [PATCH 3/9] 85xx: convert MPC8540/MPC8560 ADS over to use new LAW init code

2008-01-16 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8540ads/Makefile |3 +- board/freescale/mpc8540ads/init.S | 53 board/freescale/mpc8540ads/law.c| 58 +++ board/freescale/mpc8560ads/Makefile |3

[U-Boot-Users] [PATCH 4/9] 85xx: convert MPC8541/MPC8555/MPC8548 CDS over to use new LAW init code

2008-01-16 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8541cds/Makefile |2 +- board/freescale/mpc8541cds/init.S | 51 board/freescale/mpc8541cds/law.c| 58 +++ board/freescale/mpc8548cds/Makefile |2 +- board

[U-Boot-Users] [PATCH 5/9] 85xx: convert SBC8540/SBC8560/SBC8548 over to use new LAW init code

2008-01-16 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/sbc8548/Makefile|3 +- board/sbc8548/init.S | 48 board/sbc8548/law.c | 57 ++ board/sbc8560/Makefile|3 +- board/sbc8560/init.S

[U-Boot-Users] [PATCH 6/9] 85xx: convert PM854/PM856 over to use new LAW init code

2008-01-16 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/pm854/Makefile|3 +- board/pm854/init.S | 53 -- board/pm854/law.c | 58 +++ board/pm856/Makefile|3 +- board/pm856/init.S

[U-Boot-Users] [PATCH 7/9] 85xx: convert STXGP3/STXSSA over to use new LAW init code

2008-01-16 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/stxgp3/Makefile|3 +- board/stxgp3/init.S | 53 board/stxgp3/law.c | 58 board/stxssa/Makefile|2 +- board/stxssa/init.S

[U-Boot-Users] [PATCH 9/9] 85xx: Remove old style of LAW init

2008-01-16 Thread Kumar Gala
All boards are now using the new fsl_law code so we can drop the old version. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- cpu/mpc85xx/spd_sdram.c | 10 -- cpu/mpc85xx/start.S | 18 -- 2 files changed, 0 insertions(+), 28 deletions(-) diff --git a/cpu/mpc85xx

[U-Boot-Users] [PATCH] 85xx: Use proper defines for PCI addresses

2008-01-16 Thread Kumar Gala
We should be using the _MEM_PHYS for LAW and TLB setup and not _MEM_BASE. While _MEM_BASE _MEM_PHYS are normally the same, _MEM_BASE should only be used for configuring the PCI ATMU. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- board/freescale/mpc8540ads/init.S |8 board

[U-Boot-Users] [PATCH] 85xx: Introduce new tlb API

2008-01-16 Thread Kumar Gala
Add a set of functions to manipulate TLB entries: * set_tlb() - write a tlb entry * invalidate_tlb() - invalidate a tlb array * disable_tlb() - disable a variable size tlb entry * init_tlbs() - setup initial tlbs based on static table Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- cpu

[U-Boot-Users] [PATCH] 85xx: Reworked initial processor init

2008-01-16 Thread Kumar Gala
to 4G) must map to the code that is currently executing. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- cpu/mpc85xx/cpu_init.c | 56 +++-- cpu/mpc85xx/start.S| 131 +++- 2 files changed, 115 insertions(+), 72 deletions(-) diff

[U-Boot-Users] [PATCH] 85xx: Move LAW init code into C

2008-01-15 Thread Kumar Gala
Move the initialization of the LAWs into C code and provide an API to allow modification of LAWs after init. Board code is responsible to provide a law_table and num_law_entries. We should be able to use the same code on 86xx as well. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- In my git

<    1   2   3