boot: add android boot properties to device tree

Pass in the serial number and hardware name to Android
via the device tree. Android expects a "/firmware/android"
node in the device tree with a compatible property set to
"android,firmware". Other properties will be assigned to
ro.boot.PROPERTYNAME by the init process.

BRANCH=none
BUG=chrome-os-partner:37813
TEST=ryu boots and /proc/device-tree/firmware/android is populated
with "compatible", "hardware", and "serialno" properties
CQ-DEPEND=CL:260646

Change-Id: I492fd06d0e11228515664e0d22d0173d2bd96025
Signed-off-by: Stephen Barber <smbarber@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/260034
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
4 files changed