From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Sieka Date: Fri, 18 Apr 2008 12:15:07 +0200 Subject: [U-Boot-Users] [PATCH v2] ppc4xx: Fix PPC440 build breakage due to missing dcache_enable symbol In-Reply-To: <20080418095616.18864.23500.stgit@pollux.denx.de> References: <20080418095616.18864.23500.stgit@pollux.denx.de> Message-ID: <20080418101306.469.90871.stgit@pollux.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 Recent commit 017e9b79 adds reference to dcache_enable, thus breaking the build on PPC440. This patch adds a stub for dcache_enable, similarly to what's being done for other cache operations. Signed-off-by: Bartlomiej Sieka --- Fixed an off-by-one error in the commit id -- it should be 017e9b79 instead of a4986459. cpu/ppc4xx/cache.S | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cpu/ppc4xx/cache.S b/cpu/ppc4xx/cache.S index 5124dec..ceb3ec0 100644 --- a/cpu/ppc4xx/cache.S +++ b/cpu/ppc4xx/cache.S @@ -166,9 +166,11 @@ _GLOBAL(invalidate_dcache) #ifdef CONFIG_440 .globl dcache_disable + .globl dcache_enable .globl icache_disable .globl icache_enable dcache_disable: +dcache_enable: icache_disable: icache_enable: blr