Skip to content
Snippets Groups Projects
Commit 52c7a68b authored by Matthew McClintock's avatar Matthew McClintock
Browse files

* Fixed PCI memory definitions

  Patch by Andy Fleming 17-Mar-2006

Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 08745460
No related branches found
No related tags found
No related merge requests found
...@@ -317,24 +317,8 @@ long int fixed_sdram (void) ...@@ -317,24 +317,8 @@ long int fixed_sdram (void)
* Initialize PCI Devices, report devices found. * Initialize PCI Devices, report devices found.
*/ */
#ifndef CONFIG_PCI_PNP
static struct pci_config_table pci_mpc85xxads_config_table[] = {
{ PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
PCI_IDSEL_NUMBER, PCI_ANY_ID,
pci_cfgfunc_config_device, { PCI_ENET0_IOADDR,
PCI_ENET0_MEMADDR,
PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER
} },
{ }
};
#endif
static struct pci_controller hose = { static struct pci_controller hose;
#ifndef CONFIG_PCI_PNP
config_table: pci_mpc85xxads_config_table,
#endif
};
#endif /* CONFIG_PCI */ #endif /* CONFIG_PCI */
...@@ -357,6 +341,9 @@ ft_board_setup(void *blob, bd_t *bd) ...@@ -357,6 +341,9 @@ ft_board_setup(void *blob, bd_t *bd)
u32 *p; u32 *p;
int len; int len;
#ifdef CONFIG_PCI
ft_pci_setup(blob, bd);
#endif
ft_cpu_setup(blob, bd); ft_cpu_setup(blob, bd);
p = ft_get_prop(blob, "/memory/reg", &len); p = ft_get_prop(blob, "/memory/reg", &len);
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
*/ */
#ifndef CONFIG_SYS_CLK_FREQ #ifndef CONFIG_SYS_CLK_FREQ
#define CONFIG_SYS_CLK_FREQ 33000000 #define CONFIG_SYS_CLK_FREQ 66000000
#endif #endif
...@@ -327,9 +327,10 @@ ...@@ -327,9 +327,10 @@
#define CFG_PCI1_MEM_BASE 0x80000000 #define CFG_PCI1_MEM_BASE 0x80000000
#define CFG_PCI1_MEM_PHYS CFG_PCI1_MEM_BASE #define CFG_PCI1_MEM_PHYS CFG_PCI1_MEM_BASE
#define CFG_PCI1_MEM_SIZE 0x20000000 /* 512M */ #define CFG_PCI1_MEM_SIZE 0x20000000 /* 512M */
#define CFG_PCI1_IO_BASE 0xe2000000
#define CFG_PCI1_IO_PHYS CFG_PCI1_IO_BASE #define CFG_PCI1_IO_BASE 0x0
#define CFG_PCI1_IO_SIZE 0x1000000 /* 16M */ #define CFG_PCI1_IO_PHYS 0xe2000000
#define CFG_PCI1_IO_SIZE 0x100000 /* 1M */
#if defined(CONFIG_PCI) #if defined(CONFIG_PCI)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment