Skip to contentSkip to conversation

Added hardware SPI support for MPC8349

PATCH New Ben Warren 1 participant 2 messages Jun 13, 2006

lore
Share & tools
lore

Ben Warren

author
#0 lore raw

PATCH 1/1 Added hardware SPI support for MPC8349

Hello,

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.

CHANGELOG:

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.

regards,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060613/0e890621/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HARD_SPI.patch
Type: text/x-patch
Size: 12266 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060613/0e890621/attachment.bin

author
#1 lore raw

PATCH 1/1 Added hardware SPI support for MPC8349

Oops, sent the wrong patch. Sorry...

Ben

Quoted 13 lines · Ben Warren

Hello,

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.

CHANGELOG:

Quoted 7 lines

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.

regards,
Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060613/1b9bf10c/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HARD_SPI.patch
Type: text/x-patch
Size: 12124 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060613/1b9bf10c/attachment.bin