Hi,

On Wed, Jun 04, 2014 at 11:03:23AM +0200, Michael Schwingen wrote:
> On Wed, Jun 04, 2014 at 07:58:44AM +0000, ger...@openocd.zylin.com wrote:
...
> >     This fixes "unknown fm3 variant: mb9bf500.cpu" error if the config is
> >     used as is.
> 
> Hm - hard-coded flash variant names with ".cpu" appended in the C code?

Yep.

> Wouldn't it be better to pass some kind of flash-variant parameter to the
> driver - without the .cpu, so that the flash name can be different from the
> chip name, in case there are multiple chips with different names using the
> same flash variant?

Yes, it would be cleaner. CHIPNAME doesn't matter much for anything
but abusing it to mean "flash variant" seems to be wrong, I agree with
that. I hope someone with more interest in Fujitsu microcontrollers
will eventually fix that.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to