From patchwork Wed Sep 17 09:37:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiqiang Hou X-Patchwork-Id: 390344 X-Patchwork-Delegate: jagannadh.teki@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 606EA14008F for ; Wed, 17 Sep 2014 20:10:14 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 70D4FA74B8; Wed, 17 Sep 2014 12:10:11 +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 m4PEmyrncmkA; Wed, 17 Sep 2014 12:10:11 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6DCCCA746B; Wed, 17 Sep 2014 12:10:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E675BA746B for ; Wed, 17 Sep 2014 12:10:03 +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 5zquHA-FInfH for ; Wed, 17 Sep 2014 12:10:00 +0200 (CEST) X-Greylist: delayed 1905 seconds by postgrey-1.27 at theia; Wed, 17 Sep 2014 12:09:57 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 na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0114.outbound.protection.outlook.com [157.56.110.114]) by theia.denx.de (Postfix) with ESMTPS id 5F841A73E7 for ; Wed, 17 Sep 2014 12:09:57 +0200 (CEST) Received: from DM2PR03CA0030.namprd03.prod.outlook.com (10.141.96.29) by BY2PR03MB505.namprd03.prod.outlook.com (10.141.143.12) with Microsoft SMTP Server (TLS) id 15.0.1029.13; Wed, 17 Sep 2014 09:37:57 +0000 Received: from BN1BFFO11FD035.protection.gbl (2a01:111:f400:7c10::1:124) by DM2PR03CA0030.outlook.office365.com (2a01:111:e400:2428::29) with Microsoft SMTP Server (TLS) id 15.0.1024.12 via Frontend Transport; Wed, 17 Sep 2014 09:37:56 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD035.mail.protection.outlook.com (10.58.144.98) with Microsoft SMTP Server (TLS) id 15.0.1029.15 via Frontend Transport; Wed, 17 Sep 2014 09:37:56 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s8H9bpYC027636; Wed, 17 Sep 2014 02:37:52 -0700 From: Hou Zhiqiang To: Date: Wed, 17 Sep 2014 17:37:44 +0800 Message-ID: <1410946664-26039-1-git-send-email-B48286@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(31966008)(87936001)(50466002)(21056001)(105606002)(26826002)(85852003)(89996001)(99396002)(88136002)(92726001)(110136001)(95666004)(83322001)(575784001)(102836001)(97736003)(44976005)(68736004)(84676001)(104016003)(93916002)(107046002)(104166001)(64706001)(19580405001)(2351001)(81342003)(81542003)(92566001)(79102003)(229853001)(106466001)(6806004)(85306004)(74502003)(62966002)(50226001)(46102003)(20776003)(50986999)(77982003)(4396001)(36756003)(87286001)(90102001)(19580395003)(76482002)(80022003)(74662003)(77156001)(86362001)(48376002)(83072002)(47776003)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB505; H:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0337AFFE9A Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=B48286@freescale.com; X-OriginatorOrg: freescale.com Cc: B21284@freescale.com, Hou Zhiqiang , R58495@freescale.com Subject: [U-Boot] [PATCH] powerpc/t104xrdb: Enable SPI flash Extend address support 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 Enable the Extend address to support SPI flash more than 16MB. Signed-off-by: Hou Zhiqiang --- Based on git://git.denx.de/u-boot.git. Also can be applied to git://www.denx.de/git/u-boot-mpc85xx.git. Tested on board T1040RDB. include/configs/T104xRDB.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index 0ee0ff2..d4c6f58 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -503,6 +503,7 @@ #define CONFIG_FSL_ESPI #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO +#define CONFIG_SPI_FLASH_BAR #define CONFIG_CMD_SF #define CONFIG_SF_DEFAULT_SPEED 10000000 #define CONFIG_SF_DEFAULT_MODE 0