diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2009-08-08 07:30:22 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-08-08 09:34:11 (GMT) |
commit | 894113529e3a04871544dde977d6d7adee05d3bf (patch) | |
tree | 05ee42da46bcddfe455b45aa209c0291c961c66a /board/omap3/zoom2/zoom2.c | |
parent | 97a099eaa48d5c762c4f73c52c3090c513b8b877 (diff) | |
download | u-boot-894113529e3a04871544dde977d6d7adee05d3bf.tar.xz |
omap3: replace all instances of gpmc config struct by one global
Signed-off-by: Matthias Ludwig <mludwig@ultratronik.de>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'board/omap3/zoom2/zoom2.c')
-rw-r--r-- | board/omap3/zoom2/zoom2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/omap3/zoom2/zoom2.c b/board/omap3/zoom2/zoom2.c index d64730e..d9e2ae5 100644 --- a/board/omap3/zoom2/zoom2.c +++ b/board/omap3/zoom2/zoom2.c @@ -123,14 +123,13 @@ void zoom2_identify(void) int board_init (void) { DECLARE_GLOBAL_DATA_PTR; - struct gpmc *gpmc = (struct gpmc *)GPMC_BASE; u32 *gpmc_config; gpmc_init (); /* in SRAM or SDRAM, finish GPMC */ /* Configure console support on zoom2 */ gpmc_config = gpmc_serial_TL16CP754C; - enable_gpmc_cs_config(gpmc_config, &gpmc->cs[4], + enable_gpmc_cs_config(gpmc_config, &gpmc_cfg->cs[4], SERIAL_TL16CP754C_BASE, GPMC_SIZE_16M); /* board id for Linux */ |