From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 29 Jan 2007 11:43:29 +0100 (MET) Subject: [U-Boot-Users] Atmel DataFlash hooks. In-Reply-To: <20070126212542.72494353CC1@atlas.denx.de> References: <20070126212542.72494353CC1@atlas.denx.de> Message-ID: <200701291143.16592.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On Friday 26 January 2007 22:25, Wolfgang Denk wrote: > > My vote is to treat DataFlash like a block device, and make sure that > > it supports byte-wide access. > > Treat DataFlash like a block device? That sounds wrong to me. When we treat NAND like a "block device", then we should treat DataFlash like it too. > I understand your concerns about the #ifdef mess, but this suggestion > does not sound tempting either. Yes, it will break existing board, that have some predefined environment variables to read/write/... the DataFlash. And the users of DataFlash would have to adapt to the new syntax. Best regards, Stefan