From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Matthias_Wei=DFer?= Date: Mon, 12 Dec 2011 10:20:09 +0100 Subject: [U-Boot] [PATCH] arm926ejs: remove noop flush_dcache_all function In-Reply-To: <1323644968-5573-1-git-send-email-yanok@emcraft.com> References: <4EE38AA5.4030703@arcor.de> <1323644968-5573-1-git-send-email-yanok@emcraft.com> Message-ID: <4EE5C749.8000206@arcor.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 12.12.2011 00:09, schrieb Ilya Yanok: > Commit 2f3427c added noop cache functions implementation for arm926ejs > to fix compilation of drivers depending on these functions (DaVinci > EMAC in particular). > > Unfortunately, the bug was introduced: noop implementation calls > dcache_disable which calls flush_dcache_all which in turn calls > dcache_disable thus creating an infinite loop. > > This patch removes noop implementation for flush_dcache_all, we already > have default one in arch/arm/lib/cache.c and it should be used instead. > > Signed-off-by: Ilya Yanok > --- > > Hi Matthias, > > thanks for cathing this. Surely my initial patch was totally wrong. > Could you please test this one? This patches solves at least my problem. Thanks. Tested-by: Matthias Weisser Matthias