HomeFreeBSD

MFC r335527, r335529, r335593

Description

MFC r335527, r335529, r335593

r335527:
Add spi(8), a utility for communicating with a device on a SPI bus from
userland, conceptually similar to what i2c(8) provides for i2c devices.

Submitted by: Bob Frazier
Differential Revision: https://reviews.freebsd.org/D15029

r335529:
Eliminate gcc "shadowed declaration" warnings by using idx rather than
index as a variable name.

r335593:
Add an example for displaying the manufacturer and size info from a
standard spiflash chip.

Details

Provenance
ianAuthored on
Differential Revision
D15029: new utility usr.sbin/spi
Parents
rS346517: MFC r335506
Branches
Unknown
Tags
Unknown