From patchwork Wed Aug 31 05:36:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 112448 X-Patchwork-Delegate: info@emk-elektronik.de 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 D8572B6F7B for ; Wed, 31 Aug 2011 15:36:35 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 948AE28080; Wed, 31 Aug 2011 07:36:34 +0200 (CEST) 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 2kXX-hVmX37Y; Wed, 31 Aug 2011 07:36:34 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5FD3328081; Wed, 31 Aug 2011 07:36:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A683428081 for ; Wed, 31 Aug 2011 07:36:28 +0200 (CEST) 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 vb3Fxp1m0Xmi for ; Wed, 31 Aug 2011 07:36:27 +0200 (CEST) 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 mail-ey0-f170.google.com (mail-ey0-f170.google.com [209.85.215.170]) by theia.denx.de (Postfix) with ESMTPS id B7F1628080 for ; Wed, 31 Aug 2011 07:36:26 +0200 (CEST) Received: by eyd10 with SMTP id 10so347815eyd.15 for ; Tue, 30 Aug 2011 22:36:25 -0700 (PDT) Received: by 10.213.35.20 with SMTP id n20mr13824ebd.121.1314768985803; Tue, 30 Aug 2011 22:36:25 -0700 (PDT) Received: from andreas-mbp.erlangen.biessmann.tld (dslb-178-010-080-114.pools.arcor-ip.net [178.10.80.114]) by mx.google.com with ESMTPS id d44sm4253399eeb.56.2011.08.30.22.36.24 (version=SSLv3 cipher=OTHER); Tue, 30 Aug 2011 22:36:24 -0700 (PDT) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: Reinhard Meyer Date: Wed, 31 Aug 2011 07:36:13 +0200 Message-Id: <1314768973-94711-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.6 MIME-Version: 1.0 Cc: u-boot@lists.denx.de, Jens Scharsig Subject: [U-Boot] [PATCH] at91rm9200ek.h: explicitly disable D-Cache X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 Commit c2dd0d45540397704de9b13287417d21049d34c6 enabled D-Cache for all arm devices explicitly. This renders at91_emac driver on at91rm9200ek unusable. This patch disables D-Cache for at91rm9200ek explicitly to get this driver working again. Signed-off-by: Andreas Bießmann --- include/configs/at91rm9200ek.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h index b847798..b8d1f74 100644 --- a/include/configs/at91rm9200ek.h +++ b/include/configs/at91rm9200ek.h @@ -219,6 +219,11 @@ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) /* + * Cache settings + */ +#define CONFIG_SYS_DCACHE_OFF + +/* * Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + SZ_128K, \