diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-08-12 15:42:29 +1000 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-09-07 02:57:20 +0000 |
commit | 162b997f2fb36d44640c6ca97baee328550c0869 (patch) | |
tree | 40d0503748987055f1d29c68e9c7464ef7570e79 /internal.c | |
parent | a20ceffa352f790f14361211a1c9931475ec7ac7 (diff) | |
download | flashrom-162b997f2fb36d44640c6ca97baee328550c0869.tar.gz flashrom-162b997f2fb36d44640c6ca97baee328550c0869.tar.bz2 flashrom-162b997f2fb36d44640c6ca97baee328550c0869.zip |
tree: plumb programmer_cfg into chipset_flash_enable()
Change-Id: I963c674d212ce791ee155020fa97bcf26cefca0c
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66673
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'internal.c')
-rw-r--r-- | internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.c b/internal.c index 18ac088a1..426730fda 100644 --- a/internal.c +++ b/internal.c @@ -282,7 +282,7 @@ static int internal_init(const struct programmer_cfg *cfg) /* try to enable it. Failure IS an option, since not all motherboards * really need this to be done, etc., etc. */ - ret = chipset_flash_enable(); + ret = chipset_flash_enable(cfg); if (ret == -2) { msg_perr("WARNING: No chipset found. Flash detection " "will most likely fail.\n"); |