From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 27 May 2009 22:52:56 +0200 Subject: [U-Boot] [PATCH] change cpu.c under cpu/arm_cortexa8 dir to common code. In-Reply-To: <4A1D8A5B.5000205@googlemail.com> References: <4A1D8A5B.5000205@googlemail.com> Message-ID: <20090527205256.GC16219@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > The only thing I'd like to discuss is how to name the functions. Naming > the functions board_*() doesn't seem to fit. Cache functionality isn't > really board related. Regarding L2Cache, this is CPU/SoC related. So > maybe omap3_l2cache_*()? actually I'd like to have a better cache management API and you point the board_ does not fit here as the code is soc or arch specific > > Regarding cache_flush()/board_cache_flush() below maybe Jean-Christophe > can help if we have already something generic for this somewhere? If not, > we should use something like omap3_cache_flush(). as we will support only one arch simultany I'll prefer to not specify it's name at all. you will ask why? The reason is that I do want have a common cache management and a common cleanup before linux so I'll propose l2_cache_flush as done for the Marvell orion for non-l2 cache I prefer to manage it via armvXX as they will be common Best Regards, J.