src/: Replace GPL boilerplate with SPDX headers
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
Change-Id: Ia01908544f4b92a2e06ea621eca548e582728280
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41178
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-08 22:50:46 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2012-08-02 12:36:36 +02:00
|
|
|
chip northbridge/amd/agesa/family15tn/root_complex
|
2013-01-17 03:18:09 +01:00
|
|
|
|
2013-02-13 00:20:54 +01:00
|
|
|
device cpu_cluster 0 on
|
2013-01-17 03:18:09 +01:00
|
|
|
chip cpu/amd/agesa/family15tn
|
|
|
|
device lapic 10 on end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-02-12 23:17:15 +01:00
|
|
|
device domain 0 on
|
2013-01-17 03:18:09 +01:00
|
|
|
subsystemid 0x1022 0x1410 inherit
|
2019-01-08 08:32:44 +01:00
|
|
|
chip northbridge/amd/agesa/family15tn
|
|
|
|
device pci 0.0 on end # Root Complex
|
|
|
|
device pci 1.0 on end # Internal Graphics P2P bridge 0x99XX
|
|
|
|
device pci 1.1 on end # Internal Multimedia
|
|
|
|
device pci 2.0 on end # PCIE SLOT0 x8
|
|
|
|
device pci 3.0 off end
|
|
|
|
device pci 4.0 on end # LAN
|
|
|
|
device pci 5.0 on end # PCIE MINI0
|
|
|
|
device pci 6.0 on end # PCIE MINI1
|
|
|
|
device pci 7.0 off end
|
|
|
|
device pci 8.0 off end # NB/SB Link P2P bridge
|
|
|
|
end #chip northbridge/amd/agesa/family15tn
|
2013-01-17 03:18:09 +01:00
|
|
|
|
2019-01-08 08:32:44 +01:00
|
|
|
chip southbridge/amd/agesa/hudson
|
|
|
|
device pci 10.0 on end # XHCI HC0
|
|
|
|
device pci 10.1 on end # XHCI HC1
|
|
|
|
device pci 11.0 on end # SATA
|
|
|
|
device pci 12.0 on end # USB
|
|
|
|
device pci 12.2 on end # USB
|
|
|
|
device pci 13.0 on end # USB
|
|
|
|
device pci 13.2 on end # USB
|
2019-08-26 13:54:50 +02:00
|
|
|
device pci 14.0 on end # SMBUS
|
2019-01-08 08:32:44 +01:00
|
|
|
device pci 14.1 on end # IDE 0x439c
|
|
|
|
device pci 14.2 on end # HDA 0x4383
|
|
|
|
device pci 14.3 on # LPC 0x439d
|
|
|
|
chip superio/smsc/lpc47n217
|
|
|
|
device pnp 2e.3 off # Parallel
|
|
|
|
io 0x60 = 0x378
|
|
|
|
irq 0x70 = 7
|
|
|
|
end
|
|
|
|
device pnp 2e.4 on # Com1
|
|
|
|
io 0x60 = 0x3f8
|
|
|
|
irq 0x70 = 4
|
2013-01-17 03:18:09 +01:00
|
|
|
end
|
2019-01-08 08:32:44 +01:00
|
|
|
device pnp 2e.5 off # Com2
|
|
|
|
io 0x60 = 0x2f8
|
|
|
|
irq 0x70 = 3
|
2013-01-17 03:18:09 +01:00
|
|
|
end
|
2019-01-08 08:32:44 +01:00
|
|
|
end #chip superio/smsc/lpc47n217
|
|
|
|
end #device pci 14.3 # LPC
|
|
|
|
device pci 14.4 on end # PCI 0x4384 # PCI-b conflict with GPIO.
|
|
|
|
device pci 14.5 on end # USB 2
|
|
|
|
device pci 14.6 off end # Gec
|
|
|
|
device pci 14.7 on end # SD
|
|
|
|
device pci 15.0 off end # PCIe 0
|
|
|
|
device pci 15.1 off end # PCIe 1
|
|
|
|
device pci 15.2 off end # PCIe 2
|
|
|
|
device pci 15.3 off end # PCIe 3
|
|
|
|
end #chip southbridge/amd/agesa/hudson
|
2013-01-17 03:18:09 +01:00
|
|
|
|
2019-01-08 08:32:44 +01:00
|
|
|
chip northbridge/amd/agesa/family15tn
|
2013-01-17 03:18:09 +01:00
|
|
|
device pci 18.0 on end
|
|
|
|
device pci 18.1 on end
|
|
|
|
device pci 18.2 on end
|
|
|
|
device pci 18.3 on end
|
|
|
|
device pci 18.4 on end
|
|
|
|
device pci 18.5 on end
|
|
|
|
|
2013-01-20 18:38:58 +01:00
|
|
|
register "spdAddrLookup" = "
|
|
|
|
{
|
|
|
|
{ {0xA0, 0x00}, {0xA2, 0x00}, }, // socket 0 - Channel 0 & 1 - 8-bit SPD addresses
|
|
|
|
{ {0x00, 0x00}, {0x00, 0x00}, }, // socket 1 - Channel 0 & 1 - 8-bit SPD addresses
|
|
|
|
}"
|
2019-01-08 08:32:44 +01:00
|
|
|
end
|
2013-01-20 18:38:58 +01:00
|
|
|
|
2013-02-12 23:17:15 +01:00
|
|
|
end #domain
|
2013-01-17 03:18:09 +01:00
|
|
|
end #chip northbridge/amd/agesa/family15tn/root_complex
|