[U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code
Michael Zaidman
michael.zaidman at gmail.com
Tue Apr 20 21:55:02 CEST 2010
On Mon, Apr 19, 2010 at 7:44 PM, Michael Zaidman
<michael.zaidman at gmail.com> wrote:
> Hi All,
>
> In order to eliminate redundant code for powerPC architecture when
> defining post_word_{load/store} routines I suggest moving them into
> the arch/ppc/lib/commproc.c file rather than adding them to every
> arch/ppc/cpu/XXXX.
> Also, defining them with weak attribute will permit overriding them
> for particular board or CPU.
>
> I'll send the patch later, of course if no one has any objections
> against this solution.
>
Please see this patch:
http://lists.denx.de/pipermail/u-boot/2010-April/070319.html
-michael
More information about the U-Boot
mailing list