aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/include
diff options
context:
space:
mode:
authorPratik Prajapati <pratikkumar.v.prajapati@intel.com>2017-08-23 17:37:43 -0700
committerAaron Durbin <adurbin@chromium.org>2017-08-25 18:24:33 +0000
commit9027e1ba2f23eb6b418f60f133da1730b7d989d3 (patch)
tree7d8c1c7a0bef6faead5be1dd76702b00ae02a0bf /src/soc/intel/cannonlake/include
parent15943df29c31d581a160612ef1757e7d24729dd7 (diff)
soc/intel/cannonlake: Init UPD params based on config
Initialize UPD params based upon config Change-Id: Ib2ee58f8432a957ef389b40f717533e4cfe774b9 Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com> Reviewed-on: https://review.coreboot.org/21175 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake/include')
-rw-r--r--src/soc/intel/cannonlake/include/soc/romstage.h8
-rw-r--r--src/soc/intel/cannonlake/include/soc/vr_config.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/romstage.h b/src/soc/intel/cannonlake/include/soc/romstage.h
index 2cdbaa57c1..9ea60ae93e 100644
--- a/src/soc/intel/cannonlake/include/soc/romstage.h
+++ b/src/soc/intel/cannonlake/include/soc/romstage.h
@@ -23,4 +23,12 @@
void mainboard_memory_init_params(FSPM_UPD *mupd);
void systemagent_early_init(void);
+/* Board type */
+enum board_type {
+ BOARD_TYPE_MOBILE = 0,
+ BOARD_TYPE_DESKTOP = 1,
+ BOARD_TYPE_ULT_ULX = 5,
+ BOARD_TYPE_SERVER = 7
+};
+
#endif /* _SOC_ROMSTAGE_H_ */
diff --git a/src/soc/intel/cannonlake/include/soc/vr_config.h b/src/soc/intel/cannonlake/include/soc/vr_config.h
index 47f659a1c0..2cd7dd93c0 100644
--- a/src/soc/intel/cannonlake/include/soc/vr_config.h
+++ b/src/soc/intel/cannonlake/include/soc/vr_config.h
@@ -66,4 +66,7 @@ enum vr_domain {
NUM_VR_DOMAINS
};
+void fill_vr_domain_config(void *params,
+ int domain, const struct vr_config *cfg);
+
#endif