From fedf71c6fb4f6080f3521f0aa5810abd195fe604 Mon Sep 17 00:00:00 2001 From: Wim Vervoorn Date: Thu, 17 Oct 2019 13:26:28 +0200 Subject: mb/facebook/fbg1701: rename mainboard.h to logo.h Renamed mainboard.h to logo.h as it only contains logo related items. BUG=N/A TEST=tested on fbg1701 Change-Id: I921ae914c13d93057d5498d8262db2c455b97eaf Signed-off-by: Wim Vervoorn Reviewed-on: https://review.coreboot.org/c/coreboot/+/36097 Tested-by: build bot (Jenkins) Reviewed-by: Frans Hendriks --- src/mainboard/facebook/fbg1701/logo.c | 2 +- src/mainboard/facebook/fbg1701/logo.h | 21 +++++++++++++++++++++ src/mainboard/facebook/fbg1701/mainboard.h | 21 --------------------- src/mainboard/facebook/fbg1701/ramstage.c | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 src/mainboard/facebook/fbg1701/logo.h delete mode 100644 src/mainboard/facebook/fbg1701/mainboard.h (limited to 'src/mainboard/facebook') diff --git a/src/mainboard/facebook/fbg1701/logo.c b/src/mainboard/facebook/fbg1701/logo.c index 10c72c7fce..3823c71fdc 100644 --- a/src/mainboard/facebook/fbg1701/logo.c +++ b/src/mainboard/facebook/fbg1701/logo.c @@ -17,7 +17,7 @@ #include #include #include -#include "mainboard.h" +#include "logo.h" static char logo_data[1 * MiB]; static size_t logo_data_sz = 0; diff --git a/src/mainboard/facebook/fbg1701/logo.h b/src/mainboard/facebook/fbg1701/logo.h new file mode 100644 index 0000000000..0682d3fa2d --- /dev/null +++ b/src/mainboard/facebook/fbg1701/logo.h @@ -0,0 +1,21 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2019 Eltan B.V. + * + * 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 LOGO_H +#define LOGO_H + +void *load_logo(size_t *logo_size); + +#endif diff --git a/src/mainboard/facebook/fbg1701/mainboard.h b/src/mainboard/facebook/fbg1701/mainboard.h deleted file mode 100644 index 82f1b9939c..0000000000 --- a/src/mainboard/facebook/fbg1701/mainboard.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2018-2019 Eltan B.V. - * - * 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 MAINBOARD_H -#define MAINBOARD_H - -void *load_logo(size_t *logo_size); - -#endif diff --git a/src/mainboard/facebook/fbg1701/ramstage.c b/src/mainboard/facebook/fbg1701/ramstage.c index e2b4ac3145..9b25b983f7 100644 --- a/src/mainboard/facebook/fbg1701/ramstage.c +++ b/src/mainboard/facebook/fbg1701/ramstage.c @@ -18,8 +18,8 @@ #include #include #include -#include "mainboard.h" #include "cpld.h" +#include "logo.h" struct edp_data { u8 payload_length; -- cgit v1.2.3