From ed089376e39b85af61b8db6904627d294f31c55b Mon Sep 17 00:00:00 2001 From: Julien Viard de Galbert Date: Fri, 16 Feb 2018 14:45:11 +0100 Subject: mb/scaleway/tagada: Remove unused board_id Change-Id: I6175ce3d3ef739c4f503db826036ffe8feff9ddc Signed-off-by: Julien Viard de Galbert Reviewed-on: https://review.coreboot.org/23741 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/scaleway/tagada/Makefile.inc | 2 -- src/mainboard/scaleway/tagada/boardid.c | 28 ------------------------ src/mainboard/scaleway/tagada/harcuvar_boardid.h | 26 ---------------------- 3 files changed, 56 deletions(-) delete mode 100644 src/mainboard/scaleway/tagada/boardid.c delete mode 100644 src/mainboard/scaleway/tagada/harcuvar_boardid.h diff --git a/src/mainboard/scaleway/tagada/Makefile.inc b/src/mainboard/scaleway/tagada/Makefile.inc index 7421f381d1..2c8186fc25 100644 --- a/src/mainboard/scaleway/tagada/Makefile.inc +++ b/src/mainboard/scaleway/tagada/Makefile.inc @@ -14,11 +14,9 @@ ## GNU General Public License for more details. ## -romstage-y += boardid.c romstage-y += hsio.c ramstage-y += ramstage.c -ramstage-y += boardid.c ramstage-y += hsio.c ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_tables.c ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c diff --git a/src/mainboard/scaleway/tagada/boardid.c b/src/mainboard/scaleway/tagada/boardid.c deleted file mode 100644 index 7edf3643ef..0000000000 --- a/src/mainboard/scaleway/tagada/boardid.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2015 - 2017 Intel Corporation. - * - * 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. - * - */ - -#include - -#include "harcuvar_boardid.h" - -uint8_t board_id(void) -{ - int id = BoardIdHarcuvar; - - printk(BIOS_SPEW, "Board ID: %#x.\n", id); - - return id; -} diff --git a/src/mainboard/scaleway/tagada/harcuvar_boardid.h b/src/mainboard/scaleway/tagada/harcuvar_boardid.h deleted file mode 100644 index 3bcd60c831..0000000000 --- a/src/mainboard/scaleway/tagada/harcuvar_boardid.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2015 - 2017 Intel Corporation. - * - * 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. - * - */ - -#ifndef HARCUVAR_MAINBOARD_BOARD_H -#define HARCUVAR_MAINBOARD_BOARD_H - -#include - -#define BoardIdHarcuvar 0x52 - -uint8_t board_id(void); - -#endif /* MAINBOARD_BOARD_H */ -- cgit v1.2.3