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] |
Hi Bart I found a bug that stops my board from working. Manufacturing can either put a Strata or an SST device on the board and we want one image that runs both. So the image has both drivers and we simple let one fail to initialise. With my old code i only put devices that initialised onto the head of the linked list. You changed this so all devices in the table get put onto the list and find_dev() checked the device was initialised before returning it. This however leads to one problem. After sorting the linked list into order there is a check to see if any devices overlap. This check failed because the device which failed to initialise uses the same addresses as the device which did initialise. So i've changed the code to only add devices which initialise onto the list and then optimised the code a little. Andrew
Attachment:
flash.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |