commit | b91a203091fc43824bc57f3c8e2db0bcc311da59 | [log] [tgz] |
---|---|---|
author | Anastasia Klimchuk <aklm@chromium.org> | Fri May 21 09:40:58 2021 +1000 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | 8fffff062afae6b9ce853c69a6636bc33bcabbbc | |
parent | 03f3a6d13e8bd62ef84ef6a4a6f21d6fb8b2a7b8 [diff] |
programmer: Smoothen register_par_master API It was impossible to register a const struct par_master that would point to dynamically allocated `data`. Fix that so that we won't have to create more mutable globals. Change-Id: I95bc92f6c54c5bcdac1c522ca87054aaffed0f40 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/54169 Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72201 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>