From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 28 Jan 2008 19:29:38 -0500 Subject: [U-Boot-Users] [rfc] new spiflash subsystem In-Reply-To: <20080129002654.6c6e1734@siona> References: <200801281500.34869.vapier@gentoo.org> <20080129002654.6c6e1734@siona> Message-ID: <200801281929.38755.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 28 January 2008, Haavard Skinnemoen wrote: > On Mon, 28 Jan 2008 15:00:34 -0500 > Mike Frysinger wrote: > > uint8_t spiflash_exchange_byte(uint8_t transmit) > > Uh. Did you just propose SPI framework #6 for u-boot? > > How about we try to modify one of the existing ones so that it can be > useful for everything? That is, spi flash, spi eeproms, LCD panels, > sensors, etc.? > > In fact, I did post a patch that attempted this not so long ago, but I > never got any response: > > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/33822/focus=33821 > > I'd really like to see a common layer for SPI flash though, so I don't > mean to criticise your effort. But it would be nice if not every new > SPI client came with its own low-level SPI functions... i know exactly where you're coming from, so dont sweat it. my purpose was to get things integrated and then take a look at the existing pieces and unify them. easier i think to have known working code to throw at a common framework than code for hypothetical uses we cant actually break our teeth on. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20080128/7ae3f643/attachment.pgp