Re: where does kernel config MPC860 memory controller BRx register?

2 messages, 2 authors, 2002-09-29 · open the first message on its own page

Re: where does kernel config MPC860 memory controller BRx register?

From: Wolfgang Denk <hidden>
Date: 2002-09-29 08:33:58

In message [off-list ref] you wrote:
I want to use CS3 of MPC860 for some devices,
so I need config BR3 register, I don't know where
to config it, I have not find BR0's config code.
Where can I find BR0's config code? If I find that,
I think I can place my code there.
The initialziation of the memory controller (and things like  testing
and  sizing available memory) have to be done by the firmware on your
board, so look in your firmware sources.

For additional chip selects, you can  of  course  add  the  necessary
BRx/ORx initialization in the init function of the device driver that
will be accessing this hardware.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
I think it's a new feature. Don't tell anyone it was an accident. :-)
  -- Larry Wall on s/foo/bar/eieio in [off-list ref]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: where does kernel config MPC860 memory controller BRx register?

From: Dr. Craig Hollabaugh <hidden>
Date: 2002-09-29 13:17:46

At 10:33 AM 9/29/2002 +0200, Wolfgang Denk wrote:
In message [off-list ref] you wrote:
quoted
I want to use CS3 of MPC860 for some devices,
so I need config BR3 register, I don't know where
to config it, I have not find BR0's config code.
Where can I find BR0's config code? If I find that,
I think I can place my code there.
The initialziation of the memory controller (and things like  testing
and  sizing available memory) have to be done by the firmware on your
board, so look in your firmware sources.

For additional chip selects, you can  of  course  add  the  necessary
BRx/ORx initialization in the init function of the device driver that
will be accessing this hardware.

Here's some example code for CS5 device driver init

http://www.embeddedlinuxinterfacing.com/sourcecode.shtml

Look at chapter 9,
helloworldbit_rpxcllf.c

You also need to be looking at the MPC860UM (User manual) at the same time.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help