summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShasha Zhao <Sarah_Zhao@asus.com>2016-11-08 09:43:16 (GMT)
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2016-11-15 03:38:37 (GMT)
commit6f981afcfb9d9d832e595fefe11dd142aac66416 (patch)
tree4dbaff976882b4c5ebc40726472ee63451c6009e
parent966dd874f6453ce16b4c17a4a20272df293323ea (diff)
downloaddepthcharge-stabilize-kevin-8785.94.B.tar.gz
depthcharge-stabilize-kevin-8785.94.B.tar.xz
Bob: Add bob in depthchargestabilize-kevin-8785.94.B
Copy the files from gru to bob and update as HWID. BUG=chrome-os-partner:59454 BRANCH=firmware-gru-8785.B TEST=Build firmware passed Change-Id: I8c271354b36e856b9ebdd2ebab192b3fb4238649 Signed-off-by: Shasha Zhao <Sarah_Zhao@asus.com> Reviewed-on: https://chromium-review.googlesource.com/407902 Reviewed-by: Philip Chen <philipchen@chromium.org>
-rw-r--r--board/bob/defconfig48
-rw-r--r--board/bob/fmap.dts15
2 files changed, 63 insertions, 0 deletions
diff --git a/board/bob/defconfig b/board/bob/defconfig
new file mode 100644
index 0000000..9eac116
--- /dev/null
+++ b/board/bob/defconfig
@@ -0,0 +1,48 @@
+# Arch
+CONFIG_ARCH_ARM=y
+CONFIG_ARCH_ARM_V8=y
+
+# Board
+CONFIG_BOARD="bob"
+
+# Image
+CONFIG_BASE_ADDRESS=0x18000000
+CONFIG_FMAP_OFFSET=0x00300000
+CONFIG_HEAP_SIZE=0x01000000
+CONFIG_KERNEL_START=0x15000000
+
+# Vboot
+CONFIG_TPM2_MODE=y
+CONFIG_EC_SOFTWARE_SYNC=y
+CONFIG_VIRTUAL_DEV_SWITCH=y
+
+CONFIG_CROSSYSTEM_FDT=y
+#CONFIG_NV_STORAGE_CROS_EC=y
+CONFIG_NV_STORAGE_FLASH=y
+
+# Kernel format
+CONFIG_KERNEL_FIT=y
+CONFIG_KERNEL_FIT_FDT_ADDR=0x6400000
+
+# Drivers
+CONFIG_DRIVER_BUS_I2S_ROCKCHIP=y
+CONFIG_DRIVER_BUS_SPI_ROCKCHIP=y
+CONFIG_DRIVER_EC_CROS=y
+CONFIG_DRIVER_EC_CROS_SPI=y
+CONFIG_DRIVER_EC_CROS_SPI_WAKEUP_DELAY_US=100
+CONFIG_DRIVER_FLASH_SPI=y
+CONFIG_DRIVER_GPIO_RK3399=y
+CONFIG_DRIVER_INPUT_MKBP=y
+CONFIG_DRIVER_INPUT_MKBP_KEYMATRIX_STANDARD=y
+CONFIG_DRIVER_INPUT_USB=y
+CONFIG_DRIVER_SDHCI=y
+CONFIG_DRIVER_SOUND_I2S=y
+CONFIG_DRIVER_SOUND_MAX98357A=y
+CONFIG_DRIVER_SOUND_ROUTE=y
+CONFIG_DRIVER_STORAGE_DWMMC_RK3399=y
+CONFIG_DRIVER_STORAGE_MMC=y
+CONFIG_DRIVER_TPM_SPI=y
+CONFIG_DRIVER_VIDEO_RK3399=y
+
+# Board specific
+CONFIG_GRU_USB2_BOOT_REQUIRED=y
diff --git a/board/bob/fmap.dts b/board/bob/fmap.dts
new file mode 100644
index 0000000..648532b
--- /dev/null
+++ b/board/bob/fmap.dts
@@ -0,0 +1,15 @@
+/dts-v1/;
+
+/ {
+ model = "Google Bob";
+ config {
+ hwid = "BOB TEST 7422";
+ };
+ chromeos-config {
+ /* Enable factory-friendly features. */
+ gbb-flag-dev-screen-short-delay;
+ gbb-flag-force-dev-switch-on;
+ gbb-flag-force-dev-boot-usb;
+ gbb-flag-disable-fw-rollback-check;
+ };
+};