From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haavard Skinnemoen Date: Tue, 29 Jan 2008 00:26:54 +0100 Subject: [U-Boot-Users] [rfc] new spiflash subsystem In-Reply-To: <200801281500.34869.vapier@gentoo.org> References: <200801281500.34869.vapier@gentoo.org> Message-ID: <20080129002654.6c6e1734@siona> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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... Haavard