* where does kernel config MPC860 memory controller BRx register?
@ 2002-09-29 7:23 Luo Yanjun
2002-09-29 8:33 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Luo Yanjun @ 2002-09-29 7:23 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
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.
Sorry, I'm new to linux kernel, anybody can help me?
Thanks in advance.
Luo Yanjun.
09/29/2002.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: where does kernel config MPC860 memory controller BRx register?
2002-09-29 7:23 where does kernel config MPC860 memory controller BRx register? Luo Yanjun
@ 2002-09-29 8:33 ` Wolfgang Denk
2002-09-29 13:17 ` Dr. Craig Hollabaugh
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2002-09-29 8:33 UTC (permalink / raw)
To: Luo Yanjun; +Cc: linuxppc-embedded
In message <03db01c26789$12dcb5b0$6100a8c0@udtech.net> 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 <10911@jpl-devvax.JPL.NASA.GOV>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: where does kernel config MPC860 memory controller BRx register?
2002-09-29 8:33 ` Wolfgang Denk
@ 2002-09-29 13:17 ` Dr. Craig Hollabaugh
0 siblings, 0 replies; 3+ messages in thread
From: Dr. Craig Hollabaugh @ 2002-09-29 13:17 UTC (permalink / raw)
To: Wolfgang Denk, Luo Yanjun; +Cc: linuxppc-embedded
At 10:33 AM 9/29/2002 +0200, Wolfgang Denk wrote:
>
>In message <03db01c26789$12dcb5b0$6100a8c0@udtech.net> 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.
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-29 13:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29 7:23 where does kernel config MPC860 memory controller BRx register? Luo Yanjun
2002-09-29 8:33 ` Wolfgang Denk
2002-09-29 13:17 ` Dr. Craig Hollabaugh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).