summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-07-29 14:16:54 -0600
committerMartin Roth <martinroth@google.com>2016-07-31 18:24:54 +0200
commit5ae61d94e70971b67a84d4b3179eca616dd19089 (patch)
tree1c1a4cc5ffa44a26655d0cdf8b6a47a4faa0d017 /src
parent4c72d3612b194fe0c85575fc3445729650f77ecf (diff)
downloadcoreboot-5ae61d94e70971b67a84d4b3179eca616dd19089.tar.xz
Update degree symbol to utf-8 encoding in comments
Almost all of the places where we have the degree symbol '°', it's encoded as 0xc2 0xb0 (utf-8 encoding). There are a few places where it is encoded as just a high ascii byte: 0xb0. Editors that support the high ascii 0xb0 seem to support the utf-8 0xc2 0xb0 encoding as well, but the opposite does not seem to be true. Change the high-ascii degree symbols to utf-8 encoding. Change-Id: I3d06289b802f45e938dc72b4c437fca56235b62b Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/15978 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/ibase/mb899/cmos.layout2
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/cmos.layout2
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/mainboard.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/ibase/mb899/cmos.layout b/src/mainboard/ibase/mb899/cmos.layout
index 1ef43610f7..5a28952c0a 100644
--- a/src/mainboard/ibase/mb899/cmos.layout
+++ b/src/mainboard/ibase/mb899/cmos.layout
@@ -142,7 +142,7 @@ enumerations
9 14 1527
9 15 1406
#
-# Temperature (°C/°F)
+# Temperature (°C/°F)
#10 0 30/86
#10 1 33/91
#10 2 36/96
diff --git a/src/mainboard/siemens/sitemp_g1p1/cmos.layout b/src/mainboard/siemens/sitemp_g1p1/cmos.layout
index 18c0a6f51e..acaa674572 100644
--- a/src/mainboard/siemens/sitemp_g1p1/cmos.layout
+++ b/src/mainboard/siemens/sitemp_g1p1/cmos.layout
@@ -132,7 +132,7 @@ enumerations
# CPU/Chassis FAN Control: polarity
13 0 Active_high
13 1 Active_low
-# Temperature °C
+# Temperature °C
14 0 30
14 1 35
14 2 40
diff --git a/src/mainboard/siemens/sitemp_g1p1/mainboard.c b/src/mainboard/siemens/sitemp_g1p1/mainboard.c
index 606e68c05b..810f7e01fd 100644
--- a/src/mainboard/siemens/sitemp_g1p1/mainboard.c
+++ b/src/mainboard/siemens/sitemp_g1p1/mainboard.c
@@ -362,16 +362,16 @@ static const char * adt7475_detect( void ) {
const struct fan_control cpu_fan_control_defaults = {
.enable = 0, // disable by default
.polarity = 0, // high by default
- .t_min = 3, // default = 45°C
- .t_max = 7, // 65°C
+ .t_min = 3, // default = 45°C
+ .t_max = 7, // 65°C
.pwm_min = 1, // default dutycycle = 30%
.pwm_max = 13, // 90%
};
const struct fan_control case_fan_control_defaults = {
.enable = 0, // disable by default
.polarity = 0, // high by default
- .t_min = 2, // default = 40°C
- .t_max = 8, // 70°C
+ .t_min = 2, // default = 40°C
+ .t_max = 8, // 70°C
.pwm_min = 0, // default dutycycle = 25%
.pwm_max = 13, // 90%
};