From patchwork Wed Jan 22 08:06:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sonic Zhang X-Patchwork-Id: 313159 X-Patchwork-Delegate: sonic.adi@gmail.com 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 8CC2C2C009B for ; Wed, 22 Jan 2014 19:06:59 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3A2F34B35E; Wed, 22 Jan 2014 09:06:57 +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 jhqnQ-LBozhO; Wed, 22 Jan 2014 09:06:56 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E15DC4B370; Wed, 22 Jan 2014 09:06:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9EF124B35E for ; Wed, 22 Jan 2014 09:06:46 +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 PzPk9JlvQCw5 for ; Wed, 22 Jan 2014 09:06:40 +0100 (CET) X-Greylist: delayed 608 seconds by postgrey-1.27 at theia; Wed, 22 Jan 2014 09:06:32 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 mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by theia.denx.de (Postfix) with ESMTPS id 496164B301 for ; Wed, 22 Jan 2014 09:06:32 +0100 (CET) Received: by mail-pa0-f50.google.com with SMTP id kp14so53422pab.23 for ; Wed, 22 Jan 2014 00:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=O0K0YTbvH1uP2BX9ojq1hEeVXf/d+sI7f+K0ugwWPIM=; b=P/QGsz2J1Jxm5r1wRvJHQ1ar3j3DqND22mEpbue1KygUUtNmTHDtHzQny0dxPrGwdV 4u4LWkqCSFYaBVn3g7z5o2kuBV9xIcHQ8ykSYEHM67zS/R7EdH4K2UT5852JWeVixUUK /ZbKtwHp8GeEpLtE9UYTngccmnZcDYVbbwT+Rnhmyhn29S4BcHQZfQ7h/OrH96GlTogP S5TEZ4ehHkbkQPI0+Zm/axrPQQDKWByThBfhh//qBY+r+s566k/6DMjXS6I7IxpllwPu zbZ8LaF3THLtoa1rzna9kxnI3gr0u7HYkzbWkKXWXKlsH0omgrs1tIAXoi6mKwfrCHTX sp3w== X-Received: by 10.66.145.166 with SMTP id sv6mr97153pab.31.1390377991379; Wed, 22 Jan 2014 00:06:31 -0800 (PST) Received: from localhost.localdomain ([114.91.244.100]) by mx.google.com with ESMTPSA id x5sm19946937pbw.26.2014.01.22.00.06.27 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 00:06:30 -0800 (PST) From: Sonic Zhang To: u-boot@lists.denx.de Date: Wed, 22 Jan 2014 16:06:21 +0800 Message-Id: <1390377981-27673-1-git-send-email-sonic.adi@gmail.com> X-Mailer: git-send-email 1.7.9.5 Cc: Sonic Zhang , adi-u-boot-devel@lists.sourceforge.net Subject: [U-Boot] [PATCH] blackfin: Change SMC dcplb entry flag to cover 16M address region 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/lib/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 392d72d..facbc7a 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -142,7 +142,8 @@ void init_cplbtables(void) ++i; #if defined(__ADSPBF60x__) icplb_add(0x0, 0x0); - dcplb_add(CONFIG_SYS_FLASH_BASE, SDRAM_EBIU); + dcplb_add(CONFIG_SYS_FLASH_BASE, PAGE_SIZE_16MB | CPLB_DIRTY | + CPLB_SUPV_WR | CPLB_USER_WR | CPLB_USER_RD | CPLB_VALID); ++i; #endif