Add support for reporting platform name from cros_config

Mosys needs to have a platform name that it can report with
'mosys platform name'. Add decoding of this from the master configuration.

BUG=chromium:774248
BRANCH=none
TEST=FEATURES=test emerge-coral --nodeps mosys

Change-Id: I15bc42e1e86f1b59d5debf5414b50a15eb087765
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/717259
Reviewed-by: Jason Clinton <jclinton@chromium.org>
4 files changed