veyron_*: Remove obsolete Chromeboxes
authorDavid Hendricks <dhendrix@chromium.org>
Wed, 18 May 2016 01:00:34 +0000 (18:00 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Sat, 21 May 2016 05:40:57 +0000 (22:40 -0700)
This removes brain, danger, emile, and romy from the tree.

BUG=chromium:612660
BRANCH=none
TEST=none

Change-Id: Ia171a366f81e41dbf828647b5300cbe5d53bb7d6
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/345583
Reviewed-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
20 files changed:
board/veyron_brain/defconfig [deleted file]
board/veyron_brain/fmap.dts [deleted file]
board/veyron_danger/defconfig [deleted file]
board/veyron_danger/fmap.dts [deleted file]
board/veyron_emile/defconfig [deleted file]
board/veyron_emile/fmap.dts [deleted file]
board/veyron_romy/defconfig [deleted file]
board/veyron_romy/fmap.dts [deleted file]
src/board/veyron_brain/Kconfig [deleted file]
src/board/veyron_brain/Makefile.inc [deleted file]
src/board/veyron_brain/board.c [deleted file]
src/board/veyron_danger/Kconfig [deleted file]
src/board/veyron_danger/Makefile.inc [deleted file]
src/board/veyron_danger/board.c [deleted file]
src/board/veyron_emile/Kconfig [deleted file]
src/board/veyron_emile/Makefile.inc [deleted file]
src/board/veyron_emile/board.c [deleted file]
src/board/veyron_romy/Kconfig [deleted file]
src/board/veyron_romy/Makefile.inc [deleted file]
src/board/veyron_romy/board.c [deleted file]

diff --git a/board/veyron_brain/defconfig b/board/veyron_brain/defconfig
deleted file mode 100644 (file)
index 76e81f1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Arch
-CONFIG_ARCH_ARM=y
-
-# Board
-CONFIG_BOARD="veyron_brain"
-
-# Image
-CONFIG_BASE_ADDRESS=0x43000000
-CONFIG_FMAP_OFFSET=0x00100000
-CONFIG_HEAP_SIZE=0x01000000
-CONFIG_KERNEL_START=0x2000000
-
-# Vboot
-CONFIG_VIRTUAL_DEV_SWITCH=y
-
-CONFIG_CROSSYSTEM_FDT=y
-CONFIG_NV_STORAGE_FLASH=y
-
-
-#CONFIG_MOCK_TPM=y
-
-# Kernel format
-CONFIG_KERNEL_FIT=y
-CONFIG_KERNEL_FIT_FDT_ADDR=0x6400000
-
-# Drivers
-CONFIG_DRIVER_GPIO_RK3288=y
-CONFIG_DRIVER_BUS_I2C_ROCKCHIP=y
-CONFIG_DRIVER_BUS_SPI_ROCKCHIP=y
-CONFIG_DRIVER_BUS_I2S_ROCKCHIP=y
-CONFIG_DRIVER_FLASH_SPI=y
-CONFIG_DRIVER_POWER_RK808=y
-CONFIG_DRIVER_INPUT_USB=y
-CONFIG_DRIVER_SOUND_I2S=y
-CONFIG_DRIVER_SOUND_MAX98090=y
-CONFIG_DRIVER_SOUND_ROUTE=y
-CONFIG_DRIVER_STORAGE_MMC=y
-CONFIG_DRIVER_STORAGE_DWMMC_RK3288=y
-CONFIG_DRIVER_TPM_SLB9635_I2C=y
-CONFIG_DRIVER_VIDEO_ROCKCHIP=y
diff --git a/board/veyron_brain/fmap.dts b/board/veyron_brain/fmap.dts
deleted file mode 100644 (file)
index 8bb85bb..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-/dts-v1/;
-
-/ {
-       model = "Google Veyron_Brain";
-       config {
-               hwid = "BRAIN TEST A-A 7204";
-       };
-       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;
-       };
-       flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "chromeos,flashmap";
-               reg = <0x00000000 0x00400000>;
-
-               /* ---- Section: Read-only ---- */
-               wp-ro {
-                       label = "wp-ro";
-                       reg = <0x00000000 0x00200000>;
-                       read-only;
-               };
-
-               ro-section {
-                       label = "ro-section";
-                       reg = <0x00000000 0x001f0000>;
-                       read-only;
-               };
-               ro-boot {
-                       label = "coreboot";
-                       size = <0x00100000>;
-                       read-only;
-                       type = "blob coreboot";
-                       required;
-               };
-
-               ro-fmap {
-                       label = "fmap";
-
-                       /* We encourage to align FMAP partition in as large
-                        * block as possible so that flashrom can find it soon.
-                        * For example, aligning to 512KB is better than to
-                        * 256KB. */
-
-                       reg = <0x00100000 0x00001000>;
-                       read-only;
-                       type = "fmap";
-                       ver-major = <1>;
-                       ver-minor = <0>;
-               };
-
-               ro-gbb {
-                       label = "gbb";
-
-                       /* GBB offset must be aligned to 4K bytes */
-                       reg = <0x00101000 0x000eef00>;
-                       read-only;
-                       type = "blob gbb";
-               };
-
-               ro-firmware-id {
-                       label = "ro-frid";
-                       reg = <0x001eff00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Vital-product data (VPD) ---- */
-               ro-vpd {
-                       label = "ro-vpd";
-
-                       /* VPD offset must be aligned to 4K bytes */
-                       reg = <0x001f0000 0x00010000>;
-                       read-only;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot A ---- */
-               rw-a {
-                       label = "rw-section-a";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00200000 0x00078000>;
-               };
-               rw-a-vblock {
-                       label = "vblock-a";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00200000 0x00002000>;
-                       type = "keyblock cbfs/rw/a-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-a-boot {
-                       /* Alignment: no requirement (yet). */
-                       label = "fw-main-a";
-                       reg = <0x00202000 0x00075f00>;
-                       type = "blob cbfs/rw/a-boot";
-               };
-               rw-a-firmware-id {
-                       /* Alignment: no requirement. */
-                       label = "rw-fwid-a";
-                       reg = <0x00277f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable shared 8 KB ---- */
-               shared-section {
-                       /*
-                        * Alignment: 4k (for updating).
-                        * Anything in this range may be updated in recovery.
-                        */
-                       label = "rw-shared";
-                       reg = <0x00278000 0x00002000>;
-               };
-               shared-data {
-                       label = "shared-data";
-                       /*
-                        * Alignment: 4k (for random read/write).
-                        * RW firmware can put calibration data here.
-                        */
-                       reg = <0x00278000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [00];
-               };
-
-               /* ---- Section: Storage to simulate NVRAM 8 KB ---- */
-               rw-nvram {
-                       label = "rw-nvram";
-                       reg = <0x0027a000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-
-               /* ---- Section: Rewritable Event Log 16 KB ---- */
-               rw-elog {
-                       label = "rw-elog";
-                       /* Alignment: 4K (for updating) */
-                       reg = <0x0027c000 0x00004000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot B ---- */
-               rw-b {
-                       label = "rw-section-b";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00280000 0x00078000>;
-               };
-               rw-b-vblock {
-                       label = "vblock-b";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00280000 0x00002000>;
-                       type = "keyblock cbfs/rw/b-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-b-boot {
-                       label = "fw-main-b";
-                       /* Alignment: no requirement (yet). */
-                       reg = <0x00282000 0x00075f00>;
-                       type = "blob cbfs/rw/b-boot";
-               };
-               rw-b-firmware-id {
-                       label = "rw-fwid-b";
-                       /* Alignment: no requirement. */
-                       reg = <0x002f7f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable VPD 32 KB ---- */
-               rw-vpd {
-                       label = "rw-vpd";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x002f8000 0x00008000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               rw-legacy {
-                       label = "rw-legacy";
-                       reg = <0x00300000 0x00100000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-       };
-};
diff --git a/board/veyron_danger/defconfig b/board/veyron_danger/defconfig
deleted file mode 100644 (file)
index 007b22d..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# Arch
-CONFIG_ARCH_ARM=y
-
-# Board
-CONFIG_BOARD="veyron_danger"
-
-# Image
-CONFIG_BASE_ADDRESS=0x43000000
-CONFIG_FMAP_OFFSET=0x00100000
-CONFIG_HEAP_SIZE=0x01000000
-CONFIG_KERNEL_START=0x2000000
-
-# Vboot
-CONFIG_CROSSYSTEM_FDT=y
-CONFIG_NV_STORAGE_FLASH=y
-
-
-#CONFIG_MOCK_TPM=y
-
-# Kernel format
-CONFIG_KERNEL_FIT=y
-CONFIG_KERNEL_FIT_FDT_ADDR=0x6400000
-
-# Drivers
-CONFIG_DRIVER_GPIO_RK3288=y
-CONFIG_DRIVER_BUS_I2C_ROCKCHIP=y
-CONFIG_DRIVER_BUS_SPI_ROCKCHIP=y
-CONFIG_DRIVER_BUS_I2S_ROCKCHIP=y
-CONFIG_DRIVER_FLASH_SPI=y
-CONFIG_DRIVER_POWER_RK808=y
-CONFIG_DRIVER_INPUT_USB=y
-CONFIG_DRIVER_SOUND_I2S=y
-CONFIG_DRIVER_SOUND_MAX98090=y
-CONFIG_DRIVER_SOUND_ROUTE=y
-CONFIG_DRIVER_STORAGE_MMC=y
-CONFIG_DRIVER_STORAGE_DWMMC_RK3288=y
-CONFIG_DRIVER_TPM_SLB9635_I2C=y
diff --git a/board/veyron_danger/fmap.dts b/board/veyron_danger/fmap.dts
deleted file mode 100644 (file)
index 0e0c0b6..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-/dts-v1/;
-
-/ {
-       model = "Google Veyron_Danger";
-       config {
-               hwid = "DANGER TEST A-A 2785";
-       };
-       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;
-       };
-       flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "chromeos,flashmap";
-               reg = <0x00000000 0x00400000>;
-
-               /* ---- Section: Read-only ---- */
-               wp-ro {
-                       label = "wp-ro";
-                       reg = <0x00000000 0x00200000>;
-                       read-only;
-               };
-
-               ro-section {
-                       label = "ro-section";
-                       reg = <0x00000000 0x001f0000>;
-                       read-only;
-               };
-               ro-boot {
-                       label = "coreboot";
-                       size = <0x00100000>;
-                       read-only;
-                       type = "blob coreboot";
-                       required;
-               };
-
-               ro-fmap {
-                       label = "fmap";
-
-                       /* We encourage to align FMAP partition in as large
-                        * block as possible so that flashrom can find it soon.
-                        * For example, aligning to 512KB is better than to
-                        * 256KB. */
-
-                       reg = <0x00100000 0x00001000>;
-                       read-only;
-                       type = "fmap";
-                       ver-major = <1>;
-                       ver-minor = <0>;
-               };
-
-               ro-gbb {
-                       label = "gbb";
-
-                       /* GBB offset must be aligned to 4K bytes */
-                       reg = <0x00101000 0x000eef00>;
-                       read-only;
-                       type = "blob gbb";
-               };
-
-               ro-firmware-id {
-                       label = "ro-frid";
-                       reg = <0x001eff00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Vital-product data (VPD) ---- */
-               ro-vpd {
-                       label = "ro-vpd";
-
-                       /* VPD offset must be aligned to 4K bytes */
-                       reg = <0x001f0000 0x00010000>;
-                       read-only;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot A ---- */
-               rw-a {
-                       label = "rw-section-a";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00200000 0x00078000>;
-               };
-               rw-a-vblock {
-                       label = "vblock-a";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00200000 0x00002000>;
-                       type = "keyblock cbfs/rw/a-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-a-boot {
-                       /* Alignment: no requirement (yet). */
-                       label = "fw-main-a";
-                       reg = <0x00202000 0x00075f00>;
-                       type = "blob cbfs/rw/a-boot";
-               };
-               rw-a-firmware-id {
-                       /* Alignment: no requirement. */
-                       label = "rw-fwid-a";
-                       reg = <0x00277f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable shared 8 KB ---- */
-               shared-section {
-                       /*
-                        * Alignment: 4k (for updating).
-                        * Anything in this range may be updated in recovery.
-                        */
-                       label = "rw-shared";
-                       reg = <0x00278000 0x00002000>;
-               };
-               shared-data {
-                       label = "shared-data";
-                       /*
-                        * Alignment: 4k (for random read/write).
-                        * RW firmware can put calibration data here.
-                        */
-                       reg = <0x00278000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [00];
-               };
-
-               /* ---- Section: Storage to simulate NVRAM 8 KB ---- */
-               rw-nvram {
-                       label = "rw-nvram";
-                       reg = <0x0027a000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-
-               /* ---- Section: Rewritable Event Log 16 KB ---- */
-               rw-elog {
-                       label = "rw-elog";
-                       /* Alignment: 4K (for updating) */
-                       reg = <0x0027c000 0x00004000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot B ---- */
-               rw-b {
-                       label = "rw-section-b";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00280000 0x00078000>;
-               };
-               rw-b-vblock {
-                       label = "vblock-b";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00280000 0x00002000>;
-                       type = "keyblock cbfs/rw/b-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-b-boot {
-                       label = "fw-main-b";
-                       /* Alignment: no requirement (yet). */
-                       reg = <0x00282000 0x00075f00>;
-                       type = "blob cbfs/rw/b-boot";
-               };
-               rw-b-firmware-id {
-                       label = "rw-fwid-b";
-                       /* Alignment: no requirement. */
-                       reg = <0x002f7f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable VPD 32 KB ---- */
-               rw-vpd {
-                       label = "rw-vpd";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x002f8000 0x00008000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               rw-legacy {
-                       label = "rw-legacy";
-                       reg = <0x00300000 0x00100000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-       };
-};
diff --git a/board/veyron_emile/defconfig b/board/veyron_emile/defconfig
deleted file mode 100644 (file)
index 7546771..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# Arch
-CONFIG_ARCH_ARM=y
-
-# Board
-CONFIG_BOARD="veyron_emile"
-
-# Image
-CONFIG_BASE_ADDRESS=0x43000000
-CONFIG_FMAP_OFFSET=0x00100000
-CONFIG_HEAP_SIZE=0x01000000
-CONFIG_KERNEL_START=0x2000000
-
-# Vboot
-CONFIG_VIRTUAL_DEV_SWITCH=y
-
-CONFIG_CROSSYSTEM_FDT=y
-CONFIG_NV_STORAGE_FLASH=y
-
-
-#CONFIG_MOCK_TPM=y
-
-# Kernel format
-CONFIG_KERNEL_FIT=y
-CONFIG_KERNEL_FIT_FDT_ADDR=0x6400000
-
-# Drivers
-CONFIG_DRIVER_GPIO_RK3288=y
-CONFIG_DRIVER_BUS_I2C_ROCKCHIP=y
-CONFIG_DRIVER_BUS_SPI_ROCKCHIP=y
-CONFIG_DRIVER_BUS_I2S_ROCKCHIP=y
-CONFIG_DRIVER_FLASH_SPI=y
-CONFIG_DRIVER_POWER_RK808=y
-CONFIG_DRIVER_INPUT_USB=y
-CONFIG_DRIVER_SOUND_I2S=y
-CONFIG_DRIVER_SOUND_ROUTE=y
-CONFIG_DRIVER_STORAGE_MMC=y
-CONFIG_DRIVER_STORAGE_DWMMC_RK3288=y
-CONFIG_DRIVER_TPM_SLB9635_I2C=y
-CONFIG_DRIVER_VIDEO_ROCKCHIP=y
diff --git a/board/veyron_emile/fmap.dts b/board/veyron_emile/fmap.dts
deleted file mode 100644 (file)
index 0e56cb7..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-/dts-v1/;
-
-/ {
-       model = "Google Veyron_Emile";
-       config {
-               hwid = "EMILE TEST A-A 0992";
-       };
-       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;
-       };
-       flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "chromeos,flashmap";
-               reg = <0x00000000 0x00400000>;
-
-               /* ---- Section: Read-only ---- */
-               wp-ro {
-                       label = "wp-ro";
-                       reg = <0x00000000 0x00200000>;
-                       read-only;
-               };
-
-               ro-section {
-                       label = "ro-section";
-                       reg = <0x00000000 0x001f0000>;
-                       read-only;
-               };
-               ro-boot {
-                       label = "coreboot";
-                       size = <0x00100000>;
-                       read-only;
-                       type = "blob coreboot";
-                       required;
-               };
-
-               ro-fmap {
-                       label = "fmap";
-
-                       /* We encourage to align FMAP partition in as large
-                        * block as possible so that flashrom can find it soon.
-                        * For example, aligning to 512KB is better than to
-                        * 256KB. */
-
-                       reg = <0x00100000 0x00001000>;
-                       read-only;
-                       type = "fmap";
-                       ver-major = <1>;
-                       ver-minor = <0>;
-               };
-
-               ro-gbb {
-                       label = "gbb";
-
-                       /* GBB offset must be aligned to 4K bytes */
-                       reg = <0x00101000 0x000eef00>;
-                       read-only;
-                       type = "blob gbb";
-               };
-
-               ro-firmware-id {
-                       label = "ro-frid";
-                       reg = <0x001eff00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Vital-product data (VPD) ---- */
-               ro-vpd {
-                       label = "ro-vpd";
-
-                       /* VPD offset must be aligned to 4K bytes */
-                       reg = <0x001f0000 0x00010000>;
-                       read-only;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot A ---- */
-               rw-a {
-                       label = "rw-section-a";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00200000 0x00078000>;
-               };
-               rw-a-vblock {
-                       label = "vblock-a";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00200000 0x00002000>;
-                       type = "keyblock cbfs/rw/a-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-a-boot {
-                       /* Alignment: no requirement (yet). */
-                       label = "fw-main-a";
-                       reg = <0x00202000 0x00075f00>;
-                       type = "blob cbfs/rw/a-boot";
-               };
-               rw-a-firmware-id {
-                       /* Alignment: no requirement. */
-                       label = "rw-fwid-a";
-                       reg = <0x00277f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable shared 8 KB ---- */
-               shared-section {
-                       /*
-                        * Alignment: 4k (for updating).
-                        * Anything in this range may be updated in recovery.
-                        */
-                       label = "rw-shared";
-                       reg = <0x00278000 0x00002000>;
-               };
-               shared-data {
-                       label = "shared-data";
-                       /*
-                        * Alignment: 4k (for random read/write).
-                        * RW firmware can put calibration data here.
-                        */
-                       reg = <0x00278000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [00];
-               };
-
-               /* ---- Section: Storage to simulate NVRAM 8 KB ---- */
-               rw-nvram {
-                       label = "rw-nvram";
-                       reg = <0x0027a000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-
-               /* ---- Section: Rewritable Event Log 16 KB ---- */
-               rw-elog {
-                       label = "rw-elog";
-                       /* Alignment: 4K (for updating) */
-                       reg = <0x0027c000 0x00004000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot B ---- */
-               rw-b {
-                       label = "rw-section-b";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00280000 0x00078000>;
-               };
-               rw-b-vblock {
-                       label = "vblock-b";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00280000 0x00002000>;
-                       type = "keyblock cbfs/rw/b-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-b-boot {
-                       label = "fw-main-b";
-                       /* Alignment: no requirement (yet). */
-                       reg = <0x00282000 0x00075f00>;
-                       type = "blob cbfs/rw/b-boot";
-               };
-               rw-b-firmware-id {
-                       label = "rw-fwid-b";
-                       /* Alignment: no requirement. */
-                       reg = <0x002f7f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable VPD 32 KB ---- */
-               rw-vpd {
-                       label = "rw-vpd";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x002f8000 0x00008000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               rw-legacy {
-                       label = "rw-legacy";
-                       reg = <0x00300000 0x00100000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-       };
-};
diff --git a/board/veyron_romy/defconfig b/board/veyron_romy/defconfig
deleted file mode 100644 (file)
index 4912a5a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Arch
-CONFIG_ARCH_ARM=y
-
-# Board
-CONFIG_BOARD="veyron_romy"
-
-# Image
-CONFIG_BASE_ADDRESS=0x43000000
-CONFIG_FMAP_OFFSET=0x00100000
-CONFIG_HEAP_SIZE=0x01000000
-CONFIG_KERNEL_START=0x2000000
-
-# Vboot
-CONFIG_VIRTUAL_DEV_SWITCH=y
-
-CONFIG_CROSSYSTEM_FDT=y
-CONFIG_NV_STORAGE_FLASH=y
-
-
-#CONFIG_MOCK_TPM=y
-
-# Kernel format
-CONFIG_KERNEL_FIT=y
-CONFIG_KERNEL_FIT_FDT_ADDR=0x6400000
-
-# Drivers
-CONFIG_DRIVER_GPIO_RK3288=y
-CONFIG_DRIVER_BUS_I2C_ROCKCHIP=y
-CONFIG_DRIVER_BUS_SPI_ROCKCHIP=y
-CONFIG_DRIVER_BUS_I2S_ROCKCHIP=y
-CONFIG_DRIVER_FLASH_SPI=y
-CONFIG_DRIVER_POWER_RK808=y
-CONFIG_DRIVER_INPUT_USB=y
-CONFIG_DRIVER_SOUND_I2S=y
-CONFIG_DRIVER_SOUND_MAX98090=y
-CONFIG_DRIVER_SOUND_ROUTE=y
-CONFIG_DRIVER_STORAGE_MMC=y
-CONFIG_DRIVER_STORAGE_DWMMC_RK3288=y
-CONFIG_DRIVER_TPM_SLB9635_I2C=y
-CONFIG_DRIVER_VIDEO_ROCKCHIP=y
diff --git a/board/veyron_romy/fmap.dts b/board/veyron_romy/fmap.dts
deleted file mode 100644 (file)
index 11b57e8..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-/dts-v1/;
-
-/ {
-       model = "Google Veyron_Romy";
-       config {
-               hwid = "ROMY TEST A-A 5801";
-       };
-       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;
-       };
-       flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "chromeos,flashmap";
-               reg = <0x00000000 0x00400000>;
-
-               /* ---- Section: Read-only ---- */
-               wp-ro {
-                       label = "wp-ro";
-                       reg = <0x00000000 0x00200000>;
-                       read-only;
-               };
-
-               ro-section {
-                       label = "ro-section";
-                       reg = <0x00000000 0x001f0000>;
-                       read-only;
-               };
-               ro-boot {
-                       label = "coreboot";
-                       size = <0x00180000>;
-                       read-only;
-                       type = "blob coreboot";
-                       required;
-               };
-
-               ro-fmap {
-                       label = "fmap";
-
-                       /* We encourage to align FMAP partition in as large
-                        * block as possible so that flashrom can find it soon.
-                        * For example, aligning to 512KB is better than to
-                        * 256KB. */
-
-                       reg = <0x00180000 0x00001000>;
-                       read-only;
-                       type = "fmap";
-                       ver-major = <1>;
-                       ver-minor = <0>;
-               };
-
-               ro-gbb {
-                       label = "gbb";
-
-                       /* GBB offset must be aligned to 4K bytes */
-                       reg = <0x00181000 0x0006ef00>;
-                       read-only;
-                       type = "blob gbb";
-               };
-
-               ro-firmware-id {
-                       label = "ro-frid";
-                       reg = <0x001eff00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Vital-product data (VPD) ---- */
-               ro-vpd {
-                       label = "ro-vpd";
-
-                       /* VPD offset must be aligned to 4K bytes */
-                       reg = <0x001f0000 0x00010000>;
-                       read-only;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot A ---- */
-               rw-a {
-                       label = "rw-section-a";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00200000 0x00078000>;
-               };
-               rw-a-vblock {
-                       label = "vblock-a";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00200000 0x00002000>;
-                       type = "keyblock cbfs/rw/a-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-a-boot {
-                       /* Alignment: no requirement (yet). */
-                       label = "fw-main-a";
-                       reg = <0x00202000 0x00075f00>;
-                       type = "blob cbfs/rw/a-boot";
-               };
-               rw-a-firmware-id {
-                       /* Alignment: no requirement. */
-                       label = "rw-fwid-a";
-                       reg = <0x00277f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable shared 8 KB ---- */
-               shared-section {
-                       /*
-                        * Alignment: 4k (for updating).
-                        * Anything in this range may be updated in recovery.
-                        */
-                       label = "rw-shared";
-                       reg = <0x00278000 0x00002000>;
-               };
-               shared-data {
-                       label = "shared-data";
-                       /*
-                        * Alignment: 4k (for random read/write).
-                        * RW firmware can put calibration data here.
-                        */
-                       reg = <0x00278000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [00];
-               };
-
-               /* ---- Section: Storage to simulate NVRAM 8 KB ---- */
-               rw-nvram {
-                       label = "rw-nvram";
-                       reg = <0x0027a000 0x00002000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-
-               /* ---- Section: Rewritable Event Log 16 KB ---- */
-               rw-elog {
-                       label = "rw-elog";
-                       /* Alignment: 4K (for updating) */
-                       reg = <0x0027c000 0x00004000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               /* ---- Section: Rewritable slot B ---- */
-               rw-b {
-                       label = "rw-section-b";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x00280000 0x00078000>;
-               };
-               rw-b-vblock {
-                       label = "vblock-b";
-                       /*
-                        * Alignment: 4k (for updating) and must be in start of
-                        * each RW_SECTION.
-                        */
-                       reg = <0x00280000 0x00002000>;
-                       type = "keyblock cbfs/rw/b-boot";
-                       keyblock = "firmware.keyblock";
-                       signprivate = "firmware_data_key.vbprivk";
-                       version = <1>;
-                       kernelkey = "kernel_subkey.vbpubk";
-                       preamble-flags = <0>;
-               };
-               rw-b-boot {
-                       label = "fw-main-b";
-                       /* Alignment: no requirement (yet). */
-                       reg = <0x00282000 0x00075f00>;
-                       type = "blob cbfs/rw/b-boot";
-               };
-               rw-b-firmware-id {
-                       label = "rw-fwid-b";
-                       /* Alignment: no requirement. */
-                       reg = <0x002f7f00 0x00000100>;
-                       read-only;
-                       type = "blobstring fwid";
-               };
-
-               /* ---- Section: Rewritable VPD 32 KB ---- */
-               rw-vpd {
-                       label = "rw-vpd";
-                       /* Alignment: 4k (for updating) */
-                       reg = <0x002f8000 0x00008000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-
-               rw-legacy {
-                       label = "rw-legacy";
-                       reg = <0x00300000 0x00100000>;
-                       type = "wiped";
-                       wipe-value = [ff];
-               };
-       };
-};
diff --git a/src/board/veyron_brain/Kconfig b/src/board/veyron_brain/Kconfig
deleted file mode 100644 (file)
index 00a9dea..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-
-##
-## Copyright 2014 Rockchip Electronics.  All rights reserved.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
diff --git a/src/board/veyron_brain/Makefile.inc b/src/board/veyron_brain/Makefile.inc
deleted file mode 100644 (file)
index 472e633..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-##
-##
-## Copyright 2014 Rockchip Electronics Co., Ltd.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-
-depthcharge-y += board.c
diff --git a/src/board/veyron_brain/board.c b/src/board/veyron_brain/board.c
deleted file mode 100644 (file)
index 754c80d..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Copyright 2014 Rockchip Electronics Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but without any warranty; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include <arch/io.h>
-
-#include "base/init_funcs.h"
-#include "boot/fit.h"
-#include "boot/ramoops.h"
-#include "drivers/bus/i2c/rockchip.h"
-#include "drivers/bus/i2s/rockchip.h"
-#include "drivers/bus/spi/rockchip.h"
-#include "drivers/bus/usb/usb.h"
-#include "drivers/flash/spi.h"
-#include "drivers/gpio/rockchip.h"
-#include "drivers/gpio/sysinfo.h"
-#include "drivers/power/rk808.h"
-#include "drivers/power/sysinfo.h"
-#include "drivers/sound/max98090.h"
-#include "drivers/sound/i2s.h"
-#include "drivers/sound/route.h"
-#include "drivers/storage/dw_mmc.h"
-#include "drivers/storage/rk_dwmmc.h"
-#include "drivers/tpm/slb9635_i2c.h"
-#include "drivers/tpm/tpm.h"
-#include "drivers/video/display.h"
-#include "drivers/video/rockchip.h"
-#include "vboot/util/flag.h"
-
-static int board_setup(void)
-{
-       RkSpi *spi2 = new_rockchip_spi(0xff130000);
-       flash_set_ops(&new_spi_flash(&spi2->ops)->ops);
-
-       sysinfo_install_flags(new_rk_gpio_input_from_coreboot);
-
-       RkI2c *i2c1 = new_rockchip_i2c((void *)0xff140000);
-       tpm_set_ops(&new_slb9635_i2c(&i2c1->ops, 0x20)->base.ops);
-
-       RockchipI2s *i2s0 = new_rockchip_i2s(0xff890000, 16, 2, 256);
-       I2sSource *i2s_source = new_i2s_source(&i2s0->ops, 48000, 2, 16000);
-       SoundRoute *sound_route = new_sound_route(&i2s_source->ops);
-       RkI2c *i2c2 = new_rockchip_i2c((void *)0xff660000);
-       Max98090Codec *codec = new_max98090_codec(&i2c2->ops, 0x10, 16, 48000,
-                                                 256, 1);
-       list_insert_after(&codec->component.list_node,
-                         &sound_route->components);
-       sound_set_ops(&sound_route->ops);
-
-       RkI2c *i2c0 = new_rockchip_i2c((void *)0xff650000);
-       Rk808Pmic *pmic = new_rk808_pmic(&i2c0->ops, 0x1b);
-       SysinfoResetPowerOps *power = new_sysinfo_reset_power_ops(&pmic->ops,
-                       new_rk_gpio_output_from_coreboot);
-       power_set_ops(&power->ops);
-
-       DwmciHost *emmc = new_rkdwmci_host(0xff0f0000, 594000000, 8, 0, NULL);
-       list_insert_after(&emmc->mmc.ctrlr.list_node,
-                         &fixed_block_dev_controllers);
-
-       UsbHostController *usb_host1 = new_usb_hc(DWC2, 0xff540000);
-       list_insert_after(&usb_host1->list_node, &usb_host_controllers);
-
-       // This is actually an OTG port and is labeled as such in the schematic,
-       // though in reality we use it as a regular host mode port and leave
-       // the OTG_ID pin disconnected.
-       UsbHostController *usb_otg = new_usb_hc(DWC2, 0xff580000);
-       list_insert_after(&usb_otg->list_node, &usb_host_controllers);
-
-       // Claim that we have an open lid to satisfy vboot.
-       flag_replace(FLAG_LIDSW, new_gpio_high());
-
-       // Read the current value of the recovery button for confirmation
-       // when transitioning between normal and dev mode.
-       flag_replace(FLAG_RECSW, sysinfo_lookup_gpio("recovery",
-                               1, new_rk_gpio_input_from_coreboot));
-
-       ramoops_buffer(0x31f00000, 0x100000, 0x20000);
-
-       if (lib_sysinfo.framebuffer != NULL)
-               display_set_ops(NULL);
-
-       return 0;
-}
-
-INIT_FUNC(board_setup);
diff --git a/src/board/veyron_danger/Kconfig b/src/board/veyron_danger/Kconfig
deleted file mode 100644 (file)
index 00a9dea..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-
-##
-## Copyright 2014 Rockchip Electronics.  All rights reserved.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
diff --git a/src/board/veyron_danger/Makefile.inc b/src/board/veyron_danger/Makefile.inc
deleted file mode 100644 (file)
index 472e633..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-##
-##
-## Copyright 2014 Rockchip Electronics Co., Ltd.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-
-depthcharge-y += board.c
diff --git a/src/board/veyron_danger/board.c b/src/board/veyron_danger/board.c
deleted file mode 100644 (file)
index 9cbde2e..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Copyright 2014 Rockchip Electronics Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but without any warranty; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include <arch/io.h>
-
-#include "base/init_funcs.h"
-#include "boot/fit.h"
-#include "boot/ramoops.h"
-#include "drivers/gpio/rockchip.h"
-#include "drivers/bus/i2c/rockchip.h"
-#include "drivers/flash/spi.h"
-#include "drivers/bus/spi/rockchip.h"
-#include "drivers/tpm/slb9635_i2c.h"
-#include "drivers/tpm/tpm.h"
-#include "drivers/power/rk808.h"
-#include "drivers/power/sysinfo.h"
-#include "drivers/storage/dw_mmc.h"
-#include "drivers/storage/rk_dwmmc.h"
-
-#include "drivers/gpio/sysinfo.h"
-#include "vboot/util/flag.h"
-#include "drivers/bus/i2s/rockchip.h"
-#include "drivers/sound/i2s.h"
-#include "drivers/sound/route.h"
-#include "drivers/sound/max98090.h"
-
-#include "drivers/bus/usb/usb.h"
-
-static int board_setup(void)
-{
-       RkSpi *spi2 = new_rockchip_spi(0xff130000);
-       flash_set_ops(&new_spi_flash(&spi2->ops)->ops);
-
-       sysinfo_install_flags(new_rk_gpio_input_from_coreboot);
-
-       RkI2c *i2c1 = new_rockchip_i2c((void *)0xff140000);
-       tpm_set_ops(&new_slb9635_i2c(&i2c1->ops, 0x20)->base.ops);
-
-       RockchipI2s *i2s0 = new_rockchip_i2s(0xff890000, 16, 2, 256);
-       I2sSource *i2s_source = new_i2s_source(&i2s0->ops, 48000, 2, 16000);
-       SoundRoute *sound_route = new_sound_route(&i2s_source->ops);
-       RkI2c *i2c2 = new_rockchip_i2c((void *)0xff660000);
-       Max98090Codec *codec = new_max98090_codec(&i2c2->ops, 0x10, 16, 48000,
-                                                 256, 1);
-       list_insert_after(&codec->component.list_node,
-                         &sound_route->components);
-       sound_set_ops(&sound_route->ops);
-
-       RkI2c *i2c0 = new_rockchip_i2c((void *)0xff650000);
-       Rk808Pmic *pmic = new_rk808_pmic(&i2c0->ops, 0x1b);
-       SysinfoResetPowerOps *power = new_sysinfo_reset_power_ops(&pmic->ops,
-                       new_rk_gpio_output_from_coreboot);
-       power_set_ops(&power->ops);
-
-       DwmciHost *emmc = new_rkdwmci_host(0xff0f0000, 594000000, 8, 0, NULL);
-       list_insert_after(&emmc->mmc.ctrlr.list_node,
-                         &fixed_block_dev_controllers);
-
-       RkGpio *card_detect = new_rk_gpio_input(GPIO(7, A, 5));
-       GpioOps *card_detect_ops = &card_detect->ops;
-       card_detect_ops = new_gpio_not(card_detect_ops);
-       DwmciHost *sd_card = new_rkdwmci_host(0xff0c0000, 594000000, 4, 1,
-                                             card_detect_ops);
-       list_insert_after(&sd_card->mmc.ctrlr.list_node,
-                         &removable_block_dev_controllers);
-
-       UsbHostController *usb_host0_ehci = new_usb_hc(EHCI, 0xff500000);
-       list_insert_after(&usb_host0_ehci->list_node, &usb_host_controllers);
-
-       UsbHostController *usb_host1 = new_usb_hc(DWC2, 0xff540000);
-       list_insert_after(&usb_host1->list_node, &usb_host_controllers);
-
-       UsbHostController *usb_otg = new_usb_hc(DWC2, 0xff580000);
-       list_insert_after(&usb_otg->list_node, &usb_host_controllers);
-
-       // Read the current value of the recovery button for confirmation
-       // when transitioning between normal and dev mode.
-       flag_replace(FLAG_RECSW, sysinfo_lookup_gpio("recovery",
-                               1, new_rk_gpio_input_from_coreboot));
-
-       /* Lid always open for now. */
-       flag_replace(FLAG_LIDSW, new_gpio_high());
-
-       ramoops_buffer(0x31f00000, 0x100000, 0x20000);
-
-       return 0;
-}
-
-INIT_FUNC(board_setup);
diff --git a/src/board/veyron_emile/Kconfig b/src/board/veyron_emile/Kconfig
deleted file mode 100644 (file)
index 00a9dea..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-
-##
-## Copyright 2014 Rockchip Electronics.  All rights reserved.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
diff --git a/src/board/veyron_emile/Makefile.inc b/src/board/veyron_emile/Makefile.inc
deleted file mode 100644 (file)
index 472e633..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-##
-##
-## Copyright 2014 Rockchip Electronics Co., Ltd.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-
-depthcharge-y += board.c
diff --git a/src/board/veyron_emile/board.c b/src/board/veyron_emile/board.c
deleted file mode 100644 (file)
index 307b95f..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Copyright 2014 Rockchip Electronics Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but without any warranty; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include <arch/io.h>
-
-#include "base/init_funcs.h"
-#include "boot/fit.h"
-#include "boot/ramoops.h"
-#include "drivers/bus/i2c/rockchip.h"
-#include "drivers/bus/i2s/rockchip.h"
-#include "drivers/bus/spi/rockchip.h"
-#include "drivers/bus/usb/usb.h"
-#include "drivers/flash/spi.h"
-#include "drivers/gpio/rockchip.h"
-#include "drivers/gpio/sysinfo.h"
-#include "drivers/power/rk808.h"
-#include "drivers/power/sysinfo.h"
-#include "drivers/sound/i2s.h"
-#include "drivers/sound/route.h"
-#include "drivers/storage/dw_mmc.h"
-#include "drivers/storage/rk_dwmmc.h"
-#include "drivers/tpm/slb9635_i2c.h"
-#include "drivers/tpm/tpm.h"
-#include "drivers/video/display.h"
-#include "drivers/video/rockchip.h"
-#include "vboot/util/flag.h"
-
-static const DtPathMap mac_maps[] = {
-       { 0, "ethernet@ff290000/local-mac-address" },
-       {}
-};
-
-static int fix_device_tree(DeviceTreeFixup *fixup, DeviceTree *tree)
-{
-       return dt_set_mac_addresses(tree, mac_maps);
-}
-
-static DeviceTreeFixup ethernet_fixup = {
-       .fixup = fix_device_tree
-};
-
-static int board_setup(void)
-{
-       RkSpi *spi2 = new_rockchip_spi(0xff130000);
-       flash_set_ops(&new_spi_flash(&spi2->ops)->ops);
-
-       sysinfo_install_flags(new_rk_gpio_input_from_coreboot);
-
-       RkI2c *i2c1 = new_rockchip_i2c((void *)0xff140000);
-       tpm_set_ops(&new_slb9635_i2c(&i2c1->ops, 0x20)->base.ops);
-
-       RockchipI2s *i2s0 = new_rockchip_i2s(0xff890000, 16, 2, 256);
-       I2sSource *i2s_source = new_i2s_source(&i2s0->ops, 48000, 2, 16000);
-       SoundRoute *sound_route = new_sound_route(&i2s_source->ops);
-       sound_set_ops(&sound_route->ops);
-
-       RkI2c *i2c0 = new_rockchip_i2c((void *)0xff650000);
-       Rk808Pmic *pmic = new_rk808_pmic(&i2c0->ops, 0x1b);
-       SysinfoResetPowerOps *power = new_sysinfo_reset_power_ops(&pmic->ops,
-                       new_rk_gpio_output_from_coreboot);
-       power_set_ops(&power->ops);
-
-       DwmciHost *emmc = new_rkdwmci_host(0xff0f0000, 594000000, 8, 0, NULL);
-       list_insert_after(&emmc->mmc.ctrlr.list_node,
-                         &fixed_block_dev_controllers);
-
-       // This is actually an OTG port and is labeled as such in the schematic,
-       // though in reality we use it as a regular host mode port and leave
-       // the OTG_ID pin disconnected.
-       UsbHostController *usb_otg = new_usb_hc(DWC2, 0xff580000);
-       list_insert_after(&usb_otg->list_node, &usb_host_controllers);
-
-       UsbHostController *usb_host1 = new_usb_hc(DWC2, 0xff540000);
-       list_insert_after(&usb_host1->list_node, &usb_host_controllers);
-
-       // Claim that we have an open lid to satisfy vboot.
-       flag_replace(FLAG_LIDSW, new_gpio_high());
-
-       // Claim that we have an power key to satisfy vboot.
-       flag_replace(FLAG_PWRSW, new_gpio_low());
-
-       // Read the current value of the recovery button for confirmation
-       // when transitioning between normal and dev mode.
-       flag_replace(FLAG_RECSW, sysinfo_lookup_gpio("recovery",
-                               1, new_rk_gpio_input_from_coreboot));
-
-       list_insert_after(&ethernet_fixup.list_node, &device_tree_fixups);
-
-       ramoops_buffer(0x31f00000, 0x100000, 0x20000);
-
-       if (lib_sysinfo.framebuffer != NULL)
-               display_set_ops(NULL);
-
-       return 0;
-}
-
-INIT_FUNC(board_setup);
diff --git a/src/board/veyron_romy/Kconfig b/src/board/veyron_romy/Kconfig
deleted file mode 100644 (file)
index 00a9dea..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-
-##
-## Copyright 2014 Rockchip Electronics.  All rights reserved.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
diff --git a/src/board/veyron_romy/Makefile.inc b/src/board/veyron_romy/Makefile.inc
deleted file mode 100644 (file)
index 472e633..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-##
-##
-## Copyright 2014 Rockchip Electronics Co., Ltd.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-
-depthcharge-y += board.c
diff --git a/src/board/veyron_romy/board.c b/src/board/veyron_romy/board.c
deleted file mode 100644 (file)
index 754c80d..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Copyright 2014 Rockchip Electronics Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but without any warranty; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include <arch/io.h>
-
-#include "base/init_funcs.h"
-#include "boot/fit.h"
-#include "boot/ramoops.h"
-#include "drivers/bus/i2c/rockchip.h"
-#include "drivers/bus/i2s/rockchip.h"
-#include "drivers/bus/spi/rockchip.h"
-#include "drivers/bus/usb/usb.h"
-#include "drivers/flash/spi.h"
-#include "drivers/gpio/rockchip.h"
-#include "drivers/gpio/sysinfo.h"
-#include "drivers/power/rk808.h"
-#include "drivers/power/sysinfo.h"
-#include "drivers/sound/max98090.h"
-#include "drivers/sound/i2s.h"
-#include "drivers/sound/route.h"
-#include "drivers/storage/dw_mmc.h"
-#include "drivers/storage/rk_dwmmc.h"
-#include "drivers/tpm/slb9635_i2c.h"
-#include "drivers/tpm/tpm.h"
-#include "drivers/video/display.h"
-#include "drivers/video/rockchip.h"
-#include "vboot/util/flag.h"
-
-static int board_setup(void)
-{
-       RkSpi *spi2 = new_rockchip_spi(0xff130000);
-       flash_set_ops(&new_spi_flash(&spi2->ops)->ops);
-
-       sysinfo_install_flags(new_rk_gpio_input_from_coreboot);
-
-       RkI2c *i2c1 = new_rockchip_i2c((void *)0xff140000);
-       tpm_set_ops(&new_slb9635_i2c(&i2c1->ops, 0x20)->base.ops);
-
-       RockchipI2s *i2s0 = new_rockchip_i2s(0xff890000, 16, 2, 256);
-       I2sSource *i2s_source = new_i2s_source(&i2s0->ops, 48000, 2, 16000);
-       SoundRoute *sound_route = new_sound_route(&i2s_source->ops);
-       RkI2c *i2c2 = new_rockchip_i2c((void *)0xff660000);
-       Max98090Codec *codec = new_max98090_codec(&i2c2->ops, 0x10, 16, 48000,
-                                                 256, 1);
-       list_insert_after(&codec->component.list_node,
-                         &sound_route->components);
-       sound_set_ops(&sound_route->ops);
-
-       RkI2c *i2c0 = new_rockchip_i2c((void *)0xff650000);
-       Rk808Pmic *pmic = new_rk808_pmic(&i2c0->ops, 0x1b);
-       SysinfoResetPowerOps *power = new_sysinfo_reset_power_ops(&pmic->ops,
-                       new_rk_gpio_output_from_coreboot);
-       power_set_ops(&power->ops);
-
-       DwmciHost *emmc = new_rkdwmci_host(0xff0f0000, 594000000, 8, 0, NULL);
-       list_insert_after(&emmc->mmc.ctrlr.list_node,
-                         &fixed_block_dev_controllers);
-
-       UsbHostController *usb_host1 = new_usb_hc(DWC2, 0xff540000);
-       list_insert_after(&usb_host1->list_node, &usb_host_controllers);
-
-       // This is actually an OTG port and is labeled as such in the schematic,
-       // though in reality we use it as a regular host mode port and leave
-       // the OTG_ID pin disconnected.
-       UsbHostController *usb_otg = new_usb_hc(DWC2, 0xff580000);
-       list_insert_after(&usb_otg->list_node, &usb_host_controllers);
-
-       // Claim that we have an open lid to satisfy vboot.
-       flag_replace(FLAG_LIDSW, new_gpio_high());
-
-       // Read the current value of the recovery button for confirmation
-       // when transitioning between normal and dev mode.
-       flag_replace(FLAG_RECSW, sysinfo_lookup_gpio("recovery",
-                               1, new_rk_gpio_input_from_coreboot));
-
-       ramoops_buffer(0x31f00000, 0x100000, 0x20000);
-
-       if (lib_sysinfo.framebuffer != NULL)
-               display_set_ops(NULL);
-
-       return 0;
-}
-
-INIT_FUNC(board_setup);