|
@@ -27,13 +27,11 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
-extern long int spd_sdram (void);
|
|
|
|
-
|
|
|
|
#include <common.h>
|
|
#include <common.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/immap_85xx.h>
|
|
#include <asm/immap_85xx.h>
|
|
#include <ioports.h>
|
|
#include <ioports.h>
|
|
-#include <spd.h>
|
|
|
|
|
|
+#include <spd_sdram.h>
|
|
#include <miiphy.h>
|
|
#include <miiphy.h>
|
|
|
|
|
|
long int fixed_sdram (void);
|
|
long int fixed_sdram (void);
|
|
@@ -262,7 +260,7 @@ int checkboard (void)
|
|
long int initdram (int board_type)
|
|
long int initdram (int board_type)
|
|
{
|
|
{
|
|
long dram_size = 0;
|
|
long dram_size = 0;
|
|
- extern long spd_sdram (void);
|
|
|
|
|
|
+
|
|
#if 0
|
|
#if 0
|
|
#if !defined(CONFIG_RAM_AS_FLASH)
|
|
#if !defined(CONFIG_RAM_AS_FLASH)
|
|
volatile ccsr_lbc_t *lbc = (void *)(CFG_MPC85xx_LBC_ADDR);
|
|
volatile ccsr_lbc_t *lbc = (void *)(CFG_MPC85xx_LBC_ADDR);
|