summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Petrov <andrey.petrov@intel.com>2016-10-03 23:26:45 (GMT)
committerchrome-bot <chrome-bot@chromium.org>2016-11-16 01:42:58 (GMT)
commitf2a835ff24960d226ba34cc88b9938e38748de38 (patch)
treec1d4e5f7517dc2f697a7189a907591d2fefc7111
parentd2902c92247bd08be26f8de3d9a84bfd00ce2116 (diff)
downloaddepthcharge-stabilize-9000.B.tar.gz
depthcharge-stabilize-9000.B.tar.xz
Amenia is EOL. Remove mainboard. BUG=chrome-os-partner:57490 BRANCH=none TEST=none Change-Id: I30274165b9a82f98630d62d9b0c306e2d1ac0658 Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://chromium-review.googlesource.com/392232 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--board/amenia/defconfig30
-rw-r--r--board/amenia/fmap.dts23
-rw-r--r--src/board/amenia/Makefile.inc2
-rw-r--r--src/board/amenia/board.c82
4 files changed, 0 insertions, 137 deletions
diff --git a/board/amenia/defconfig b/board/amenia/defconfig
deleted file mode 100644
index a546606..0000000
--- a/board/amenia/defconfig
+++ /dev/null
@@ -1,30 +0,0 @@
-# Arch
-CONFIG_ARCH_X86=y
-
-# Board
-CONFIG_BOARD="amenia"
-
-# Image
-CONFIG_FMAP_OFFSET=0x00204000
-
-# Vboot
-CONFIG_EC_SOFTWARE_SYNC=y
-CONFIG_VIRTUAL_DEV_SWITCH=y
-
-CONFIG_CROSSYSTEM_ACPI=y
-CONFIG_NV_STORAGE_CMOS=y
-
-# Kernel format
-CONFIG_KERNEL_ZIMAGE=y
-
-# Drivers
-CONFIG_DRIVER_EC_CROS=y
-CONFIG_DRIVER_EC_CROS_LPC=y
-CONFIG_DRIVER_FLASH_MEMMAPPED=y
-CONFIG_DRIVER_INPUT_PS2=y
-CONFIG_DRIVER_INPUT_USB=y
-CONFIG_DRIVER_POWER_PCH=y
-CONFIG_DRIVER_SDHCI=y
-CONFIG_DRIVER_STORAGE_MMC=y
-CONFIG_DRIVER_STORAGE_SDHCI_PCI=y
-CONFIG_DRIVER_TPM_LPC=y
diff --git a/board/amenia/fmap.dts b/board/amenia/fmap.dts
deleted file mode 100644
index 01b53c3..0000000
--- a/board/amenia/fmap.dts
+++ /dev/null
@@ -1,23 +0,0 @@
-/dts-v1/;
-/*
- * NOTE: this needs to align with src/mainboard/intel/amenia/chromeos.fmd
- * in the coreboot repository. Any changes made there should be reflected
- * in this file. There are parallel notions of fmap information. However,
- * both are used in different parts of the system so the right answer now
- * is to keep them in sync.
- */
-
-/ {
- model = "Intel Amenia";
- config {
- hwid = "AMENIA TEST";
- };
- 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;
- gbb-flag-disable-ec-software-sync;
- };
-};
diff --git a/src/board/amenia/Makefile.inc b/src/board/amenia/Makefile.inc
deleted file mode 100644
index 5c3dfd6..0000000
--- a/src/board/amenia/Makefile.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-
-depthcharge-y += board.c
diff --git a/src/board/amenia/board.c b/src/board/amenia/board.c
deleted file mode 100644
index 71ef47f..0000000
--- a/src/board/amenia/board.c
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (C) 2016 Intel Corporation.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-
-#include <libpayload.h>
-#include <sysinfo.h>
-
-#include "base/init_funcs.h"
-#include "drivers/ec/cros/lpc.h"
-#include "drivers/gpio/sysinfo.h"
-#include "drivers/flash/memmapped.h"
-#include "drivers/tpm/tpm.h"
-#include "drivers/bus/usb/usb.h"
-#include "drivers/power/pch.h"
-#include "drivers/tpm/lpc.h"
-#include "drivers/storage/sdhci.h"
-
-#define EMMC_SD_CLOCK_MIN 400000
-#define EMMC_CLOCK_MAX 200000000
-#define SD_CLOCK_MAX 52000000
-
-/* Flash memory map size includes the 4K descriptor which is not accessible */
-#define FLASH_MEM_MAP_SIZE 0xF7F000
-#define FLASH_MEM_MAP_BASE ((uintptr_t)(0x100000000ULL - FLASH_MEM_MAP_SIZE))
-
-static int board_setup(void)
-{
- sysinfo_install_flags(NULL);
-
- /* Chrome EC bus */
- CrosEcLpcBus *cros_ec_lpc_bus =
- new_cros_ec_lpc_bus(CROS_EC_LPC_BUS_GENERIC);
- CrosEc *cros_ec = new_cros_ec(&cros_ec_lpc_bus->ops, 0, NULL);
- register_vboot_ec(&cros_ec->vboot, 0);
-
- /* W25Q128FV SPI Flash */
- flash_set_ops(&new_mem_mapped_flash(FLASH_MEM_MAP_BASE, FLASH_MEM_MAP_SIZE)->ops);
-
- /* SLB9670 SPI TPM */
- tpm_set_ops(&new_lpc_tpm((void *)(uintptr_t)0xfed40000)->ops);
-
- SdhciHost *emmc;
- emmc = new_pci_sdhci_host(PCI_DEV(0, 0x1c, 0), 0,
- EMMC_SD_CLOCK_MIN, EMMC_CLOCK_MAX);
- list_insert_after(&emmc->mmc_ctrlr.ctrlr.list_node,
- &fixed_block_dev_controllers);
-
- /* SD Card (if present) */
- pcidev_t sd_pci_dev = PCI_DEV(0, 0x1b, 0);
- uint16_t sd_vendor_id = pci_read_config32(sd_pci_dev, REG_VENDOR_ID);
- if (sd_vendor_id == PCI_VENDOR_ID_INTEL) {
- SdhciHost *sd = new_pci_sdhci_host(sd_pci_dev, 1,
- EMMC_SD_CLOCK_MIN, SD_CLOCK_MAX);
- list_insert_after(&sd->mmc_ctrlr.ctrlr.list_node,
- &removable_block_dev_controllers);
- }
-
- /* PCH Power */
- power_set_ops(&apollolake_power_ops);
-
- return 0;
-}
-
-INIT_FUNC(board_setup);