|
@@ -76,10 +76,11 @@ int board_init(void)
|
|
|
}
|
|
|
|
|
|
/* Configure GPMC registers for DM9000 */
|
|
|
+#define DM9000_BASE 0x2c000000
|
|
|
static void gpmc_dm9000_config(void)
|
|
|
{
|
|
|
enable_gpmc_cs_config(gpmc_net_config, &gpmc_cfg->cs[6],
|
|
|
- CONFIG_DM9000_BASE, GPMC_SIZE_16M);
|
|
|
+ DM9000_BASE, GPMC_SIZE_16M);
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -100,9 +101,7 @@ int misc_init_r(void)
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_DRIVER_DM9000
|
|
|
- /* Configure GPMC registers for DM9000 */
|
|
|
- enable_gpmc_cs_config(gpmc_net_config, &gpmc_cfg->cs[6],
|
|
|
- CONFIG_DM9000_BASE, GPMC_SIZE_16M);
|
|
|
+ gpmc_dm9000_config();
|
|
|
|
|
|
/* Use OMAP DIE_ID as MAC address */
|
|
|
if (!eth_env_get_enetaddr("ethaddr", enetaddr)) {
|