summaryrefslogtreecommitdiff
path: root/cpu/mpc8220/pci.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-09-04 02:01:27 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-09-04 02:01:27 +0200
commitf60ba0d35e13e9dcf839d4563f9436d07468b1ef (patch)
treecf469c74cf6824cb7a32c3e36ef68cc6c093cf3f /cpu/mpc8220/pci.c
parent6741ae92f37caea8a22d1dcfaeab356f94b64676 (diff)
downloadu-boot-imx-f60ba0d35e13e9dcf839d4563f9436d07468b1ef.zip
u-boot-imx-f60ba0d35e13e9dcf839d4563f9436d07468b1ef.tar.gz
u-boot-imx-f60ba0d35e13e9dcf839d4563f9436d07468b1ef.tar.bz2
Fix build problems on sorcery board.
Diffstat (limited to 'cpu/mpc8220/pci.c')
-rw-r--r--cpu/mpc8220/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc8220/pci.c b/cpu/mpc8220/pci.c
index ca4a04d..4ef214e 100644
--- a/cpu/mpc8220/pci.c
+++ b/cpu/mpc8220/pci.c
@@ -170,7 +170,7 @@ pci_mpc8220_init(struct pci_controller *hose)
hose->region_count = 3;
hose->cfg_addr = &(xcpci->cfg_adr);
- hose->cfg_data = CONFIG_PCI_CFG_BUS;
+ hose->cfg_data = (volatile unsigned char *)CONFIG_PCI_CFG_BUS;
pci_set_ops(hose,
mpc8220_pci_read_config_byte,