ec/dasharo: Add dependancy to EC_DASHARO_EC_FLASH_SIZE

EC_DASHARO_EC_FLASH_SIZE is set regardless of whether the dasharo
EC is used. Add a dependency so it is only set when needed.

Change-Id: Icce0c7a31c89cea5e7bf89770dedbf82ff56170b
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86109
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Kopeć <michal.kopec@3mdeb.com>
This commit is contained in:
Sean Rhodes 2025-01-22 13:09:20 +00:00
commit ee01cc1ecc

View file

@ -27,5 +27,6 @@ config EC_DASHARO_EC_UPDATE_FILE
default "ec.rom"
config EC_DASHARO_EC_FLASH_SIZE
depends on EC_DASHARO_EC
hex
default 0x20000