[U-Boot] [PATCH 3/5] OMAP3: make gpmc_config as const
Nishanth Menon
menon.nishanth at gmail.com
Sun Oct 11 16:35:30 CEST 2009
Dirk Behme said the following on 10/11/2009 02:54 AM:
> Nishanth Menon wrote:
>
>> gpmc_config should not be a variant as it is board specific
>> hence make it a const parameter
>>
>
> Having this in u-boot-ti/next results in
>
> - All non-SDP3430 boards have
>
> mem.c: In function 'gpmc_init':
> mem.c:250: warning: assignment discards qualifiers from pointer target
> type
>
> - Zoom2 fails to build with
>
> zoom2.c:54: error: conflicting types for 'enable_gpmc_cs_config'
> /include/asm/arch/sys_proto.h:38: error: previous declaration of
> 'enable_gpmc_cs_config' was here
>
> Reverting this patch makes both go away
Redone patch attached - MAKEALL tested ONLY. apologies on the noise.
ethernet still pending..
Regards,
Nishanth Menon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-OMAP3-make-gpmc_config-as-const.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091011/596310bb/attachment.patch
More information about the U-Boot
mailing list