Currently, they use CONFIG_NUM_CPUS, which is different than
85xx for no good reason.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
Note: This is a resend; the first version accidentally changed the NR_CPUs
on 8610 to 2.
cpu/mpc86xx/start.S |4 ++--
include/c
On Aug 5, 2008, at 7:03 AM, Andy Fleming wrote:
> On Mon, Aug 4, 2008 at 9:02 PM, Becky Bruce
> <[EMAIL PROTECTED]> wrote:
>> Currently, they use CONFIG_NUM_CPUS, which is different than
>> 85xx for no good reason.
>>
>
>
>> --- a/include/conf
Currently, they use CONFIG_NUM_CPUS, which is different than
85xx for no good reason.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
cpu/mpc86xx/start.S |4 ++--
include/configs/MPC8610HPCD.h |2 +-
include/configs/MPC8641HPCN.h |2 +-
include/configs/sbc8
This is needed because we will be possibly be locating
devices at physical addresses above 32bits, and the asm
preprocessing does not appear to deal with ULL constants
properly. We now call write_bat in lib_ppc/bat_rw.c.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
cpu/mpc86xx/cpu_
Perform sync/isync as required by the architecture.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
lib_ppc/bat_rw.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib_ppc/bat_rw.c b/lib_ppc/bat_rw.c
index 8546333..a40b377 100644
--- a/lib_ppc/bat_rw.c
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
include/configs/sbc8641d.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index 76712fd..e075a10 100644
--- a/include/configs/sbc8641d.h
+++ b/include/c
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
This patch supersedes Stefan's recent patch to allow the printing of thousands
of MB. We use GB instead.
-Becky
lib_generic/display_options.c | 32
1 files changed, 20 insertions(+), 12 deletio
Stefan,
As we discussed on IRC, I'm about to push a patch that supersedes this
one and allows printing to report "GB" instead of MB for large RAM
sizes.
Cheers,
B
On Jul 9, 2008, at 10:35 AM, Stefan Roese wrote:
> Signed-off-by: Stefan Roese <[EMAIL PROTECTED]>
> ---
> lib_generic/display_o
On Jul 5, 2008, at 5:32 PM, Wolfgang Denk wrote:
> Hello Andy & Becky & Kumar,
>
> there is a general problem of variable types with the LMB code; at
> the moment, it uses some "u64" (and in lib_ppc/bootm.c actually a mix
> of "u64" and "uint64_t") declarations where I think we should use
>
Bah - I thought I had updated my tree right before I sent that out.
Not sure what happened here. Sorry about that, and thanks, Kumar!
-Becky
On Jun 11, 2008, at 11:47 PM, Kumar Gala wrote:
>
> Since Becky's been under the weather today and I'm feeling generous
> how about this version:
>
>
t;[EMAIL PROTECTED]>
> ---
>
>
Acked-by: Becky Bruce <[EMAIL PROTECTED]>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http
This patch changes the return type of initdram() from long int to phys_size_t.
This is required for a couple of reasons: long int limits the amount of dram
to 2GB, and u-boot in general is moving over to phys_size_t to represent the
size of physical memory. phys_size_t is defined as an unsigned lo
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
include/common.h |2 +-
lib_generic/display_options.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/common.h b/include/common.h
index 9193624..fd5adb3 100644
--- a/include/common.h
This updates the lmb code to use phys_size_t
and phys_addr_t instead of unsigned long. Other code
which interacts with this code, like getenv_bootm_size()
is also updated.
Booted on MPC8641HPCN, build-tested ppc, arm, mips.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
common/cmd_b
Currently, both are defined as an unsigned long, but
should be phys_size_t. This should result in no real change,
since phys_size_t is currently an unsigned long for all the
default configs. Also add print_lnum to cmd_bdinfo to deal
with the potentially wider memsize.
Signed-off-by: Becky Bruce
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, this code only deals with BATs 0-3, which makes
it useless on systems that support BATs 4-7. Add the
support for these registers.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
No, I'm not striving for a world record
On May 14, 2008, at 3:54 PM, Kim Phillips wrote:
> On Wed, 14 May 2008 15:31:43 -0500
> Becky Bruce <[EMAIL PROTECTED]> wrote:
>
>>
>> On May 14, 2008, at 1:57 PM, Kim Phillips wrote:
>>> On Wed, 14 May 2008 13:10:04 -0500
>>> [EMAIL PROTECTED] wrote:
On May 14, 2008, at 1:57 PM, Kim Phillips wrote:
> On Wed, 14 May 2008 13:10:04 -0500
> [EMAIL PROTECTED] wrote:
>
>> From: Becky Bruce <[EMAIL PROTECTED]>
>>
>> Currently, END_OF_RAM is used by the trap code to determine if
>> we should attempt to access t
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, END_OF_RAM is used by the trap code to determine if
we should attempt to access the stack pointer or not. However,
on systems with a lot of RAM, only a subset of the RAM is
guaranteed to be mapped in and accessible. Change END_OF_RAM
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, END_OF_RAM is used by the trap code to determine if
we should attempt to access the stack pointer or not. However,
on systems with a lot of RAM, only a subset of the RAM is
guaranteed to be mapped in and accessible. Change END_OF_RAM
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, END_OF_RAM is used by the trap code to determine if
we should attempt to access the stack pointer or not. However,
on systems with a lot of RAM, only a subset of the RAM is
guaranteed to be mapped in and accessible. Change END_OF_RAM
On May 11, 2008, at 6:05 PM, Wolfgang Denk wrote:
> In message <[EMAIL PROTECTED]
> > you wrote:
>> From: Becky Bruce <[EMAIL PROTECTED]>
>>
>> Currently, this code only deals with BATs 0-3, which makes
>> it useless on systems that support BATs 4-
From: Becky Bruce <[EMAIL PROTECTED]>
This function prints the values of all the BAT register
pairs - I needed this for debug earlier this week; adding it to
lib_ppc so others can use it (and add it to reginfo commands
if so desired).
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, this code only deals with BATs 0-3, which makes
it useless on systems that support BATs 4-7. Add the
support for these registers.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
resend, moving comma in enum as requested on list
On May 9, 2008, at 2:14 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 14:45 Fri 09 May , Jerry Van Baren wrote:
>> Becky Bruce wrote:
>>> On May 9, 2008, at 10:28 AM, Scott Wood wrote:
>>>> On Thu, May 08, 2008 at 07:02:23PM -0500, [EMAIL PROTECTED]
>>
On May 9, 2008, at 10:28 AM, Scott Wood wrote:
> On Thu, May 08, 2008 at 07:02:23PM -0500, [EMAIL PROTECTED]
> wrote:
>> diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h
>> index 49d6860..f836270 100644
>> --- a/include/asm-ppc/mmu.h
>> +++ b/include/asm-ppc/mmu.h
>> @@ -141,6 +141,10
Yeah, I noticed that this morning. I cut and pasted that particular
block from another file, and somehow ended up with spaces. I'll
respin this one.
On May 9, 2008, at 10:29 AM, Scott Wood wrote:
> On Thu, May 08, 2008 at 07:02:38PM -0500, [EMAIL PROTECTED]
> wrote:
>> +printf ("\t
Folks,
I've resent the BAT patch series, as the first one never showed up
(for me, at least), and I had sent out the wrong version of the third
patch.
Apologies for the noise if the first set if they actually showed up
for anyone - my corporate mail server has a history of eating things
s
From: Becky Bruce <[EMAIL PROTECTED]>
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
cpu/mpc86xx/cpu.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 3c74764..e26bf36 100644
--- a/cpu/mpc86xx/cpu.c
+++ b
From: Becky Bruce <[EMAIL PROTECTED]>
This function prints the values of all the BAT register
pairs - I needed this for debug earlier this week; adding it to
lib_ppc so others can use it (and add it to reginfo commands
if so desired).
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, this code only deals with BATs 0-3, which makes
it useless on systems that support BATs 4-7. Add the
support for these registers.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
include/asm-ppc/mmu.h |4 ++
lib_ppc/bat_rw.c
From: Becky Bruce <[EMAIL PROTECTED]>
Change all code that conditionally operates on high bat
registers (that is, BATs 4-7) to look at CONFIG_HIGH_BATS
instead of the myriad ways this is done now. Define the option
for every config for which high bats are supported (and
enabled by early bo
From: Becky Bruce <[EMAIL PROTECTED]>
Change all code that conditionally operates on high bat
registers (that is, BATs 4-7) to look at CONFIG_HIGH_BATS
instead of the myriad ways this is done now. Define the option
for every config for which high bats are supported (and
enabled by early bo
From: Becky Bruce <[EMAIL PROTECTED]>
Signed-off-by: Becky Bruce
---
cpu/mpc86xx/cpu.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 3c74764..e26bf36 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -26,6
From: Becky Bruce <[EMAIL PROTECTED]>
This function prints the values of all the BAT register
pairs - I needed this for debug earlier this week; adding it to
lib_ppc so others can use it (and add it to reginfo commands
if so desired).
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
From: Becky Bruce <[EMAIL PROTECTED]>
Currently, this code only deals with BATs 0-3, which makes
it useless on systems that support BATs 4-7. Add the
support for these registers.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
include/asm-ppc/mmu.h |4 ++
lib_ppc/bat_rw.c
map_physmem currently generates a warning when CONFIG_PHYS_64BIT is
enabled. This quiets the warning.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
include/asm-ppc/io.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-ppc/io.h b/include/asm-pp
Physical addrs need to be represented by phys_addr_t, not
unsigned long. Otherwise, systems that use CONFIG_PHYS_64BIT
are going to fail mightily.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
drivers/pci/pci.c |8
include/pci.h | 10 +-
2 files chan
On Apr 11, 2008, at 5:27 PM, Yang Ronda wrote:
> Hi,
>
> I was trying to turn on I-Cache while u-boot is executing out of
> Flash on MPC5121 ADS board, and just found the board refused to
> boot. After debug and tried many different ways, we finally found
> that the root of the problem is th
On Feb 18, 2008, at 11:32 AM, Jon Loeliger wrote:
> Jean-Christophe PLAGNIOL-VILLARD wrote:
>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
>> <[EMAIL PROTECTED]>
>>
>> diff --git a/cpu/mpc86xx/cpu_init.c b/cpu/mpc86xx/cpu_init.c
>> index ab5906d..0efd855 100644
>> --- a/cpu/mpc86xx/cpu_init
This can be used for debug, and will be used by board code
to help implement reginfo.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
drivers/misc/fsl_law.c| 19 +++
include/asm-ppc/fsl_law.h |1 +
2 files changed, 20 insertions(+), 0 deletions(-)
diff -
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
board/sbc8641d/Makefile|2 +-
board/sbc8641d/law.c | 58
include/configs/sbc8641d.h |1 +
3 files changed, 60 insertions(+), 1 deletions(-)
create mode 100644 board/sbc8641d
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
board/freescale/mpc8610hpcd/Makefile |2 +-
board/freescale/mpc8610hpcd/law.c| 44 ++
include/configs/MPC8610HPCD.h|1 +
3 files changed, 46 insertions(+), 1 deletions(-)
create mode
Adds the support code in cpu/mpc86xx for the new law setup code
recently created fsl_law.c, and changes the MPC8641HPCN config
to use this code.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
board/freescale/mpc8641hpcn/Makefile |2 +-
board/freescale/mpc8641hpcn/law.c
This includes mpc8610hpcd, mpc8641hpcn, and sbc8641d.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
board/freescale/mpc8610hpcd/Makefile |2 -
board/freescale/mpc8610hpcd/init.S | 147
board/freescale/mpc8610hpcd/u-boot.lds |1 -
board/fre
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
common/cmd_reginfo.c | 10 --
cpu/mpc86xx/cpu.c | 24 +++-
include/configs/MPC8610HPCD.h |1 +
include/configs/MPC8641HPCN.h |1 +
include/configs/sbc8641d.h|1 +
5
law and BAT initialization
to C code, and will aid with 36-bit physical addressing support.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
cpu/mpc86xx/start.S | 122 +--
1 files changed, 69 insertions(+), 53 deletions(-)
diff --git a/cpu/m
This patchset adds support for the new law setup method in
fsl_law.c to 86xx. The existing platforms (mpc8641hpcn,
mpc8610hpcd, and sbc8641d) are converted to use the new
method. The old support is them removed.
A print_laws() function is then added to fsl_law.c, and
then used to implement a
This patch converts 86xx to the new law setup in C that Kumar posted
recently.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
board/freescale/mpc8641hpcn/Makefile |2 +-
board/freescale/mpc8641hpcn/law.c| 64 ++
cpu/mpc86xx/cpu_
will facilitate the moving of law and BAT initialization
to C code, and will aid with 36-bit physical addressing support.
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]>
---
cpu/mpc86xx/start.S | 122 +--
1 files changed, 69 insertions(
50 matches
Mail list logo