/* ------------------------------------------------------------------------- */
+#if 0
static long int dram_size (long int, long int *, long int);
+#endif
/* ------------------------------------------------------------------------- */
udelay(100);
-// size_b0 = dram_size (CFG_MAMR_48_SDR_4, (ulong *)SDRAM_BASE2_PRELIM, SDRAM_MAX_SIZE);
+#if 0
+ size_b0 = dram_size (CFG_MAMR_48_SDR_4, (ulong *)SDRAM_BASE2_PRELIM, SDRAM_MAX_SIZE);
+#else
size_b0 = 16*1024*1024;
+#endif
/*
* No bank 1
/* ------------------------------------------------------------------------- */
+#if 0
/*
* Check memory range for valid RAM. A simple memory test determines
* the actually available RAM size between addresses `base' and
}
return (maxsize);
}
+#endif /* 0 */
/*
* Initialize PCI Devices, report devices found.
*/
-int pci_init(void)
+void pci_init (bd_t *dummy)
{
pci_dev_init(0);
- return 0;
}
volatile memctl8xx_t *memctl = &immr->im_memctl;
ulong reg;
#endif
-#if defined(CONFIG_I2C) && defined(CFG_ALLOC_DPRAM)
- volatile cpm8xx_t *cp = (cpm8xx_t *)&immr->im_cpm;
- volatile iic_t *iip = (iic_t *)&cp->cp_dparam[PROFF_IIC];
-#endif
/* SYPCR - contains watchdog control (11-9) */
* (easy to change)
*/
-#define CONFIG_PPC405GP 1 /* This is a PPC405 CPU */
-#define CONFIG_PPC405 1 /* ...member of PPC405 family */
+#define CONFIG_405GP 1 /* This is a PPC405 CPU */
+#define CONFIG_405 1 /* ...member of PPC405 family */
#define CONFIG_BOARD_PRE_INIT 1 /* setup for 405gp */
#define CONFIG_SYS_CLK_FREQ 25000000 /* .. frequency in L1 */
defined (CONFIG_CPCIISER4) || \
defined (CONFIG_OCRTC) || \
defined (CONFIG_DASA_SIM) || \
- defined (CONFIG_ERIC)
+ defined (CONFIG_ERIC) || \
+ defined (CONFIG_MOUSSE)
/* $(CPU)/405gp_pci.c */
void pci_init (bd_t *);
void pciinfo (int);
#ifdef CONFIG_EVB64260
void evb64260_init(void);
-ulong get_gclk_freq(void);
void debug_led(int, int);
void display_mem_map(void);
void perform_soft_reset(void);
#elif defined(CONFIG_8xx) || \
defined(CONFIG_IOP480) || \
defined(CONFIG_4xx) || \
- defined(CONFIG_CU824)
+ defined(CONFIG_CU824) || \
+ defined(CONFIG_EVB64260) || \
+ defined(CONFIG_MOUSSE)
ulong get_gclk_freq (void);
ulong get_OPB_freq (void);
#ifdef CONFIG_4xx
static int DhcpExtended(u8 *e, int message_type, IPaddr_t ServerID, IPaddr_t RequestedIP)
{
u8 *start = e ;
- u8 *cnt, *x;
+ u8 *cnt;
+#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_VENDOREX)
+ u8 *x;
+#endif
*e++ = 99; /* RFC1048 Magic Cookie */
*e++ = 130;