Include soc common lpss header file to resolve build error due to missing soc_lpss_controllers_list declaration. Also remove console header since it is unused. Change-Id: I2b2c82fc7592120993bc483d3061803cf75c7335 Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37556 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2019 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 <fsp/api.h>
|
|
#include <intelblocks/lpss.h>
|
|
#include <soc/ramstage.h>
|
|
|
|
static const pci_devfn_t serial_io_dev[] = {
|
|
PCH_DEVFN_I2C0,
|
|
PCH_DEVFN_I2C1,
|
|
PCH_DEVFN_I2C2,
|
|
PCH_DEVFN_I2C3,
|
|
PCH_DEVFN_I2C4,
|
|
PCH_DEVFN_I2C5,
|
|
PCH_DEVFN_GSPI0,
|
|
PCH_DEVFN_GSPI1,
|
|
PCH_DEVFN_GSPI2,
|
|
PCH_DEVFN_UART0,
|
|
PCH_DEVFN_UART1,
|
|
PCH_DEVFN_UART2
|
|
};
|
|
|
|
/* UPD parameters to be initialized before SiliconInit */
|
|
void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|
{
|
|
/* TODO: Update with UPD override as FSP matures */
|
|
}
|
|
|
|
/* Return list of SOC LPSS controllers */
|
|
const pci_devfn_t *soc_lpss_controllers_list(size_t *size)
|
|
{
|
|
*size = ARRAY_SIZE(serial_io_dev);
|
|
return serial_io_dev;
|
|
}
|