diff options
Diffstat (limited to 'meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0043-PFR-Skip-counting-WDT2-event-when-EXTRST-is-set.patch')
-rw-r--r-- | meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0043-PFR-Skip-counting-WDT2-event-when-EXTRST-is-set.patch | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0043-PFR-Skip-counting-WDT2-event-when-EXTRST-is-set.patch b/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0043-PFR-Skip-counting-WDT2-event-when-EXTRST-is-set.patch index bbab94421..ad99773d1 100644 --- a/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0043-PFR-Skip-counting-WDT2-event-when-EXTRST-is-set.patch +++ b/meta-openbmc-mods/meta-ast2500/recipes-bsp/u-boot/files/0043-PFR-Skip-counting-WDT2-event-when-EXTRST-is-set.patch @@ -1,4 +1,4 @@ -From 0bae11a932e57c968394dd533bbd853ee2e9493f Mon Sep 17 00:00:00 2001 +From 94cecaf3d944ee0b2a24b5628131db92de7cbaf3 Mon Sep 17 00:00:00 2001 From: Vikram Bodireddy <vikram.bodireddy@intel.com> Date: Wed, 18 Mar 2020 21:47:11 +0530 Subject: [PATCH] PFR- Skip counting WDT2 event when EXTRST# is set @@ -14,23 +14,22 @@ Tested: Verified BMC updates 4 times and checked that the boot is not aborted at u-boot. Signed-off-by: Vikram Bodireddy <vikram.bodireddy@intel.com> - --- board/aspeed/ast-g5/ast-g5-intel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/aspeed/ast-g5/ast-g5-intel.c b/board/aspeed/ast-g5/ast-g5-intel.c -index 2d260a7759..1d426db659 100644 +index 511bf32f94ac..66423d9b55a8 100644 --- a/board/aspeed/ast-g5/ast-g5-intel.c +++ b/board/aspeed/ast-g5/ast-g5-intel.c @@ -137,6 +137,7 @@ static const GPIOValue gpio_table[] = { #define HOST_SERIAL_B_HIGH_SPEED (1 << 1) - #define WATCHDOG_RESET_BIT 0x8 -+#define EXTRST_RESET_BIT 0x2 + #define WATCHDOG_RESET_BIT BIT(3) ++#define EXTRST_RESET_BIT BIT(1) + #define POWERON_RESET_BIT BIT(0) #define BOOT_FAILURE_LIMIT 0x3 - #define COOPER_CITY_BOARD_ID 40 @@ -551,7 +552,8 @@ void ast_g5_intel_late_init(void) boot_failures = get_boot_failures(); @@ -41,3 +40,6 @@ index 2d260a7759..1d426db659 100644 set_boot_failures(boot_failures + 1); else set_boot_failures(0); +-- +2.17.1 + |