[U-Boot] [PATCH 4/6] davinci_emac: fix for running with dcache enabled

Mike Frysinger vapier at gentoo.org
Thu Oct 13 22:36:02 CEST 2011


On Thursday 13 October 2011 16:03:37 Wolfgang Denk wrote:
> Anton Staaf wrote:
> >              ... I could move it from common.h to a c file that is always
> > 
> > built.  Perhaps I could add a checks.c file to libgeneric?  I'm not
> > really sure if that's the right place for it.  Do you have a suggestion?
> 
> I'd like to avoid a new file.  But I don't have a good idea either.
> Well, heck, go and add the test to the top of common/main.c .

fwiw, we added a dummy file in the Blackfin linux port called "arch_checks.c" 
where we kept all of our #ifdef sanity checks.  that way it got checked once 
(rather than in every header include), and we didn't have to clutter up semi-
related files with it.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111013/5b6478b4/attachment.pgp 


More information about the U-Boot mailing list