On Sat, 23 Aug 2008 09:57:42 +0200, Øyvind Harboe wrote:

>>                /* check whether address belongs to this flash bank */
>> -               if ((addr >= c->base) && (addr < c->base + c->size) &&
>> target == c->target) +               if ((addr >= c->base) && (addr - 1
>> < c->base + c->size - 1) && target == c->target)
>>                        return c;
> 
> what about the case where addr==0 for a flash starting at address 0?

Got a better idea?

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to