From 693556e0ba1051548821b729b461d2f1c07609d3 Mon Sep 17 00:00:00 2001 From: Jingle Hsu Date: Fri, 3 Dec 2021 11:02:15 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59857 Tested-by: build bot (Jenkins) Reviewed-by: Johnny Lin Reviewed-by: Jonathan Zhang Reviewed-by: Felix Singer Reviewed-by: Paul Menzel --- src/soc/intel/common/pch/include/intelpch/lockdown.h | 4 ++-- src/soc/intel/common/pch/lockdown/lockdown.c | 4 ++-- 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) { -- cgit v1.2.3