diff options
author | Julien Viard de Galbert <jviarddegalbert@online.net> | 2018-02-16 14:45:11 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-16 17:13:15 +0000 |
commit | ed089376e39b85af61b8db6904627d294f31c55b (patch) | |
tree | 9803c4ffd9ca483dcec686cb37313e31166d3f45 | |
parent | 5a2c7969e9693ba3f6bb7e79f9fe8a17aa229d4e (diff) |
mb/scaleway/tagada: Remove unused board_id
Change-Id: I6175ce3d3ef739c4f503db826036ffe8feff9ddc
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
Reviewed-on: https://review.coreboot.org/23741
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/mainboard/scaleway/tagada/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/boardid.c | 28 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/harcuvar_boardid.h | 26 |
3 files changed, 0 insertions, 56 deletions
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 <console/console.h> - -#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 <stdint.h> - -#define BoardIdHarcuvar 0x52 - -uint8_t board_id(void); - -#endif /* MAINBOARD_BOARD_H */ |