summaryrefslogtreecommitdiff
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
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.
-rw-r--r--CHANGELOG2
-rw-r--r--board/sorcery/sorcery.c2
-rw-r--r--cpu/mpc8220/pci.c2
-rw-r--r--include/configs/sorcery.h1
4 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index be18ac2..a288465 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
+* Fix build problems on sorcery board.
+
* Fix coldfire build problems.
Patch by Marian Balakowicz, 01 Sep 2006
diff --git a/board/sorcery/sorcery.c b/board/sorcery/sorcery.c
index 35d6a06..165e9e2 100644
--- a/board/sorcery/sorcery.c
+++ b/board/sorcery/sorcery.c
@@ -33,7 +33,7 @@ long int initdram (int board_type)
size = dramSetup ();
- return get_ram_size((ulong *)CFG_SDRAM_BASE, size);
+ return get_ram_size(CFG_SDRAM_BASE, size);
}
int checkboard (void)
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,
diff --git a/include/configs/sorcery.h b/include/configs/sorcery.h
index 3d907f8..4937638 100644
--- a/include/configs/sorcery.h
+++ b/include/configs/sorcery.h
@@ -261,6 +261,7 @@
#define CONFIG_MPC8220_FEC 1
#define CONFIG_FEC_10MBIT 1 /* Workaround for FEC 100Mbit problem */
#define CONFIG_PHY_ADDR 0x1F
+#define CONFIG_MII 1
/*
* Miscellaneous configurable options