[U-Boot] [RFC] PPC: post_word_{load/store} - eliminate redundant code

Michael Zaidman michael.zaidman at gmail.com
Mon Apr 19 18:44:05 CEST 2010


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.

Regards,
Michael


More information about the U-Boot mailing list