Jonathan Larmour <[email protected]> has granted  Patch_or_Contribution:
Bug 1001078: STM32 flash driver support for non-aligned source buffers.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001078

------- Additional Comments from Jonathan Larmour <[email protected]>
I'm not keen on this patch I'm afraid. The other drivers (e.g. AM29xxxxxv2,
stratav2) have the same constraints and intentionally enforce alignment. I
don't want to go down the route of people expecting unaligned data to be ok
(and then they'd be likely to claim it is a "bug" for unaligned data not to be
accepted by any driver).

That said, I wouldn't have a problem with this being a driver-specific CDL
option if you wanted to rework it on those lines, if you're keen.

The length alignment check is reasonable in any case of course.

Reply via email to