Dne So 12. prosince 2009 03:47:09 Zach Welch napsal(a):
> Thanks. I broke it, but I just pushed a patch to fix this properly.
Sure, great ... thanks for fixing it, I need some sleep badly so I couldn't
come
with anything decent ;-)
>
> On Sat, 2009-12-12 at 02:05 +0100, Marek Vasut wrote:
> > Hi,
> >
> > looks like the NAND isn't registered at all. I use the following
> > (incorrect) patch to work it around FTTB.
> >
> > diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c
> > index e69882b..15426e9 100644
> > --- a/src/flash/nand/tcl.c
> > +++ b/src/flash/nand/tcl.c
> > @@ -580,6 +580,13 @@ static COMMAND_HELPER(create_nand_device, const char
> > *bank_name,
> > return ERROR_OK;
> > }
> >
> > + if (nand_devices) {
> > + struct nand_device *p = nand_devices;
> > + while (p && p->next) p = p->next;
> > + p->next = c;
> > + } else
> > + nand_devices = c;
> > +
> > return ERROR_OK;
> > }
> > _______________________________________________
> > Openocd-development mailing list
> > [email protected]
> > https://lists.berlios.de/mailman/listinfo/openocd-development
>
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development