From 59aa4cab1eeea7cb3d805804e577c98dea4eae61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Mon, 3 Mar 2025 17:02:45 +0100 Subject: [PATCH] ec/dasharo/ec: Gate options behind EC_DASHARO_EC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In CB:86109 it was reported that some options incorrectly don't depend on EC_DASHARO_EC. Remove `depends on` from all options and instead put everything behind an `if EC_DASHARO_EC` to ensure options don't cause issues with boards not using Dasharo EC. Change-Id: If6303bf7f155749bfcf9145fb93b018247350009 Signed-off-by: Michał Kopeć Reviewed-on: https://review.coreboot.org/c/coreboot/+/86698 Reviewed-by: Michał Żygowski Reviewed-by: Sean Rhodes Tested-by: build bot (Jenkins) --- src/ec/dasharo/ec/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ec/dasharo/ec/Kconfig b/src/ec/dasharo/ec/Kconfig index a0691046ff..87c514e459 100644 --- a/src/ec/dasharo/ec/Kconfig +++ b/src/ec/dasharo/ec/Kconfig @@ -6,18 +6,17 @@ config EC_DASHARO_EC help Dasharo EC +if EC_DASHARO_EC + config EC_DASHARO_EC_BAT_THRESHOLDS - depends on EC_DASHARO_EC bool default y config EC_DASHARO_EC_DGPU - depends on EC_DASHARO_EC bool default n config EC_DASHARO_EC_UPDATE - depends on EC_DASHARO_EC bool "Update the embedded controller firmware" default n @@ -27,6 +26,7 @@ config EC_DASHARO_EC_UPDATE_FILE default "ec.rom" config EC_DASHARO_EC_FLASH_SIZE - depends on EC_DASHARO_EC hex default 0x20000 + +endif # EC_DASHARO_EC