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
|
|
|
|
|
2014-06-26 08:12:54 +02:00
|
|
|
chip northbridge/amd/agesa/family16kb/root_complex
|
|
|
|
device cpu_cluster 0 on
|
|
|
|
chip cpu/amd/agesa/family16kb
|
|
|
|
device lapic 0 on end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
device domain 0 on
|
|
|
|
subsystemid 0x1022 0x1410 inherit
|
2019-01-08 08:32:44 +01:00
|
|
|
chip northbridge/amd/agesa/family16kb
|
|
|
|
device pci 0.0 on end # Root Complex
|
|
|
|
device pci 1.0 on end # Internal Graphics P2P bridge 0x9804
|
|
|
|
device pci 1.1 on end # Internal Multimedia
|
|
|
|
device pci 2.0 on end # PCIe Host Bridge
|
|
|
|
device pci 2.1 off end # unused
|
|
|
|
device pci 2.2 on end # GPP0: NIC
|
|
|
|
device pci 2.3 on end # GPP1: NIC
|
|
|
|
device pci 2.4 off end # GPP2: unused
|
|
|
|
device pci 2.5 off end # GPP3: unused
|
|
|
|
end #chip northbridge/amd/agesa/family16kb
|
2014-06-26 08:12:54 +02:00
|
|
|
|
2019-01-08 08:32:44 +01:00
|
|
|
chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus
|
|
|
|
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 # SM
|
2019-01-08 08:32:44 +01:00
|
|
|
device pci 14.2 off end # HDA 0x4383
|
|
|
|
device pci 14.3 on # LPC 0x439d
|
|
|
|
chip superio/nuvoton/nct5104d
|
|
|
|
device pnp 4e.0 off end # FDC
|
|
|
|
device pnp 4e.2 on # COM1
|
|
|
|
io 0x60 = 0x3f8
|
|
|
|
irq 0x70 = 4
|
|
|
|
end
|
|
|
|
device pnp 4e.3 on # COM2
|
|
|
|
io 0x60 = 0x2f8
|
|
|
|
irq 0x70 = 3
|
|
|
|
end
|
|
|
|
device pnp 4e.7 off end # GPIO
|
|
|
|
device pnp 4e.8 off end # GPIO/WDT
|
|
|
|
device pnp 4e.f off end # GPIO
|
|
|
|
device pnp 4e.10 off end # COM3 used by port 80
|
|
|
|
device pnp 4e.11 on # COM4
|
|
|
|
io 0x60 = 0x2e8
|
|
|
|
irq 0x70 = 3
|
2014-06-26 08:12:54 +02:00
|
|
|
end
|
2019-01-08 08:32:44 +01:00
|
|
|
device pnp 4e.14 off end # PORT80
|
|
|
|
register "irq_trigger_type" = "0" # 0 edge, 1 level
|
|
|
|
end # nct5104d
|
|
|
|
end #LPC
|
|
|
|
device pci 14.7 off end # SD
|
|
|
|
device pci 16.0 on end # USB
|
|
|
|
device pci 16.2 on end # USB
|
|
|
|
end #chip southbridge/amd/agesa/hudson
|
2014-06-26 08:12:54 +02:00
|
|
|
|
2019-01-08 08:32:44 +01:00
|
|
|
chip northbridge/amd/agesa/family16kb
|
2014-06-26 08:12:54 +02: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
|
|
|
|
register "spdAddrLookup" = "
|
|
|
|
{
|
2014-06-05 19:49:04 +02:00
|
|
|
{ {0xA0, 0x00}, {0x00, 0x00}, }, // socket 0 - Channel 0 - 8-bit SPD addresses
|
2014-06-26 08:12:54 +02:00
|
|
|
}"
|
2019-01-08 08:32:44 +01:00
|
|
|
end
|
|
|
|
|
2014-06-26 08:12:54 +02:00
|
|
|
end #domain
|
|
|
|
end #northbridge/amd/agesa/family16kb/root_complex
|