From patchwork Mon Feb 18 10:08:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,v3] Allow AM33xx boards to setup GPMC chipselects. X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 221182 X-Patchwork-Delegate: trini@ti.com Message-Id: <5121FDAD.2060100@mimc.co.uk> To: "u-boot@lists.denx.de" Date: Mon, 18 Feb 2013 10:08:45 +0000 From: Mark Jackson List-Id: U-Boot discussion Expose the enable_gpmc_cs_config() function so AM33xx based boards can register GPMC chip selects. Changes in V3: - Fix line wrapping Changes in V2: - Indicate this is for AM33xx (not OMAP2) Signed-off-by: Mark Jackson --- arch/arm/include/asm/arch-am33xx/sys_proto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h index 588d8de..97ab60d 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 -- 1.7.9.5