forked from OERV-BSP/u-boot
Convert CONFIG_DM9000_BYTE_SWAPPED et al to Kconfig
This converts the following to Kconfig: CONFIG_DM9000_BYTE_SWAPPED CONFIG_DM9000_NO_SROM CONFIG_DM9000_USE_16BIT CONFIG_DM9000_DEBUG CONFIG_MXC_GPT_HCLK CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user