diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-09-07 10:47:45 +1000 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-09-27 04:30:43 +0000 |
commit | 4b503bee39e8761d7c4ff910562448c488da2b7e (patch) | |
tree | 607c6f60053457adf49344f4ab77f203ed4bde54 /include | |
parent | 3d7905178da44a8908ee3724de527e0af3d50704 (diff) | |
download | flashrom-4b503bee39e8761d7c4ff910562448c488da2b7e.tar.gz flashrom-4b503bee39e8761d7c4ff910562448c488da2b7e.tar.bz2 flashrom-4b503bee39e8761d7c4ff910562448c488da2b7e.zip |
drivers/: Make 'internal_delay' the default unless defined
Drop the explicit need to specify the default 'internal_delay'
callback function pointer in the programmer_entry struct.
This is a reasonable default for every other driver in the
tree with only the two exceptions of ch341a_spi.c and serprog.c.
Thus this simplifies driver development.
Change-Id: I17460bc2c0aebcbb48c8dfa052b260991525cc49
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/67391
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions