1
0

Merge pull request #234 from zizztux/fix_export_mmio

Add address map entries for exported mmio port.
This commit is contained in:
Howard Mao 2016-08-30 15:58:01 -07:00 committed by GitHub
commit cf1bd90a70

View File

@ -130,7 +130,7 @@ class BasePlatformConfig extends Config (
case NExtMMIOAXIChannels => 0 case NExtMMIOAXIChannels => 0
case NExtMMIOAHBChannels => 0 case NExtMMIOAHBChannels => 0
case NExtMMIOTLChannels => 0 case NExtMMIOTLChannels => 0
case ExportMMIOPort => site(ExtraDevices).addrMapEntries.size > 0 case ExportMMIOPort => site(ExtIOAddrMapEntries).size > 0
case AsyncBusChannels => false case AsyncBusChannels => false
case NExtBusAXIChannels => 0 case NExtBusAXIChannels => 0
case NExternalClients => (if (site(NExtBusAXIChannels) > 0) 1 else 0) + case NExternalClients => (if (site(NExtBusAXIChannels) > 0) 1 else 0) +