From owner-freebsd-current@FreeBSD.ORG Tue Mar 15 18:56:04 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7A171065675; Tue, 15 Mar 2011 18:56:04 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by mx1.freebsd.org (Postfix) with ESMTP id 56EFB8FC17; Tue, 15 Mar 2011 18:56:03 +0000 (UTC) Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKTX+2Q0+qOfpzR554I9lu2iSCSrsCA1Sl@postini.com; Tue, 15 Mar 2011 11:56:04 PDT Received: from p-emfe02-wf.jnpr.net (172.28.145.25) by P-EMHUB03-HQ.jnpr.net (172.24.192.37) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 15 Mar 2011 11:40:05 -0700 Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe02-wf.jnpr.net ([fe80::c126:c633:d2dc:8090%11]) with mapi; Tue, 15 Mar 2011 14:41:10 -0400 From: Andrew Duane To: Marcel Moolenaar , Aleksandr Rybalko Date: Tue, 15 Mar 2011 14:41:09 -0400 Thread-Topic: [CFT][patch]cfi driver support for NOR flash arrays Thread-Index: AcvjP2nnO2BG4qvERuu+9UFYVWUC9AAANkBg Message-ID: References: <20110314170942.90bfb5a8.ray@dlink.ua> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 15 Mar 2011 19:07:40 +0000 Cc: "freebsd-current@freebsd.org" , "freebsd-embedded@freebsd.org" Subject: RE: [CFT][patch]cfi driver support for NOR flash arrays X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 18:56:04 -0000 Marcel Moolenaar wrote: > On Mar 14, 2011, at 8:09 AM, Aleksandr Rybalko wrote: >=20 >> Hi, all. >>=20 >> proposed patch add support of NOR flash arrays to cfi driver >> http://my.ddteam.net/files/2011-03-11_cfi_flash_array_support.patch >=20 > Hi Aleksandr, >=20 > The patch is interesting, but combines a whole bunch of different > changes. Some of the changes are similar to the fixes we have at > Juniper ourselves, so getting the driver sync'd up is a good idea. > Not to mention that we have added support for the SPI interface. >=20 > Just a quick question: is an array different from 2 independent > CFI devices on the same bus? I mean: can we support an array by > having 2 driver instances? >=20 > Thanks, Arrays can be horizontal or vertical. A vertical array is just two chips, 0= ->XXXXX and XXXXX+1->YYYYYY. This would work with 2 driver instances. Horizontal (interleaved) is two chips that share a single address space and= provide alternating bits/bytes/words. This would not work with two instanc= es. -- Andrew Duane Juniper Networks 978-589-0551 10 Technology Park Dr aduane@juniper.net Westford, MA 01886-3418 =20