HomeFreeBSD

CFI fixes for big endian archs.

Description

CFI fixes for big endian archs.

The flash commands and responses are little-endian and have to be
byte swapped on big-endian systems. However the raw read of data
need not be swapped.

Make the cfi_read and cfi_write do the swapping, and provide a
cfi_read_raw which does not byte swap for reading data from
flash.

Details

Provenance
jchandraAuthored on Mar 27 2012, 3:13 PM
Parents
rG974241079704: Instead of only iterating over the set of known SDT probes when sdt.ko is
Branches
Unknown
Tags
Unknown

Event Timeline