From: Mark Jackson Date: Mon, 18 Feb 2013 01:26:29 +0000 (+0000) Subject: Allow AM33xx boards to setup GPMC chipselects. X-Git-Tag: v2013.04-rc2~24^2~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b3dcc45c4af4cb927c5c2430884e506c95faa71;p=u-boot Allow AM33xx boards to setup GPMC chipselects. Expose the enable_gpmc_cs_config() function so AM33xx based boards can register GPMC chip selects. Changes in V4: - Fix checkpatch errors (TAB -> space mangling) Changes in V3: - Fix line wrapping Changes in V2: - Indicate this is for AM33xx (not OMAP2) Signed-off-by: Mark Jackson Acked-by: Peter Korsgaard --- diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h index 588d8de82f..97ab60d1b2 100644 --- a/arch/arm/include/asm/arch-am33xx/sys_proto.h +++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h @@ -35,5 +35,7 @@ void ddr_pll_config(unsigned int ddrpll_M); void sdelay(unsigned long); void gpmc_init(void); +void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base, + u32 size); void omap_nand_switch_ecc(int); #endif