From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc460: read get_sys_info from CPR registers instead of STRP registers
Date: Mon, 25 Jul 2011 13:55:02 +0200 [thread overview]
Message-ID: <201107251355.02565.sr@denx.de> (raw)
In-Reply-To: <1311260763-15422-1-git-send-email-mike@mikebwilliams.com>
Hi Mike,
On Thursday 21 July 2011 17:06:03 Mike Williams wrote:
> This code has been changed to read the CPU speed information from the
> CPR registers rather than the bootstrap registers. This is useful when
> changing the clock speed to something other than the default on boot.
Thanks. Unfortunately this patch introduces compile errors for 460SX boards
(e.g. redwood):
[stefan at kubuntu u-boot-ppc4xx (master)]$ ./MAKEALL redwood
Configuring for redwood board...
speed.c: In function 'get_sys_info':
speed.c:339: error: 'PLLD_FWDVA_MASK' undeclared (first use in this function)
speed.c:339: error: (Each undeclared identifier is reported only once
speed.c:339: error: for each function it appears in.)
speed.c:340: error: 'PLLD_FWDVB_MASK' undeclared (first use in this function)
speed.c:341: error: 'PLLD_FBDV_MASK' undeclared (first use in this function)
speed.c:344: error: 'OPBDV_MASK' undeclared (first use in this function)
speed.c:348: error: 'PERDV_MASK' undeclared (first use in this function)
speed.c:351: error: 'CPR0_PLBED' undeclared (first use in this function)
speed.c:352: error: 'PLBEDDV_MASK' undeclared (first use in this function)
speed.c:357: error: 'PLLC_FBSEL_MASK' undeclared (first use in this function)
make[1]: *** [speed.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/powerpc/cpu/ppc4xx/libppc4xx.o] Error 2
make: *** Waiting for unfinished jobs....
Could you please check, if the 460SX has the same registers and bits as
460EX/GT and extend its header as well?
Thanks.
Best regards,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
next prev parent reply other threads:[~2011-07-25 11:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-21 15:06 [U-Boot] [PATCH] ppc460: read get_sys_info from CPR registers instead of STRP registers Mike Williams
2011-07-25 11:55 ` Stefan Roese [this message]
2011-07-25 14:42 ` Mike Williams
2011-07-25 15:11 ` Stefan Roese
2011-07-25 18:05 ` Wolfgang Denk
2011-07-25 18:14 ` Mike Williams
2011-07-25 18:39 ` Wolfgang Denk
2011-07-26 8:00 ` Stefan Roese
2011-07-26 9:31 ` Wolfgang Denk
2011-08-05 17:45 ` Tirumala Marri
2011-08-19 15:30 ` Stefan Roese
2011-09-14 21:37 ` Tirumala Marri
2011-08-24 22:16 ` Wolfgang Denk
2011-08-25 17:09 ` Tirumala Marri
2011-09-14 21:46 ` Tirumala Marri
2011-08-25 18:05 ` Tirumala Marri
2011-08-26 6:01 ` Stefan Roese
2011-08-26 15:32 ` Tirumala Marri
2011-08-29 13:27 ` Mike Williams
2011-08-29 22:12 ` Tirumala Marri
-- strict thread matches above, loose matches on Subject: below --
2011-07-20 21:35 Mike Williams
2011-07-20 22:38 ` Wolfgang Denk
2011-07-21 15:00 ` Mike Williams
2011-07-21 21:22 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201107251355.02565.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox