From patchwork Fri Nov 18 18:50:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reinhard Arlt X-Patchwork-Id: 126472 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0AD93B71D5 for ; Sat, 19 Nov 2011 05:50:09 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6A99228899; Fri, 18 Nov 2011 19:50:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MFFq-n9qWF1m; Fri, 18 Nov 2011 19:50:07 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A5D128883; Fri, 18 Nov 2011 19:50:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C4DC28883 for ; Fri, 18 Nov 2011 19:50:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LahqcMYHpSUu for ; Fri, 18 Nov 2011 19:50:03 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by theia.denx.de (Postfix) with ESMTP id 128FF28823 for ; Fri, 18 Nov 2011 19:50:01 +0100 (CET) Received: from comm-neu.esd (a89-182-147-253.net-htp.de [89.182.147.253]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0Larzk-1R35zU492e-00kxlo; Fri, 18 Nov 2011 19:50:01 +0100 Received: from [10.0.13.98] (pc-reinhard2.esd [10.0.13.98]) by comm-neu.esd (Postfix) with ESMTP id 65D0D1362CC; Fri, 18 Nov 2011 19:49:20 +0100 (CET) Message-ID: <4EC6A8E3.7050302@esd.eu> Date: Fri, 18 Nov 2011 19:50:11 +0100 From: Reinhard Arlt User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Lightning/1.0b2 Thunderbird/3.1.15 MIME-Version: 1.0 To: u-boot@lists.denx.de X-Enigmail-Version: 1.1.2 X-Provags-ID: V02:K0:92NnBX5PG7GdJ17q604Y4JvplY9pNEWMBuqxLg35jXh 8Bi8um4IP2bVkPHKL/6zhjSjgWbwTVGc2nwdVKv7I+6hP7J88P Ec+jcsmw3K8cAl5Q55O8ygeedGpKqn7oRCL4N5H0GuxGrSZCJo tjlb/RJvDBuLgcQ0GNNpM/WQihsoL2ssOf4kcVDTz5fbAgUito 7q7etZvoGu93d2oSEzsY5ECTQgt00geEGzkm86oUyPi085j5vd SPOGCAGEoikFs02Z23+MG40kSHNH53B4LEkgG6uwTJPfJfDEzU UGKZxYtnkQ38FTMOqCq4PQJmUbSJINr+bBjSh7hw2l5N5XnCg= = Subject: [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Reinhard Arlt Do not enable the data cache in start.S, the decrementer do not work. Signed-off-by: Reinhard Arlt diff --git a/arch/powerpc/cpu/74xx_7xx/start.S b/arch/powerpc/cpu/74xx_7xx/start.S index 75fb773..131fc14 100644 --- a/arch/powerpc/cpu/74xx_7xx/start.S +++ b/arch/powerpc/cpu/74xx_7xx/start.S @@ -247,11 +247,12 @@ in_flash: /* enable address translation */ bl enable_addr_trans sync - +#if !defined(CONFIG_CPCI750) /* enable and invalidate the data cache */ bl l1dcache_enable sync #endif +#endif #ifdef CONFIG_SYS_INIT_RAM_LOCK bl lock_ram_in_cache sync