Patchwork [U-Boot,v4] Allow AM33xx boards to setup GPMC chipselects.

login
register
mail settings
Submitter Mark Jackson
Date Feb. 18, 2013, 11:26 a.m.
Message ID <51220FE5.7030506@mimc.co.uk>
Download mbox | patch
Permalink /patch/221251/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Mark Jackson - Feb. 18, 2013, 11:26 a.m.
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>
---
 arch/arm/include/asm/arch-am33xx/sys_proto.h |    2 ++
 1 file changed, 2 insertions(+)
Peter Korsgaard - Feb. 18, 2013, 11:37 a.m.
>>>>> "Mark" == Mark Jackson <mpfj-list@mimc.co.uk> writes:

 Mark> Expose the enable_gpmc_cs_config() function so AM33xx based boards can register GPMC chip selects.

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Patch

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