mb/google/kahlee: Remove mainboard.h

mainboard.h only had a single function definition.  Move it into
baseboard/variants.h and get rid of the file.

TEST=Build grunt/kahlee
BUG=b:69164070

Change-Id: I6b7d50d5c949733d77c42b4daf56ed1f97ed6954
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/22434
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Martin Roth 2017-11-11 14:33:47 -07:00
parent fa3aff0906
commit b77bc6f5e7
5 changed files with 5 additions and 26 deletions

View File

@ -19,7 +19,7 @@
#include <agesawrapper.h> #include <agesawrapper.h>
#include <amd_pci_util.h> #include <amd_pci_util.h>
#include <ec.h> #include <ec.h>
#include <mainboard.h> #include <baseboard/variants.h>
#include <soc/smi.h> #include <soc/smi.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>

View File

@ -1,23 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2017 Advanced Micro Devices, Inc.
*
* 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
#include <soc/smi.h>
const struct sci_source *get_gpe_table(size_t *num);
#endif /* MAINBOARD_H */

View File

@ -15,7 +15,7 @@
#include <AGESA.h> #include <AGESA.h>
#include <FchPlatform.h> #include <FchPlatform.h>
#include <mainboard.h> #include <baseboard/variants.h>
#include <soc/smi.h> #include <soc/smi.h>
#include <soc/southbridge.h> #include <soc/southbridge.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -18,7 +18,9 @@
#define __BASEBOARD_VARIANTS_H__ #define __BASEBOARD_VARIANTS_H__
#include <stddef.h> #include <stddef.h>
#include <soc/smi.h>
const struct sci_source *get_gpe_table(size_t *num);
size_t variant_board_id(void); size_t variant_board_id(void);
#endif /* __BASEBOARD_VARIANTS_H__ */ #endif /* __BASEBOARD_VARIANTS_H__ */

View File

@ -15,7 +15,7 @@
#include <AGESA.h> #include <AGESA.h>
#include <FchPlatform.h> #include <FchPlatform.h>
#include <mainboard.h> #include <baseboard/variants.h>
#include <soc/smi.h> #include <soc/smi.h>
#include <soc/southbridge.h> #include <soc/southbridge.h>
#include <stdlib.h> #include <stdlib.h>