Skip to content
Snippets Groups Projects
Commit f60ba0d3 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fix build problems on sorcery board.

parent 6741ae92
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* Fix build problems on sorcery board.
* Fix coldfire build problems. * Fix coldfire build problems.
Patch by Marian Balakowicz, 01 Sep 2006 Patch by Marian Balakowicz, 01 Sep 2006
......
...@@ -33,7 +33,7 @@ long int initdram (int board_type) ...@@ -33,7 +33,7 @@ long int initdram (int board_type)
size = dramSetup (); size = dramSetup ();
return get_ram_size((ulong *)CFG_SDRAM_BASE, size); return get_ram_size(CFG_SDRAM_BASE, size);
} }
int checkboard (void) int checkboard (void)
......
...@@ -170,7 +170,7 @@ pci_mpc8220_init(struct pci_controller *hose) ...@@ -170,7 +170,7 @@ pci_mpc8220_init(struct pci_controller *hose)
hose->region_count = 3; hose->region_count = 3;
hose->cfg_addr = &(xcpci->cfg_adr); 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, pci_set_ops(hose,
mpc8220_pci_read_config_byte, mpc8220_pci_read_config_byte,
......
...@@ -261,6 +261,7 @@ ...@@ -261,6 +261,7 @@
#define CONFIG_MPC8220_FEC 1 #define CONFIG_MPC8220_FEC 1
#define CONFIG_FEC_10MBIT 1 /* Workaround for FEC 100Mbit problem */ #define CONFIG_FEC_10MBIT 1 /* Workaround for FEC 100Mbit problem */
#define CONFIG_PHY_ADDR 0x1F #define CONFIG_PHY_ADDR 0x1F
#define CONFIG_MII 1
/* /*
* Miscellaneous configurable options * Miscellaneous configurable options
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment