mirror of
https://github.com/torvalds/linux.git
synced 2025-11-30 23:16:01 +07:00
NTB: epf: Add Renesas rcar support
Add virtual non-transparent bridge support for Renesas rcar platform Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
This commit is contained in:
@@ -747,6 +747,16 @@ static const enum pci_barno mx8_map[NTB_BAR_NUM] = {
|
||||
[BAR_MW4] = NO_BAR
|
||||
};
|
||||
|
||||
static const enum pci_barno rcar_barno[NTB_BAR_NUM] = {
|
||||
[BAR_CONFIG] = BAR_0,
|
||||
[BAR_PEER_SPAD] = BAR_0,
|
||||
[BAR_DB] = BAR_4,
|
||||
[BAR_MW1] = BAR_2,
|
||||
[BAR_MW2] = NO_BAR,
|
||||
[BAR_MW3] = NO_BAR,
|
||||
[BAR_MW4] = NO_BAR,
|
||||
};
|
||||
|
||||
static const struct pci_device_id ntb_epf_pci_tbl[] = {
|
||||
{
|
||||
PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J721E),
|
||||
@@ -758,6 +768,11 @@ static const struct pci_device_id ntb_epf_pci_tbl[] = {
|
||||
.class = PCI_CLASS_MEMORY_RAM << 8, .class_mask = 0xffff00,
|
||||
.driver_data = (kernel_ulong_t)mx8_map,
|
||||
},
|
||||
{
|
||||
PCI_DEVICE(PCI_VENDOR_ID_RENESAS, 0x0030),
|
||||
.class = PCI_CLASS_MEMORY_RAM << 8, .class_mask = 0xffff00,
|
||||
.driver_data = (kernel_ulong_t)rcar_barno,
|
||||
},
|
||||
{ },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user