From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 13 Oct 2011 16:36:02 -0400 Subject: [U-Boot] [PATCH 4/6] davinci_emac: fix for running with dcache enabled In-Reply-To: <20111013200337.A69F014094B4@gemini.denx.de> References: <1317857806-16549-1-git-send-email-yanok@emcraft.com> <20111013200337.A69F014094B4@gemini.denx.de> Message-ID: <201110131636.04103.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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