commit | 5e08e3e829e3f736e18cef7b8f4a8929c9e06257 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Tue May 11 17:38:14 2021 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | cfe9483275582e2ff2a50628824cf8e842c1feef | |
parent | 6c33185c81f4aab0d048be7c4b68dca1a91800c2 [diff] |
programmer: Smoothen register_spi_master() API It was impossible to register a const struct spi_master that would point to dynamically allocated `data`. Fix that so that we won't have to create more mutable globals. Change-Id: I0c753b3db050fb87d4bbe2301a7ead854f28456f Signed-off-by: Nico Huber <nico.h@gmx.de> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/54066 Original-Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72179 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>