diff mbox

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

Message ID 511A96B1.6060607@mimc.co.uk
State Rejected
Delegated to: Tom Rini
Headers show

Commit Message

Mark Jackson Feb. 12, 2013, 7:23 p.m. UTC
Expose the enable_gpmc_cs_config() function so AM33xx based boards can 
register GPMC chip selects.

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(+)

Comments

Peter Korsgaard Feb. 17, 2013, 8:11 p.m. UTC | #1
>>>>> "Mark" == Mark Jackson <mpfj-list@mimc.co.uk> writes:

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

 Mark> Changes in V2:
 Mark> - Indicate this is for AM33xx (not OMAP2)

 Mark> Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
 Mark> ---
 Mark>  arch/arm/include/asm/arch-am33xx/sys_proto.h |    2 ++
 Mark>  1 file changed, 2 insertions(+)

 Mark> diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h
 Mark> b/arch/arm/include/asm/arch-am33xx/sys_proto.h
 Mark> index 588d8de..97ab60d 100644
 Mark> --- a/arch/arm/include/asm/arch-am33xx/sys_proto.h
 Mark> +++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h
 Mark> @@ -35,5 +35,7 @@ void ddr_pll_config(unsigned int ddrpll_M);
 Mark>   void sdelay(unsigned long);
 Mark>  void gpmc_init(void);
 Mark> +void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs
 Mark> *cs, u32 base,
 Mark> +			u32 size);

Seems like your mailer line wrapped the patch.
Mark Jackson Feb. 18, 2013, 10:09 a.m. UTC | #2
On 17/02/13 20:11, Peter Korsgaard wrote:
>>>>>> "Mark" == Mark Jackson <mpfj-list@mimc.co.uk> writes:
> 
>  Mark> Expose the enable_gpmc_cs_config() function so AM33xx based boards can
>  Mark> register GPMC chip selects.
> 
>  Mark> Changes in V2:
>  Mark> - Indicate this is for AM33xx (not OMAP2)
> 
>  Mark> Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
>  Mark> ---
>  Mark>  arch/arm/include/asm/arch-am33xx/sys_proto.h |    2 ++
>  Mark>  1 file changed, 2 insertions(+)
> 
>  Mark> diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h
>  Mark> b/arch/arm/include/asm/arch-am33xx/sys_proto.h
>  Mark> index 588d8de..97ab60d 100644
>  Mark> --- a/arch/arm/include/asm/arch-am33xx/sys_proto.h
>  Mark> +++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h
>  Mark> @@ -35,5 +35,7 @@ void ddr_pll_config(unsigned int ddrpll_M);
>  Mark>   void sdelay(unsigned long);
>  Mark>  void gpmc_init(void);
>  Mark> +void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs
>  Mark> *cs, u32 base,
>  Mark> +			u32 size);
> 
> Seems like your mailer line wrapped the patch.

Oops ... resent.
diff mbox

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