sm_io/protocols/*: fix SPI read/write size handling
We must read/write to/from 32-bit registers, but we can specify how many bytes to read/write via "charlen" register. So, align size to 32-bit sizes and handle it according to "charlen".
Showing
Please
register
or
sign in
to comment