They're listed in AUTHORS and often incorrect anyway, for example: - What's a "Copyright $year-present"? - Which incarnation of Google (Inc, LLC, ...) is the current copyright holder? - People sometimes have their editor auto-add themselves to files even though they only deleted stuff - Or they let the editor automatically update the copyright year, because why not? - Who is the copyright holder "The coreboot project Authors"? - Or "Generated Code"? Sidestep all these issues by simply not putting these notices in individual files, let's list all copyright holders in AUTHORS instead and use the git history to deal with the rest. Change-Id: I57fc98788bb47df16d6aedd0f0701e9991801743 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39606 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#define FAN_INPUT_INTERNAL_DIODE 0
|
|
#define FAN_INPUT_TEMP0 1
|
|
#define FAN_INPUT_TEMP1 2
|
|
#define FAN_INPUT_TEMP2 3
|
|
#define FAN_INPUT_TEMP3 4
|
|
#define FAN_INPUT_TEMP0_FILTER 5
|
|
#define FAN_INPUT_ZERO 6
|
|
#define FAN_INPUT_DISABLED 7
|
|
|
|
#define FAN_AUTOMODE (1 << 0)
|
|
#define FAN_LINEARMODE (1 << 1)
|
|
#define FAN_STEPMODE ~(1 << 1)
|
|
#define FAN_POLARITY_HIGH (1 << 2)
|
|
#define FAN_POLARITY_LOW ~(1 << 2)
|
|
|
|
/* Normally, 4-wire fans runs at 25KHz and 3-wire fans runs at 100Hz */
|
|
#define FREQ_28KHZ 0x0
|
|
#define FREQ_25KHZ 0x1
|
|
#define FREQ_23KHZ 0x2
|
|
#define FREQ_21KHZ 0x3
|
|
#define FREQ_29KHZ 0x4
|
|
#define FREQ_18KHZ 0x5
|
|
#define FREQ_100HZ 0xF7
|
|
#define FREQ_87HZ 0xF8
|
|
#define FREQ_58HZ 0xF9
|
|
#define FREQ_44HZ 0xFA
|
|
#define FREQ_35HZ 0xFB
|
|
#define FREQ_29HZ 0xFC
|
|
#define FREQ_22HZ 0xFD
|
|
#define FREQ_14HZ 0xFE
|
|
#define FREQ_11HZ 0xFF
|