From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Jackson Date: Mon, 18 Feb 2013 11:27:30 +0000 Subject: [U-Boot] [PATCH v3] Allow AM33xx boards to setup GPMC chipselects. In-Reply-To: <87ppzxlwc5.fsf@dell.be.48ers.dk> References: <5121FDAD.2060100@mimc.co.uk> <87ppzxlwc5.fsf@dell.be.48ers.dk> Message-ID: <51221022.5030605@mimc.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18/02/13 11:01, Peter Korsgaard wrote: >>>>>> "Mark" == Mark Jackson writes: > > Mark> Expose the enable_gpmc_cs_config() function so AM33xx based boards can register GPMC chip selects. > Mark> Changes in V3: > Mark> - Fix line wrapping > > Mark> Changes in V2: > Mark> - Indicate this is for AM33xx (not OMAP2) > > Mark> Signed-off-by: Mark Jackson > 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 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 *cs, u32 base, > Mark> + u32 size); > > Checkpatch still complains. How about wrapping after *cs, and properly > aligning the next line? > Grrrr ... stupid mailer programs !! Hopefully v4 is now correct ... Mark J.