summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-omap3/sys_proto.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2009-10-13 12:49:55 -0400
committerTom Rix <Tom.Rix@windriver.com>2009-10-24 09:55:24 -0500
commitf8a812aa656bc34622303a26fa5003d19c34aeed (patch)
tree0cef057b66583a6af0c7208101d62224fabed6d5 /include/asm-arm/arch-omap3/sys_proto.h
parent4e0539d2696992a5e32643a0c831e870cfe9a036 (diff)
downloadu-boot-imx-f8a812aa656bc34622303a26fa5003d19c34aeed.zip
u-boot-imx-f8a812aa656bc34622303a26fa5003d19c34aeed.tar.gz
u-boot-imx-f8a812aa656bc34622303a26fa5003d19c34aeed.tar.bz2
TI OMAP3: make gpmc_config as const
gpmc_config should not be a variant as it is board specific hence make it a const parameter Fixes issues identified by Dirk: - build issue for zoom2 - warnings for all other OMAP3 platforms using nand/onenand etc Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/asm-arm/arch-omap3/sys_proto.h')
-rw-r--r--include/asm-arm/arch-omap3/sys_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-omap3/sys_proto.h b/include/asm-arm/arch-omap3/sys_proto.h
index e59021e..34bd515 100644
--- a/include/asm-arm/arch-omap3/sys_proto.h
+++ b/include/asm-arm/arch-omap3/sys_proto.h
@@ -34,7 +34,7 @@ void memif_init(void);
void sdrc_init(void);
void do_sdrc_init(u32, u32);
void gpmc_init(void);
-void enable_gpmc_cs_config(u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
+void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
u32 size);
void watchdog_init(void);