summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/chip.h
diff options
context:
space:
mode:
authorSowmya Aralguppe <sowmya.aralguppe@intel.com>2024-08-02 22:29:33 +0530
committerKarthik Ramasubramanian <kramasub@google.com>2024-09-13 22:47:55 +0000
commitc3f9c4a511065fbb2ddadd16c55a15d7ad0b50b3 (patch)
tree5a83ac65cd44cfd4fef050afc6022500a4bc2ffe /src/soc/intel/alderlake/chip.h
parent73c23aa7278f3ea0cdad35591874c958c76de6ca (diff)
mb/google/brox: Fix booting to kernel without battery
When battery is disconnected and only adaptor is connected higher PL2 power draw causes cpu brown out and system does not boot to kernel. To avoid this set Boot frequency UPD to 1. Reduce PL4 value to overcome power spikes from SoC during boot. Remove Psys implementation as it impacts active state platform performance. BUG=b:335046538,b:329722827 BRANCH=None TEST=Able to successfully boot on 3 different Brox proto2 SKU1 and SKU2 boards with 65W, 45W and 30W adaptors for 3 iterations of cold boot. Change-Id: I58e136c607ea9290ecac0cee453d6632760a6433 Signed-off-by: Sowmya Aralguppe <sowmya.aralguppe@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83752 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/soc/intel/alderlake/chip.h')
-rw-r--r--src/soc/intel/alderlake/chip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h
index c3034ca2a3..040b3d131d 100644
--- a/src/soc/intel/alderlake/chip.h
+++ b/src/soc/intel/alderlake/chip.h
@@ -42,6 +42,13 @@ struct ibecc_config {
/* add ECC error injection if needed by a mainboard */
};
+/* FSPM UPD for setting the boot frequency */
+enum fspm_boot_freq {
+ MAX_BATTERY_PERFORMANCE,
+ MAX_NONTURBO_PERFORMANCE,
+ TURBO_PERFORMANCE
+};
+
/* Types of different SKUs */
enum soc_intel_alderlake_power_limits {
ADL_P_142_242_282_15W_CORE,