ec/dasharo/ec: Gate options behind EC_DASHARO_EC
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ć <michal.kopec@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86698 Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
e30d99f994
commit
59aa4cab1e
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue