summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/pch
diff options
context:
space:
mode:
authorJingle Hsu <jingle_hsu@wiwynn.com>2021-12-03 11:02:15 +0800
committerFelix Singer <felixsinger@posteo.net>2021-12-08 22:29:52 +0000
commit693556e0ba1051548821b729b461d2f1c07609d3 (patch)
treeee3b34cd2cc6192e2b8ccaa2a759e5c0aa6d5334 /src/soc/intel/common/pch
parent3c1ee4b9acaad45a96e3b11c66d144fa0f791a41 (diff)
soc/intel/common/pch: Fix return value documentation for CHIPSET_LOCKDOWN
Fixed according to the declaration in soc/intel/common/block/include/intelblocks/cfg.h. Change-Id: I50dbc00806fefda8f4dac8bfa21dc714a9504566 Signed-off-by: Jingle Hsu <jingle_hsu@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59857 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Johnny Lin <Johnny_Lin@wiwynn.com> Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/soc/intel/common/pch')
-rw-r--r--src/soc/intel/common/pch/include/intelpch/lockdown.h4
-rw-r--r--src/soc/intel/common/pch/lockdown/lockdown.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/common/pch/include/intelpch/lockdown.h b/src/soc/intel/common/pch/include/intelpch/lockdown.h
index 22d7147764..b5aba06fe0 100644
--- a/src/soc/intel/common/pch/include/intelpch/lockdown.h
+++ b/src/soc/intel/common/pch/include/intelpch/lockdown.h
@@ -7,8 +7,8 @@
* This function will get lockdown config specific to soc.
*
* Return values:
- * 0 = CHIPSET_LOCKDOWN_FSP = use FSP's lockdown functionality to lockdown IPs
- * 1 = CHIPSET_LOCKDOWN_COREBOOT = Use coreboot to lockdown IPs
+ * 0 = CHIPSET_LOCKDOWN_COREBOOT = Use coreboot to lockdown IPs
+ * 1 = CHIPSET_LOCKDOWN_FSP = use FSP's lockdown functionality to lockdown IPs
*/
int get_lockdown_config(void);
diff --git a/src/soc/intel/common/pch/lockdown/lockdown.c b/src/soc/intel/common/pch/lockdown/lockdown.c
index 374e3e67be..5ab0611968 100644
--- a/src/soc/intel/common/pch/lockdown/lockdown.c
+++ b/src/soc/intel/common/pch/lockdown/lockdown.c
@@ -14,8 +14,8 @@
* This function will get lockdown config specific to soc.
*
* Return values:
- * 0 = CHIPSET_LOCKDOWN_FSP = use FSP's lockdown functionality to lockdown IPs
- * 1 = CHIPSET_LOCKDOWN_COREBOOT = Use coreboot to lockdown IPs
+ * 0 = CHIPSET_LOCKDOWN_COREBOOT = Use coreboot to lockdown IPs
+ * 1 = CHIPSET_LOCKDOWN_FSP = use FSP's lockdown functionality to lockdown IPs
*/
int get_lockdown_config(void)
{