On Thu, Sep 17, 2009 at 12:05 PM, Alexei Babich <[email protected]> wrote: >> I don't like to see such dependencies added for no good reason. > OK, I thought so. > >> Do you really need that complicated option handling? > Well, look, I want to handle such options with the following parameters: > 1. hwecc{no,1bit,4bit,8bit} (last two only for imx35, but still not sure) > 2. cs{0,1,2,3} (only for imx35) > 3. pagesize{512,2048,4096} (force override pin/fuse captured values, last one > only for imx35) > 4. buswidth{8,16} (force override pin/fuse captured values) > > Too many lines of code with strcmp(). Ugly. > Maybe, openocd already has some subsystem parsing options (may be, JIM? But I > do not know how to use it) ? > I looked into the source of several (not all) drivers - did not find anything.
I'm hoping Duane will step in here and help out :-) -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
