From patchwork Mon May 18 13:24:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Haikun.Wang@freescale.com" X-Patchwork-Id: 473392 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 7B3EE14027F for ; Mon, 18 May 2015 23:28:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 14CE54B759; Mon, 18 May 2015 15:28:34 +0200 (CEST) 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 eFTry12Mcbdy; Mon, 18 May 2015 15:28:33 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 48BCF4B737; Mon, 18 May 2015 15:28:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1D5FD4B773 for ; Mon, 18 May 2015 15:28:28 +0200 (CEST) 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 JyotBOdHGUXz for ; Mon, 18 May 2015 15:28:28 +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 na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0147.outbound.protection.outlook.com [157.56.110.147]) by theia.denx.de (Postfix) with ESMTPS id 3C03F4B752 for ; Mon, 18 May 2015 15:28:17 +0200 (CEST) Received: from CH1PR03CA007.namprd03.prod.outlook.com (10.255.156.152) by CY1PR0301MB0618.namprd03.prod.outlook.com (25.160.142.25) with Microsoft SMTP Server (TLS) id 15.1.148.16; Mon, 18 May 2015 13:28:15 +0000 Received: from BN1BFFO11FD010.protection.gbl (10.255.156.132) by CH1PR03CA007.outlook.office365.com (10.255.156.152) with Microsoft SMTP Server (TLS) id 15.1.154.19 via Frontend Transport; Mon, 18 May 2015 13:28:14 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; 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; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD010.mail.protection.outlook.com (10.58.144.73) with Microsoft SMTP Server (TLS) id 15.1.172.14 via Frontend Transport; Mon, 18 May 2015 13:28:14 +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 t4IDSAQM000923; Mon, 18 May 2015 06:28:11 -0700 From: Haikun Wang To: Date: Mon, 18 May 2015 21:24:24 +0800 Message-ID: <1431955464-10895-1-git-send-email-haikun.wang@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD010; 1:ozzXlw/V1kstN/CNQJNgdk/88DjJtVFRte3o/eafy7dv1+TnF9hLTzfcBy1YSnFrLxovcdU/ZxPYgi43TFu+da/JWXimDtVo2dyMN2z8ho7eajcdELKlZjfxPuVRubVI+WVtq9LvjCRB8mqVUzY7E+ZtcEdBomgewo1C0G7+YZj+9SEWN/ur3AYvC8Lyh+B8ugRTyGcv+QEbeh96AzU9LSQokPx59IWCCMP9+6fQoaysa025W1d9CdihBat/FbwsdwNIxAXTGvH8u/6Dvj00aS1MoGsGKeGtaIpTM8vo1znt+DgZ3cs/zVLcV4GgKzj41ElG1+4VtGhnPIjEA8oCIQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(199003)(189002)(87936001)(6806004)(33646002)(104016003)(2351001)(92566002)(46102003)(229853001)(48376002)(106466001)(86362001)(50226001)(105606002)(107886002)(5001960100002)(110136002)(189998001)(5001860100001)(5001830100001)(5001920100001)(50986999)(64706001)(47776003)(77096005)(19580405001)(85426001)(4001540100001)(81156007)(62966003)(50466002)(68736005)(97736004)(77156002)(19580395003)(36756003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0618; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0618; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CY1PR0301MB0618; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0618; X-Forefront-PRVS: 058043A388 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2015 13:28:14.1327 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0618 Subject: [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The type of DSPI flash on ls1021aqds is AT45DB021, it has specail commands and page-size. Use the special spi flash driver instead of "spi_flash_std" driver. Signed-off-by: Haikun Wang Reviewed-by: Simon Glass --- arch/arm/dts/ls1021a-qds.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/ls1021a-qds.dts b/arch/arm/dts/ls1021a-qds.dts index 8367811..e634292 100644 --- a/arch/arm/dts/ls1021a-qds.dts +++ b/arch/arm/dts/ls1021a-qds.dts @@ -30,7 +30,7 @@ dspiflash: at45db021d@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "spi-flash"; + compatible = "atmel,dataflash"; spi-max-frequency = <16000000>; spi-cpol; spi-cpha;