tree: replace valstr from libfmap with local version

libfmap is not used for anything fmap anymore, so we should get rid of
the library if possible.

We only have two symbols left from libfmap in our dependencies,
val2str_default and val2str, both of which are trivial functions, so
just copy them to the mosys tree and drop the dependency.


Change-Id: Ie748d8fb344e6849ebf2439d628e0f0937a69315
Tested-by: Jack Rosenthal <>
Reviewed-by: Paul Fagerburg <>
Commit-Queue: Jack Rosenthal <>
14 files changed