
-----Original Message----- From: Laurent Desnogues [mailto:laurent.desnogues@gmail.com] Sent: Tuesday, June 03, 2008 3:23 AM To: Menon, Nishanth; u-boot-users@lists.sourceforge.net; Laurent Desnogues; dirk.behme@googlemail.com; philip.balister@gmail.com; Gopinath, Thara; Kamat, Nishant; Syed Mohammed, Khasim Subject: Re: [Patch 10/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP and Cortex A8
On Tue, Jun 3, 2008 at 10:12 AM, Sascha Hauer s.hauer@pengutronix.de wrote:
Is this really ARMCORTEX specific or arm v7 specific?
This is not Cortex A8 specific, it's v7-A (and hopefully will be the same in upcoming ARM architectures).
Probably ARM arch definitions need to be cleaned up a bit more? Granularity is restricted today to ARM CPU and not architecture..
Anyway, this looks like the start of another ifdef mess, we should create some generic hook here.
You could perhaps mimic the way the Linux kernel handles cache stuff for the various ARM architectures.
Probably not the extent.. but yes to a lesser extent might be helpful. Common code will still exist, probably CP15 stuff can move out?
Regards, Nishanth Menon