veyron_pinky: Set FIT compatible string dynamically from board_id

This patch adds code to veyron_pinky's board.c to set the kernel device
tree compatible string at runtime. The current algorithm just adds 1 to
the board_id (read by coreboot), since we cleverly started to add board
ID pins (and count them from 0) with the board that we labeled rev1.

BUG=chrome-os-partner:30167
TEST=Boot on rev1, see that it works and picks the right kernel DT.

Change-Id: I401428ba3a14e4af9b5af1e03abaf3ed0bdb4d57
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/217592
Reviewed-by: David Hendricks <dhendrix@chromium.org>
2 files changed