diff options
| author | Wolfgang Denk <wd@denx.de> | 2012-01-05 16:38:50 +0100 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2012-01-05 16:38:50 +0100 | 
| commit | 145afab32c3a049bd646d2eede5f2feba08576c6 (patch) | |
| tree | 52aba8f8d68626195027dc3dc190deef84895bfd /board/timll/devkit8000/devkit8000.c | |
| parent | 72ebafbe2bd5044eecbfdaa132390a1421db25be (diff) | |
| parent | a747cc0a8c55d69a56a6db80a35cdb48c853447d (diff) | |
| download | olio-uboot-2014.01-145afab32c3a049bd646d2eede5f2feba08576c6.tar.xz olio-uboot-2014.01-145afab32c3a049bd646d2eede5f2feba08576c6.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-arm
* 'master' of git://git.denx.de/u-boot-arm:
  tegra2: Optimize out-of-tree build for Ventana.
  tegra: Move boards over to use arch-level board UART function
  tegra: Add support for UART init in cpu board.c
  tegra: Add a function mux feature
  tegra: add clock_ll_start_uart() to enable UART prior to reloc
  tegra: Move clock_early_init() to arch_cpu_init()
  tegra: Move cpu_init_cp15() to arch_cpu_init()
  arm: Tegra: Fix Harmony and Ventana builds in u-boot-tegra/master
  tegra: Fix build error in plutux, medcom
  tegra2: Add Avionic Design Medcom support.
  tegra2: Add Avionic Design Plutux support.
  tegra2: Add common Avionic Design Tamonten support.
  tegra2: Move tegra2_mmc_init() prototype to public header.
  tegra2: Change CONFIG_SYS_TEXT_BASE to 0x00108000.
  tegra2: Always build with USE_PRIVATE_LIBGCC=yes.
  tegra2: Plumb in SPI/UART switch code
  tegra2: spi: Support SPI / UART switch
  tegra2: Implement SPI / UART GPIO switch
  tegra2: Enable SPI environment on Seaboard
  tegra2: config: Enable SPI flash on Seaboard
  tegra2: spi: Add SPI driver for Tegra2 SOC
  tegra2: Add UARTB support
  tegra2: Tidy UART selection
  arm, davinci: Fix build warnings for cam_enc_4xx
  Devkit8000: Switch over to enable_gpmc_cs_config
  arm, davinci: Add support for generating AIS images to the Makefile
  mkimage: Fix variable length header support
  arm, da850evm: Add an SPL for SPI boot
  arm, davinci: Add SPL support for DA850 SoCs
  sf: Add spi_boot() to allow booting from SPI flash in an SPL
  spl: display_options.o is required for SPI flash support in SPL
  ARM: omap3: add support to Technexion twister board
  ARM: omap3: added common configuration for Technexion TAM3517
  vision2: Fix checkpatch warning
Diffstat (limited to 'board/timll/devkit8000/devkit8000.c')
| -rw-r--r-- | board/timll/devkit8000/devkit8000.c | 19 | 
1 files changed, 12 insertions, 7 deletions
| diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit8000/devkit8000.c index b06aab617..10f189eed 100644 --- a/board/timll/devkit8000/devkit8000.c +++ b/board/timll/devkit8000/devkit8000.c @@ -48,6 +48,16 @@  DECLARE_GLOBAL_DATA_PTR; +static u32 gpmc_net_config[GPMC_MAX_REG] = { +	NET_GPMC_CONFIG1, +	NET_GPMC_CONFIG2, +	NET_GPMC_CONFIG3, +	NET_GPMC_CONFIG4, +	NET_GPMC_CONFIG5, +	NET_GPMC_CONFIG6, +	0 +}; +  /*   * Routine: board_init   * Description: Early hardware init. @@ -82,13 +92,8 @@ int misc_init_r(void)  #ifdef CONFIG_DRIVER_DM9000  	/* Configure GPMC registers for DM9000 */ -	writel(NET_GPMC_CONFIG1, &gpmc_cfg->cs[6].config1); -	writel(NET_GPMC_CONFIG2, &gpmc_cfg->cs[6].config2); -	writel(NET_GPMC_CONFIG3, &gpmc_cfg->cs[6].config3); -	writel(NET_GPMC_CONFIG4, &gpmc_cfg->cs[6].config4); -	writel(NET_GPMC_CONFIG5, &gpmc_cfg->cs[6].config5); -	writel(NET_GPMC_CONFIG6, &gpmc_cfg->cs[6].config6); -	writel(NET_GPMC_CONFIG7, &gpmc_cfg->cs[6].config7); +	enable_gpmc_cs_config(gpmc_net_config, &gpmc_cfg->cs[6], +			CONFIG_DM9000_BASE, GPMC_SIZE_16M);  	/* Use OMAP DIE_ID as MAC address */  	if (!eth_getenv_enetaddr("ethaddr", enetaddr)) { |