<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.1">
</HEAD>
<BODY>
Oops, sent the wrong patch. Sorry...<BR>
<BR>
Ben<BR>
<BR>
On Tue, 2006-06-13 at 10:35 -0400, Ben Warren wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#000000">Hello,</FONT><BR>
<BR>
<FONT COLOR="#000000">Attached is a patch that adds hardware SPI support for the MPC834x CPU, and as an example, the MPC8349EMDS evaluation board. The only new configuration option is CONFIG_HARD_SPI. Andy Fleming made a good suggestion of putting the driver code in /drivers. I don't think the driver is generic enough at this time (depends heavily on the MPC8349's internal memory map), so for now it's in /cpu/mpc83xx. If future SPI controllers use the same data structures this will be easy to port.</FONT><BR>
<BR>
<FONT COLOR="#000000">CHANGELOG:</FONT><BR>
<BR>
<FONT COLOR="#000000">Added hardware SPI functionality for MPC834x-based boards. Communications over the SPI bus can be performed either through the spi_xfer() function call or via the 'sspi' command which is enabled by CFG_CMD_SPI flag.</FONT><BR>
<BR>
<FONT COLOR="#000000">regards,</FONT><BR>
<FONT COLOR="#000000">Ben</FONT>
</BLOCKQUOTE>
</BODY>
</HTML>