On Sun, Dec 20, 2009 at 5:56 PM, David Brownell <[email protected]> wrote: > On Sunday 20 December 2009, Catalin Patulea wrote: >> How about two driver commands which specify the function of the two >> outputs, as unused, TRST or SRST? > > How about just providing commands to set their state? > > That way, they can be used for e.g. SRST ... or whatever else > happens to be needed. > > If a given board uses them as SRST, its target can just > define a "reset-assert" event handler... Hm, I would prefer to keep their control within the reset(int trst, int srst) framework. It seems to me unlikely that they will be used for other things. Does any other interface driver provide this kind of GPIO functionality?
And besides, I'm almost done writing the code and docs for the former ;-) _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
