soc/cavium: Add PCI support
* Add support for secure/unsecure split * Use MMCONF to access devices in domain0 * Program MSIX vectors to fix a crash in GNU/Linux Tested on Cavium CN81XX_EVB. All PCI devices are visible. Change-Id: I881f38a26a165e6bd965fcd73547473b5e32d4b0 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/25750 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Philipp Deppenwiese
parent
02c0814764
commit
d0c6797e79
27
src/soc/cavium/common/pci/chip.h
Normal file
27
src/soc/cavium/common/pci/chip.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* Copyright 2018-present Facebook, 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 __SOC_CAVIUM_COMMON_PCI_CHIP_H
|
||||
#define __SOC_CAVIUM_COMMON_PCI_CHIP_H
|
||||
|
||||
struct soc_cavium_common_pci_config {
|
||||
/**
|
||||
* Mark the PCI device as secure.
|
||||
* It will be visible from EL3, but hidden in EL2-0.
|
||||
*/
|
||||
u8 secure;
|
||||
};
|
||||
|
||||
#endif /* __SOC_CAVIUM_COMMON_PCI_CHIP_H */
|
Reference in New Issue
Block a user