summaryrefslogtreecommitdiffstats
path: root/cpu/mpc8220/cpu_init.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-05-16 15:23:22 +0000
committerwdenk <wdenk>2005-05-16 15:23:22 +0000
commit7680c140af9cac62c834f30d2d3c1479723ced69 (patch)
tree5f315fe7db8e19fabd9034f6f8e44a0ba440b207 /cpu/mpc8220/cpu_init.c
parentc01766307c1140955b71a9a842d742ee6478bd24 (diff)
downloadtalos-obmc-uboot-7680c140af9cac62c834f30d2d3c1479723ced69.tar.gz
talos-obmc-uboot-7680c140af9cac62c834f30d2d3c1479723ced69.zip
Add PCI support for Sorcery board.
Code cleanup (especially Sorcery / Alaska / Yukon serial driver).
Diffstat (limited to 'cpu/mpc8220/cpu_init.c')
-rw-r--r--cpu/mpc8220/cpu_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc8220/cpu_init.c b/cpu/mpc8220/cpu_init.c
index a1e2f659cf..8c358a870c 100644
--- a/cpu/mpc8220/cpu_init.c
+++ b/cpu/mpc8220/cpu_init.c
@@ -49,6 +49,8 @@ void cpu_init_f (void)
portcfg->pcfg1 = 0;
portcfg->pcfg2 = 0;
portcfg->pcfg3 = 0;
+ portcfg->pcfg2 = CFG_GP1_PORT2_CONFIG;
+ portcfg->pcfg3 = CFG_PCI_PORT3_CONFIG | CFG_GP2_PORT3_CONFIG;
/*
* Flexbus Controller: configure chip selects and enable them
@@ -109,7 +111,7 @@ void cpu_init_f (void)
/* Master Priority Enable */
xlbarb->mastPriority = 0;
- xlbarb->mastPriEn = 0x1f;
+ xlbarb->mastPriEn = 0xff;
}
/*
OpenPOWER on IntegriCloud