From: DENX Support System <support@denx.de>
To: u-boot@lists.denx.de
Subject: [DNX#2006040142001249] [U-Boot-Users] [PATCH 7/7] Flat device tree suppor [...]
Date: Sat, 1 Apr 2006 00:50:20 +0200 [thread overview]
Message-ID: <1143845420.403081.202445529@castor.denx.de> (raw)
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142001249] was created:
<snip>
> * Switched default PCI speed for 8540 ADS back to 33MHz
> * Added comments and a printf to warn that PCI-X won't
> work at 33MHz
>
> ---
>
> cpu/mpc85xx/pci.c | 3 +++
> doc/README.mpc85xxads | 3 +++
> include/configs/MPC8540ADS.h | 6 +++++-
> 3 files changed, 11 insertions(+), 1 deletions(-)
>
> db86eda9e3cd0b3e89bd50965a49b6232f1d97c3
> diff --git a/cpu/mpc85xx/pci.c b/cpu/mpc85xx/pci.c
> index ca11bce..cfb7dcd 100644
> --- a/cpu/mpc85xx/pci.c
> +++ b/cpu/mpc85xx/pci.c
> @@ -72,6 +72,9 @@ pci_mpc85xx_init(struct pci_controller *
>
> if (!(gur->pordevsr & PORDEVSR_PCI)) {
> /* PCI-X init */
> + if (CONFIG_SYS_CLK_FREQ < 66000000)
> + printf("PCI-X will only work at 66 MHz\n");
> +
> reg16 = PCI_X_CMD_MAX_SPLIT | PCI_X_CMD_MAX_READ
> | PCI_X_CMD_ERO | PCI_X_CMD_DPERR_E;
> pci_hose_write_config_word(hose, dev, PCIX_COMMAND, reg16);
> diff --git a/doc/README.mpc85xxads b/doc/README.mpc85xxads
> index f0cf782..ae8202b 100644
> --- a/doc/README.mpc85xxads
> +++ b/doc/README.mpc85xxads
> @@ -100,6 +100,9 @@ Updated 13-July-2004 Jon Loeliger
> SW7[1:4] = 0101 = 5 => 5 x 66 = 330 CCB Sysclk
> SW7[5:6] = 01 => 5:2 x 330 = 825 Core clock
>
> + In order to use PCI-X (only in the first PCI slot. The one with
> + the RIO connector), you need to set SW1[4] (config) to 1 (off).
> + Also, configure the board to run PCI at 66 MHz.
>
> 2. MEMORY MAP TO WORK WITH LINUX KERNEL
>
> diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
> index 81ee945..8e4d2c9 100644
> --- a/include/configs/MPC8540ADS.h
> +++ b/include/configs/MPC8540ADS.h
> @@ -68,10 +68,14 @@
> * The board, however, can run at 66MHz. In any event, this value
> * must match the settings of some switches. Details can be found
> * in the README.mpc85xxads.
> + *
> + * XXX -- Can't we run at 66 MHz, anyway? PCI should drop to
> + * 33MHz to accommodate, based on a PCI pin.
> + * Note that PCI-X won't work at 33MHz.
> */
>
> #ifndef CONFIG_SYS_CLK_FREQ
> -#define CONFIG_SYS_CLK_FREQ 66000000
> +#define CONFIG_SYS_CLK_FREQ 33000000
> #endif
>
>
> --
> 1.2.4
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
</snip>
Your U-Boot support team
reply other threads:[~2006-03-31 22:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1143845420.403081.202445529@castor.denx.de \
--to=support@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.