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
|
2013-04-29 18:00:57 +02:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
entries
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# Status Register A
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# Status Register B
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# Status Register C
|
|
|
|
#96 4 r 0 status_c_rsvd
|
|
|
|
#100 1 r 0 uf_flag
|
|
|
|
#101 1 r 0 af_flag
|
|
|
|
#102 1 r 0 pf_flag
|
|
|
|
#103 1 r 0 irqf_flag
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# Status Register D
|
|
|
|
#104 7 r 0 status_d_rsvd
|
|
|
|
#111 1 r 0 valid_cmos_ram
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# Diagnostic Status Register
|
|
|
|
#112 8 r 0 diag_rsvd1
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
0 120 r 0 reserved_memory
|
|
|
|
#120 264 r 0 unused
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# RTC_BOOT_BYTE (coreboot hardcoded)
|
|
|
|
384 1 e 4 boot_option
|
2016-08-11 22:45:55 +02:00
|
|
|
388 4 h 0 reboot_counter
|
2013-04-29 18:00:57 +02:00
|
|
|
#390 2 r 0 unused?
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
# coreboot config options: console
|
2017-05-12 21:16:41 +02:00
|
|
|
#392 3 r 0 unused
|
2013-04-29 18:00:57 +02:00
|
|
|
395 4 e 6 debug_level
|
|
|
|
#399 1 r 0 unused
|
|
|
|
|
|
|
|
# coreboot config options: cpu
|
|
|
|
400 1 e 2 hyper_threading
|
2014-08-03 01:59:38 +02:00
|
|
|
401 3 e 12 gfx_uma_size
|
|
|
|
|
2019-02-13 15:16:02 +01:00
|
|
|
#404 3 r 0 unused
|
2013-04-29 18:00:57 +02:00
|
|
|
|
|
|
|
# coreboot config options: southbridge
|
2019-02-13 15:16:02 +01:00
|
|
|
407 1 e 1 nmi
|
|
|
|
408 2 e 7 power_on_after_fail
|
|
|
|
410 2 e 11 sata_mode
|
2013-04-29 18:00:57 +02:00
|
|
|
|
2013-07-12 14:47:50 +02:00
|
|
|
# coreboot config options: additional mainboard options
|
2017-02-08 18:12:31 +01:00
|
|
|
412 4 e 10 systemp_type
|
|
|
|
416 7 h 0 fan1_min
|
|
|
|
424 7 h 0 fan1_max
|
|
|
|
432 7 h 0 fan2_min
|
|
|
|
440 7 h 0 fan2_max
|
2013-07-12 14:47:50 +02:00
|
|
|
|
2013-04-29 18:00:57 +02:00
|
|
|
# coreboot config options: bootloader
|
2013-06-25 11:14:03 +02:00
|
|
|
448 64 r 0 write_protected_by_bios
|
|
|
|
512 328 s 0 boot_devices
|
2013-04-29 18:00:57 +02:00
|
|
|
840 8 h 0 boot_default
|
|
|
|
848 1 e 9 cmos_defaults_loaded
|
2013-08-15 14:57:09 +02:00
|
|
|
849 1 e 2 ethernet1
|
|
|
|
850 1 e 2 ethernet2
|
|
|
|
#851 5 r 0 unused
|
2013-04-29 18:00:57 +02:00
|
|
|
|
|
|
|
# coreboot config options: mainboard specific options
|
|
|
|
856 2 e 8 fan1_mode
|
|
|
|
858 2 r 0 fan1_reserved
|
|
|
|
860 2 e 8 fan2_mode
|
|
|
|
862 2 r 0 fan2_reserved
|
|
|
|
864 16 h 0 fan1_target
|
|
|
|
880 16 h 0 fan2_target
|
|
|
|
|
|
|
|
# SandyBridge MRC Scrambler Seed values
|
|
|
|
896 32 r 0 mrc_scrambler_seed
|
|
|
|
928 32 r 0 mrc_scrambler_seed_s3
|
|
|
|
960 16 r 0 mrc_scrambler_seed_chk
|
|
|
|
|
|
|
|
# coreboot config options: check sums
|
|
|
|
984 16 h 0 check_sum
|
|
|
|
#1000 24 r 0 amd_reserved
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
|
|
|
|
enumerations
|
|
|
|
|
|
|
|
#ID value text
|
|
|
|
1 0 Disable
|
|
|
|
1 1 Enable
|
|
|
|
2 0 Enable
|
|
|
|
2 1 Disable
|
|
|
|
4 0 Fallback
|
|
|
|
4 1 Normal
|
2018-01-09 16:51:33 +01:00
|
|
|
6 0 Emergency
|
|
|
|
6 1 Alert
|
|
|
|
6 2 Critical
|
|
|
|
6 3 Error
|
|
|
|
6 4 Warning
|
|
|
|
6 5 Notice
|
|
|
|
6 6 Info
|
|
|
|
6 7 Debug
|
|
|
|
6 8 Spew
|
2013-04-29 18:00:57 +02:00
|
|
|
7 0 Disable
|
|
|
|
7 1 Enable
|
|
|
|
7 2 Keep
|
|
|
|
8 0 Auto
|
|
|
|
8 1 PWM
|
|
|
|
8 2 Speed
|
|
|
|
8 3 Thermal
|
|
|
|
9 0 No
|
|
|
|
9 1 Yes
|
2013-07-12 14:47:50 +02:00
|
|
|
10 0 None
|
|
|
|
10 1 AMD
|
|
|
|
10 2 LM75@90
|
|
|
|
10 3 GPIO16
|
|
|
|
10 4 LM75@9e
|
2014-01-11 07:46:50 +01:00
|
|
|
11 0 AHCI
|
|
|
|
11 1 Compatible
|
2019-02-13 15:16:02 +01:00
|
|
|
11 2 Legacy
|
2014-08-03 01:59:38 +02:00
|
|
|
12 0 32M
|
|
|
|
12 1 64M
|
2018-06-24 10:02:49 +02:00
|
|
|
12 2 96M
|
|
|
|
12 3 128M
|
|
|
|
12 4 160M
|
|
|
|
12 5 192M
|
|
|
|
12 6 224M
|
2014-08-03 01:59:38 +02:00
|
|
|
|
2013-04-29 18:00:57 +02:00
|
|
|
# -----------------------------------------------------------------
|
|
|
|
checksums
|
|
|
|
|
2013-07-15 12:31:21 +02:00
|
|
|
checksum 392 895 984
|