commit | 03f3a6d13e8bd62ef84ef6a4a6f21d6fb8b2a7b8 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Tue May 11 17:53:34 2021 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | 0fc0ec55b781d30d58a9b2fbc4b2e0c1ec83aab2 | |
parent | 5e08e3e829e3f736e18cef7b8f4a8929c9e06257 [diff] |
programmer: Make use of new register_spi_master() API Pass pointers to dynamically allocated data to register_spi_master(). This way we can avoid some mutable globals. flashrom-stable: Updated `dirtyjtag_spi` and `dediprog` that were added/refactored earlier. Change-Id: Id7821f1db3284b7b5b3d0abfd878b979c53870a1 Signed-off-by: Nico Huber <nico.h@gmx.de> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/54067 Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72200 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>