diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-02 16:42:18 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-22 10:31:47 -0500 |
commit | 9b0240f8c6a1caa42da73835090fcb6db60f3d23 (patch) | |
tree | 11dd2098433b1780a444e45611f798c1a60dea2a /board/timll | |
parent | 6bd2372094ab4827547ec0d3e5a258b72810cafd (diff) | |
download | u-boot-9b0240f8c6a1caa42da73835090fcb6db60f3d23.tar.gz u-boot-9b0240f8c6a1caa42da73835090fcb6db60f3d23.tar.bz2 u-boot-9b0240f8c6a1caa42da73835090fcb6db60f3d23.zip |
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>
Diffstat (limited to 'board/timll')
-rw-r--r-- | board/timll/devkit8000/devkit8000.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit8000/devkit8000.c index 0808ca1a54..06009d8ad5 100644 --- a/board/timll/devkit8000/devkit8000.c +++ b/board/timll/devkit8000/devkit8000.c @@ -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)) { |