]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Allow AM33xx boards to setup GPMC chipselects.
authorMark Jackson <mpfj-list@mimc.co.uk>
Mon, 18 Feb 2013 01:26:29 +0000 (01:26 +0000)
committerTom Rini <trini@ti.com>
Mon, 11 Mar 2013 15:06:08 +0000 (11:06 -0400)
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 <mpfj@newflow.co.uk>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
arch/arm/include/asm/arch-am33xx/sys_proto.h

index 588d8de82fbf2b0e75db5c6fa8bef29eb5486673..97ab60d1b2bae9e2ab52d7ea97d3e0d1a1f20e9e 100644 (file)
@@ -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