فهرست منبع

Fix build problems on sorcery board.

Wolfgang Denk 18 سال پیش
والد
کامیت
f60ba0d35e
4فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 2 0
      CHANGELOG
  2. 1 1
      board/sorcery/sorcery.c
  3. 1 1
      cpu/mpc8220/pci.c
  4. 1 0
      include/configs/sorcery.h

+ 2 - 0
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
 

+ 1 - 1
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)

+ 1 - 1
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,

+ 1 - 0
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