From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 29 Jan 2007 11:33:11 +0100 (MET) Subject: [U-Boot-Users] Atmel DataFlash hooks. In-Reply-To: <528646bc0701261102u2f7e94b1k6dda4efd0bfb577a@mail.gmail.com> References: <528646bc0701260044t56b5cfd6h98ac591f7edc02b9@mail.gmail.com> <000001c7416f$fa61fed0$01c4af0a@atmel.com> <528646bc0701261102u2f7e94b1k6dda4efd0bfb577a@mail.gmail.com> Message-ID: <200701291132.58886.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 Grant, On Friday 26 January 2007 20:02, Grant Likely wrote: > My goal is to attack the current #ifdef hell in u-boot. DataFlash > just happens to be the first thing I want to clean up. I welcome such attempts very much. This #ifdef hell is annoying me more and more (even if I am responsible for it too :-(). But we have to be careful here. We can't just rip out existing interface without supplying replacements. > I'm pretty > sure I'm going to trod on all kinds of toes as I go through stuff. Yes, you will... ;-) I'm right now catching up on the discussion from last week and I have to admit, that the DataFlash handling always annoyed me too, even (or possibly because) I never used it personally before. I would compare this DataFlash most with a NAND Flash, so why not as you already suggested use something like: dflash info dflash device dflash read dflash write ... Now I continue with the remaining 200 mails in this thread... ;-) Best regards, Stefan