From 4697d09f1a6625e3d38ec7d92a18b3853c359fa8 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 30 Mar 2015 13:29:45 +0200 Subject: emulation/imgvp-pistachio: Drop board This doesn't even compile in downstream. Change-Id: Ic7b3736db86e8de155e0f37afa970ce5095396fa Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/9164 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/emulation/Kconfig | 4 -- src/mainboard/emulation/imgvp-pistachio/Kconfig | 53 ---------------------- .../emulation/imgvp-pistachio/Makefile.inc | 22 --------- .../emulation/imgvp-pistachio/bootblock.c | 24 ---------- .../emulation/imgvp-pistachio/devicetree.cb | 26 ----------- .../emulation/imgvp-pistachio/mainboard.c | 33 -------------- src/mainboard/emulation/imgvp-pistachio/romstage.c | 29 ------------ 7 files changed, 191 deletions(-) delete mode 100644 src/mainboard/emulation/imgvp-pistachio/Kconfig delete mode 100644 src/mainboard/emulation/imgvp-pistachio/Makefile.inc delete mode 100644 src/mainboard/emulation/imgvp-pistachio/bootblock.c delete mode 100644 src/mainboard/emulation/imgvp-pistachio/devicetree.cb delete mode 100644 src/mainboard/emulation/imgvp-pistachio/mainboard.c delete mode 100644 src/mainboard/emulation/imgvp-pistachio/romstage.c (limited to 'src/mainboard') diff --git a/src/mainboard/emulation/Kconfig b/src/mainboard/emulation/Kconfig index d2706faa9e..e48c242dcb 100644 --- a/src/mainboard/emulation/Kconfig +++ b/src/mainboard/emulation/Kconfig @@ -14,9 +14,6 @@ config BOARD_EMULATION_QEMU_ARMV7 config BOARD_EMULATION_QEMU_UCB_RISCV bool "QEMU ucb riscv" -config BOARD_EMULATION_IMGVP_PISTACHIO - bool "ImgTec Pistachio Virtual Platform" - endchoice config BOARD_EMULATION_QEMU_X86 @@ -28,7 +25,6 @@ source "src/mainboard/emulation/qemu-i440fx/Kconfig" source "src/mainboard/emulation/qemu-q35/Kconfig" source "src/mainboard/emulation/qemu-armv7/Kconfig" source "src/mainboard/emulation/qemu-riscv/Kconfig" -source "src/mainboard/emulation/imgvp-pistachio/Kconfig" config MAINBOARD_VENDOR string diff --git a/src/mainboard/emulation/imgvp-pistachio/Kconfig b/src/mainboard/emulation/imgvp-pistachio/Kconfig deleted file mode 100644 index 068528e6d6..0000000000 --- a/src/mainboard/emulation/imgvp-pistachio/Kconfig +++ /dev/null @@ -1,53 +0,0 @@ -# -# This file is part of the coreboot project. -# -# Copyright (C) 2014 Imagination Technologies -# -# 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. -# -# 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., 51 Franklin St, Fifth Floor, Boston, -# MA 02110-1301 USA -# - -if BOARD_EMULATION_IMGVP_PISTACHIO - -config BOARD_SPECIFIC_OPTIONS - def_bool y - select BOOTBLOCK_CONSOLE - select CPU_IMGTEC_PISTACHIO - -config MAINBOARD_DIR - string - default emulation/imgvp-pistachio - -config MAINBOARD_PART_NUMBER - string - default "ImgTec Pistachio Virtual Platform" - -config BOOTBLOCK_MAINBOARD_INIT - string - default "mainboard/emulation/imgvp-pistachio/bootblock.c" - -config SYS_SDRAM_BASE - hex "SDRAM base address" - default 0x80000000 - -config DRAM_SIZE_MB - int - default 256 - -config HEAP_SIZE - hex - default 0x08000000 - -endif diff --git a/src/mainboard/emulation/imgvp-pistachio/Makefile.inc b/src/mainboard/emulation/imgvp-pistachio/Makefile.inc deleted file mode 100644 index 8be1b22946..0000000000 --- a/src/mainboard/emulation/imgvp-pistachio/Makefile.inc +++ /dev/null @@ -1,22 +0,0 @@ -# -# This file is part of the coreboot project. -# -# Copyright 2014 Imagination Technologies 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. -# -# 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., 51 Franklin St, Fifth Floor, Boston, -# MA 02110-1301 USA -# - -romstage-y += romstage.c diff --git a/src/mainboard/emulation/imgvp-pistachio/bootblock.c b/src/mainboard/emulation/imgvp-pistachio/bootblock.c deleted file mode 100644 index 1784a02f44..0000000000 --- a/src/mainboard/emulation/imgvp-pistachio/bootblock.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2014 Imagination Technologies - * - * 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. - * - * 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., 51 Franklin St, Fifth Floor, Boston, - * MA 02110-1301 USA - */ - -void bootblock_mainboard_init(void) -{ -} diff --git a/src/mainboard/emulation/imgvp-pistachio/devicetree.cb b/src/mainboard/emulation/imgvp-pistachio/devicetree.cb deleted file mode 100644 index a328b9d1cf..0000000000 --- a/src/mainboard/emulation/imgvp-pistachio/devicetree.cb +++ /dev/null @@ -1,26 +0,0 @@ -# -# This file is part of the coreboot project. -# -# Copyright (C) 2014 Imagination Technologies -# -# 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. -# -# 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., 51 Franklin St, Fifth Floor, Boston, -# MA 02110-1301 USA -# - -chip soc/imgtec/pistachio - chip drivers/generic/generic # I2C0 controller - device i2c 6 on end # Fake component for testing - end -end diff --git a/src/mainboard/emulation/imgvp-pistachio/mainboard.c b/src/mainboard/emulation/imgvp-pistachio/mainboard.c deleted file mode 100644 index fdae940c6f..0000000000 --- a/src/mainboard/emulation/imgvp-pistachio/mainboard.c +++ /dev/null @@ -1,33 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2014 Imagination Technologies - * - * 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. - * - * 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., 51 Franklin St, Fifth Floor, Boston, - * MA 02110-1301 USA - */ - -#include -#include - -static void mainboard_enable(device_t dev) -{ - printk(BIOS_INFO, "Enable imgvp-pistachio device...\n"); -} - -struct chip_operations mainboard_ops = { - .enable_dev = mainboard_enable, -}; - diff --git a/src/mainboard/emulation/imgvp-pistachio/romstage.c b/src/mainboard/emulation/imgvp-pistachio/romstage.c deleted file mode 100644 index 3fcf23d461..0000000000 --- a/src/mainboard/emulation/imgvp-pistachio/romstage.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2014 Imagination Technologies - * - * 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. - * - * 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., 51 Franklin St, Fifth Floor, Boston, - * MA 02110-1301 USA - */ - -#include -#include - -void main(void) -{ - console_init(); - run_ramstage(); -} -- cgit v1.2.3