diff options
author | Nishanth Menon <nm@ti.com> | 2009-10-13 16:49:55 (GMT) |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-24 14:55:24 (GMT) |
commit | f8a812aa656bc34622303a26fa5003d19c34aeed (patch) | |
tree | 0cef057b66583a6af0c7208101d62224fabed6d5 /include/asm-arm/arch-omap3 | |
parent | 4e0539d2696992a5e32643a0c831e870cfe9a036 (diff) | |
download | u-boot-fsl-qoriq-f8a812aa656bc34622303a26fa5003d19c34aeed.tar.xz |
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')
-rw-r--r-- | include/asm-arm/arch-omap3/sys_proto.h | 2 |
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); |