summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch')
-rw-r--r--meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch b/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch
index 456763398..eea9e035a 100644
--- a/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch
+++ b/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0038-Increase-default-fan-speed-for-cooper-city.patch
@@ -1,4 +1,4 @@
-From d248ebf5bddd0c0bc6f7e287867b651d0c17aafe Mon Sep 17 00:00:00 2001
+From 5861b964317bb52defb30215efff52fab5e11df4 Mon Sep 17 00:00:00 2001
From: James Feist <james.feist@linux.intel.com>
Date: Thu, 24 Oct 2019 14:39:22 -0700
Subject: [PATCH] Increase default fan speed for cooper city
@@ -9,14 +9,13 @@ as it has high core count CPUS.
Tested: In uboot fans appeared to run faster
Signed-off-by: James Feist <james.feist@linux.intel.com>
-
---
board/aspeed/ast-g5/ast-g5-gpio.h | 6 ++++
board/aspeed/ast-g5/ast-g5-intel.c | 46 ++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/board/aspeed/ast-g5/ast-g5-gpio.h b/board/aspeed/ast-g5/ast-g5-gpio.h
-index 8ccf437346..7f0c06d88f 100644
+index 8ccf4373460b..7f0c06d88f5a 100644
--- a/board/aspeed/ast-g5/ast-g5-gpio.h
+++ b/board/aspeed/ast-g5/ast-g5-gpio.h
@@ -71,9 +71,15 @@
@@ -36,7 +35,7 @@ index 8ccf437346..7f0c06d88f 100644
// GPIO Configuration Register bits
#define GPCFG_EVENT_TO_SMI (1 << 7) // 1 == enabled
diff --git a/board/aspeed/ast-g5/ast-g5-intel.c b/board/aspeed/ast-g5/ast-g5-intel.c
-index e05a6da468..4b017269f9 100644
+index 5536efde1d43..3a0e15eaac82 100644
--- a/board/aspeed/ast-g5/ast-g5-intel.c
+++ b/board/aspeed/ast-g5/ast-g5-intel.c
@@ -25,6 +25,12 @@ enum gpio_names {
@@ -74,7 +73,7 @@ index e05a6da468..4b017269f9 100644
};
#define LPC_SNOOP_ADDR 0x80
-@@ -117,6 +138,8 @@ static const GPIOValue gpio_table[] = {
+@@ -118,6 +139,8 @@ static const GPIOValue gpio_table[] = {
#define POWERON_RESET_BIT BIT(0)
#define BOOT_FAILURE_LIMIT 0x3
@@ -118,7 +117,7 @@ index e05a6da468..4b017269f9 100644
static inline uint32_t ast_scu_read(uint32_t reg)
-@@ -606,6 +650,8 @@ void ast_g5_intel(void)
+@@ -626,6 +670,8 @@ void ast_g5_intel(void)
id_led_control(GPIO_GREEN_LED, EIDLED_Off);
id_led_control(GPIO_AMBER_LED, EIDLED_On);
kcs_init();
@@ -127,3 +126,6 @@ index e05a6da468..4b017269f9 100644
/* TODO: need to stop the booting here. */
}
}
+--
+2.17.1
+