1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

Extract usbdev declarations to a separate header.

This is a simple refactor that aims to simplify maintenance and to
clarify file dependency inside the project.
Currently, most of the declarations reside in programmer.h making it
difficult to really understand file dependency.

Change-Id: I9d819ea1c5bd51289d02189c1dff367ce6d25617
Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/84982
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
Antonio Vázquez Blanco
2024-11-03 18:18:43 +01:00
committed by Anastasia Klimchuk
parent 3a1c0d0e85
commit 69a03a3ab1
6 changed files with 34 additions and 11 deletions

View File

@ -35,6 +35,7 @@
#include <libusb.h>
#include "programmer.h"
#include "spi.h"
#include "usbdev.h"
/* Bit positions for each pin. */
#define DEVELOPERBOX_SPI_SCK 0