Skip to contentSkip to conversation

Calculate PLPRCR fields for MPC86x boards

PATCH New Pantelis Antoniou 3 participants 4 messages Sep 16, 2003 – Oct 8, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Calculate PLPRCR fields for MPC86x boards

Hi.

The following patch adds a program in the tools directory which aids in the programming of the PLPRCR register for MPC86x based boards.

That is given an input clock xin and a target clock gclk2 it will output (if possible) the values of the PCPRCR fields required.

Regards

Pantelis

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mpc86x_clk.diff
Url: http://lists.denx.de/pipermail/u-boot/attachments/20030916/6783a3f8/attachment.txt

#1 lore raw

PATCH 1/1 Calculate PLPRCR fields for MPC86x boards

Quoted 14 lines · Pantelis Antoniou

Hi.

The following patch adds a program in the tools directory which aids in the programming of the PLPRCR register for MPC86x based boards.

That is given an input clock xin and a target clock gclk2 it will output (if possible) the values of the PCPRCR fields required.

Regards

Pantelis

------------------------------------------------------------------------

[snip]

Quoted 3 lines

OOPS, reverse patch sent.
Here is the correct one.

Regards

Pantelis

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mpc86x_clk.diff
Url: http://lists.denx.de/pipermail/u-boot/attachments/20030916/fa83c99a/attachment.txt

#2 lore raw

PATCH 1/1 Calculate PLPRCR fields for MPC86x boards

In reply to Pantelis Antoniou

Dear Pantelis,

Quoted 6 lines · in message <[email protected]> you wrote:

The following patch adds a program in the tools directory which aids in the programming of the PLPRCR register for MPC86x based boards.

That is given an input clock xin and a target clock gclk2 it will output (if possible) the values of the PCPRCR fields required.

Thanks, added. (But target disabled by default in the tools/Makefile).

Will show up on CVS soon.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offense.                   - E. W. Dijkstra
#3 lore raw

PATCH 1/1 Calculate PLPRCR fields for MPC86x boards

As a side note, we just found out that the 859/866 family ONLY supports up to 66MHz external bus... hopefully nobody else has been bitten by this.

if your core freq is >66MHz, you MUST use the external bus x2 divisor

Quoted 34 lines · Wolfgang Denk

Dear Pantelis,

Quoted 6 lines · in message <[email protected]> you wrote:

The following patch adds a program in the tools directory which aids in the programming of the PLPRCR register for MPC86x based boards.

That is given an input clock xin and a target clock gclk2 it will output (if possible) the values of the PCPRCR fields required.

Thanks, added. (But target disabled by default in the tools/Makefile).

Will show up on CVS soon.

Best regards,

Wolfgang Denk

Signature · 15 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offense.                   - E. W. Dijkstra


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Signature · 6 lines
Nye Liu
nliu at mrv.com
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
	-- Don Quixote