From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sun, 28 Nov 2010 11:07:51 +0100 Subject: [U-Boot] [PATCH] ppc4xx: Flush complete dcache in relocate_code() In-Reply-To: <1290782734-9536-1-git-send-email-sr@denx.de> References: <1290782734-9536-1-git-send-email-sr@denx.de> Message-ID: <201011281107.51704.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 26 November 2010 15:45:34 Stefan Roese wrote: > When the cache is enabled in SDRAM we need to flush not only the global > data area but also the bd_info struct in relocate_code. This patch now > flushed the complete dcache (all dcache lines) via flush_dcache() instead > of adding a flush_dcache_range() call for bd_info since this is faster. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de