Change customization_id hacks to "mosys platform chassis".

Device difference should be identified by the new unified "chassis id"
provided by mosys. In the future the command may return values from
hardware GPIO settings, but for legacy devices for backward
compatibility the command is returning SERIES part of VPD
customization_id.

Function get_customization_id is removed since no one should call it
directly.

Function get_board_name_from_vpd is replaced by get_chassis_id,
especially the "board name" may lead to confusion (i.e., the identifier
in customization_id is actually "SERIES", not "Board name").

BUG=chromium:687149
TEST=None

Change-Id: I4c90f06a98089ded7f03cd7888ca3211979a7a7a
Reviewed-on: https://chromium-review.googlesource.com/438127
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
3 files changed
tree: 75aa0e969d9b72f690b74e1a866c0eaf024c1ea7
  1. policies/
  2. scripts/
  3. LICENSE
  4. OWNERS
  5. README