From 5ae61d94e70971b67a84d4b3179eca616dd19089 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 29 Jul 2016 14:16:54 -0600 Subject: Update degree symbol to utf-8 encoding in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/15978 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Alexander Couzens Reviewed-by: Paul Menzel --- src/mainboard/ibase/mb899/cmos.layout | 2 +- src/mainboard/siemens/sitemp_g1p1/cmos.layout | 2 +- src/mainboard/siemens/sitemp_g1p1/mainboard.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mainboard') 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% }; -- cgit v1.2.3