Fix build problems on sorcery board.
authorWolfgang Denk <wd@pollux.denx.de>
Mon, 4 Sep 2006 00:01:27 +0000 (02:01 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Mon, 4 Sep 2006 00:01:27 +0000 (02:01 +0200)
CHANGELOG
board/sorcery/sorcery.c
cpu/mpc8220/pci.c
include/configs/sorcery.h

index be18ac2..a288465 100644 (file)
--- 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
 
index 35d6a06..165e9e2 100644 (file)
@@ -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)
index ca4a04d..4ef214e 100644 (file)
@@ -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,
index 3d907f8..4937638 100644 (file)
 #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