This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Patch_or_Contribution granted: [Bug 1001078] STM32 flash driver support for non-aligned source buffers.
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at sourceware dot org
- Date: Sun, 21 Nov 2010 21:50:06 +0000
- Subject: Patch_or_Contribution granted: [Bug 1001078] STM32 flash driver support for non-aligned source buffers.
- Auto-submitted: auto-generated
- References: <bug-1001078-0@http.bugs.ecos.sourceware.org/>
Jonathan Larmour <jifl@ecoscentric.com> 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 <jifl@ecoscentric.com>
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.