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

Move SPI declarations from flash.h to spi.h

As a consecuence, some of the files that used to include flash.h no
longer need to do so. For this reason, flash.h includes are also deleted
in this commit.

Change-Id: I794a71536a3b85fde39f83c802fa0f5dd8d428e0
Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/85539
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: David Reguera Garcia (Dreg) <regueragarciadavid@gmail.com>
Reviewed-by: Matti Finder <matti.finder@gmail.com>
This commit is contained in:
Antonio Vázquez Blanco
2024-12-09 10:37:28 +01:00
committed by Anastasia Klimchuk
parent 971ea27d16
commit ce825859c4
31 changed files with 18 additions and 42 deletions

2
rpmc.c
View File

@ -15,7 +15,6 @@
*/
#include "rpmc.h"
#include "flash.h"
#include <stdint.h>
#include <stddef.h>
#include <unistd.h>
@ -23,6 +22,7 @@
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <string.h>
#include "spi.h"
// OP1 commands
#define RPMC_WRITE_ROOT_KEY_MSG_LENGTH (RPMC_OP1_MSG_HEADER_LENGTH + RPMC_HMAC_KEY_LENGTH + RPMC_TRUNCATED_SIG_LENGTH)