linux-mips
[Top] [All Lists]

Re: LOADADDR and low physical addresses?

To: Matthew Dharm <mdharm@momenco.com>
Subject: Re: LOADADDR and low physical addresses?
From: Jun Sun <jsun@mvista.com>
Date: Fri, 6 Sep 2002 14:42:32 -0700
Cc: Linux-MIPS <linux-mips@linux-mips.org>, jsun@mvista.com
In-reply-to: <NEBBLJGMNKKEEMNLHGAIEENICIAA.mdharm@momenco.com>; from mdharm@momenco.com on Fri, Sep 06, 2002 at 02:13:08PM -0700
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20020906135324.D1382@mvista.com> <NEBBLJGMNKKEEMNLHGAIEENICIAA.mdharm@momenco.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
On Fri, Sep 06, 2002 at 02:13:08PM -0700, Matthew Dharm wrote:
> Yes, the having two devices at the same physical address might be a
> problem, but one I _might_ be able to work around.  Not only do I have
> a large bank of SDRAM, but I also have a small bank of on-chip SRAM.
> 
> So I'm thinking that the map will go (starting from 0) like this:
> on-chip SRAM, control registers, main memory
> 
> And this is where I think the add_memory_region() magic might need to
> happen.  Do I need to add the on-chip SRAM and control registers using
> add_memory_region()?  

I don't think you have to.  I *think* it works if you don't.  Not sure
know if you actuall do add.

> Is it going to be okay to have a large and
> mis-aligned bank of SDRAM?

That should be ok.

Jun

<Prev in Thread] Current Thread [Next in Thread>