commit | 21b20218a6128c1880eceb634101df176b56692d | [log] [tgz] |
---|---|---|
author | Anastasia Klimchuk <aklm@chromium.org> | Thu May 13 12:28:47 2021 +1000 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | 84402bf4e4ac933b023ac6e1c56f4a693ef522bc | |
parent | b91a203091fc43824bc57f3c8e2db0bcc311da59 [diff] |
programmer: Smoothen register_opaque_master() API It was impossible to register a const struct opaque_master that would point to dynamically allocated `data`. Fix that so that we won't have to create more mutable globals. Change-Id: Id3adb4cf04ae04dbe87ddb96f30871cb5f7c8ff0 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/54170 Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Original-Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72202 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>