From: DENX Support System <support@denx.de>
To: u-boot@lists.denx.de
Subject: [DNX#2006040142001383] [U-Boot-Users] [PATCH 6/7] Flat device tree suppor [...]
Date: Sat, 1 Apr 2006 02:00:08 +0200 [thread overview]
Message-ID: <1143849608.380714.910732256@castor.denx.de> (raw)
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142001383] was created:
<snip>
> * Added PCI and I2C support to CDS flat device tree
> * Added VIA configuration table
> * Added support for PCI2 on CDS
> Patch by Andy Fleming 17-Mar-2006
> * Fixed a bug where 8555 PCI code used the old variable and
>
> Signed-off-by: Andy Fleming <afleming@freescale.com>
>
> ---
>
> board/cds/common/ft_board.c | 3 +
> board/cds/common/via.c | 99 +++++++++++++++++++++++++++
> board/cds/common/via.h | 18 +++++
> board/cds/mpc8541cds/Makefile | 1
> board/cds/mpc8541cds/init.S | 12 ++-
> board/cds/mpc8541cds/mpc8541cds.c | 32 ++++-----
> board/cds/mpc8541cds/oftree.dts | 99 +++++++++++++++++++++++++--
> board/cds/mpc8548cds/Makefile | 1
> board/cds/mpc8548cds/init.S | 12 ++-
> board/cds/mpc8548cds/mpc8548cds.c | 32 ++++-----
> board/cds/mpc8548cds/oftree.dts | 131
> ++++++++++++++++++++++++++++++++++--
> board/cds/mpc8555cds/Makefile | 1
> board/cds/mpc8555cds/init.S | 12 ++-
> board/cds/mpc8555cds/mpc8555cds.c | 39 ++++++-----
> board/cds/mpc8555cds/oftree.dts | 135
> +++++++++++++++++++++++++++++++++++--
> include/configs/MPC8541CDS.h | 21 ++----
> include/configs/MPC8548CDS.h | 23 ++----
> include/configs/MPC8555CDS.h | 23 ++----
> create mode 100644 board/cds/common/via.c
> create mode 100644 board/cds/common/via.h
>
> 7fa801f3ea1d0fe73a2aec55965aa0cf58a1997a
> diff --git a/board/cds/common/ft_board.c b/board/cds/common/ft_board.c
> index 8c4ef0c..f167e5f 100644
> --- a/board/cds/common/ft_board.c
> +++ b/board/cds/common/ft_board.c
> @@ -32,6 +32,9 @@ extern void ft_cpu_setup(void *blob, bd_
> void
> ft_board_setup(void *blob, bd_t *bd)
> {
> +#ifdef CONFIG_PCI
> + ft_pci_setup(blob, bd);
> +#endif
> ft_cpu_setup(blob, bd);
> }
> #endif
> diff --git a/board/cds/common/via.c b/board/cds/common/via.c
> new file mode 100644
> index 0000000..68c8d21
> --- /dev/null
> +++ b/board/cds/common/via.c
> @@ -0,0 +1,99 @@
> +/*
> + * Copyright 2006 Freescale Semiconductor.
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */
> +
> +#include <common.h>
> +#include <pci.h>
> +
> +/* Config the VIA chip */
> +void mpc85xx_config_via(struct pci_controller* hose, pci_dev_t dev,
> struct pci_config_table *tab)
> +{
> + pci_dev_t bridge;
> +
> + /* Enable USB and IDE functions */
> + pci_hose_write_config_byte(hose, dev, 0x48, 0x08);
> +
> + pciauto_config_device(hose, dev);
> +
> + /*
> + * Force the backplane P2P bridge to have a window
> + * open from 0x00000000-0x00001fff in PCI I/O space.
> + * This allows legacy I/O (i8259, etc) on the VIA
> + * southbridge to be accessed.
> + */
> + bridge = PCI_BDF(0,17,0);
> + pci_hose_write_config_byte(hose, bridge, PCI_IO_BASE, 0);
> + pci_hose_write_config_word(hose, bridge, PCI_IO_BASE_UPPER16, 0);
> + pci_hose_write_config_byte(hose, bridge, PCI_IO_LIMIT, 0x10);
</snip>
Your U-Boot support team
reply other threads:[~2006-04-01 0:00 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=1143849608.380714.910732256@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.