This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I've attached a patch to make sure CYGHWR_FLASH_WRITE_DISABLE() is called flash_erase_block() before all returns. I've also changed the timeout logic so it is more robust using the GCC optimizer. The original code, when compiled for the ARM, had timing problems. As an added bonus, the new code uses fewer instructions on the ARM. Michael Checky (See attached file: flash.pat)
Attachment:
flash.pat
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |