core: Add commands "brand" and "sku".

To support identifying a device, we need more information to be
retrieved dynamically from mosys. Also revised the retrieval of
identifiers in platform.c.

The new commands are:
 sku - prints SKU number if available.
 brand - prints RLZ brand code if available.

Fallback functions are implemented as probe_* in misc/probe.c.
Note brand and chassis may need to look up SKU number to decide
their value in future, so the callbacks (sys->sku_number and
probe_sku_number) were declared to return an integer.

BRANCH=none
BUG=chromium:728078
TEST=mosys platform brand
     mosys platform chassis
     mosys platform sku

Change-Id: Id49ede94a30b8fecd83217dc0a497dd9b87954db
Reviewed-on: https://chromium-review.googlesource.com/519043
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
4 files changed