diff options
author | Martin Roth <martin@coreboot.org> | 2022-02-25 17:28:04 -0700 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2022-02-26 01:24:17 +0000 |
commit | e3e965b13d4806b47aca23a256823efe4319ef5f (patch) | |
tree | 70c91a1a4170161bb3cc70556f058e3e192eee74 /util/cbfstool/uflashrom.h | |
parent | b4156412dbeee1c9fc3354a9c75a54e84a735dbc (diff) |
Revert "util/cbfstool: Port elogtool to libflashrom"
This reverts commit d74b8d9c990780ba64515b36aaff79d719d71ead.
This change breaks the 'make all' build of the cbfstool tools
from the util/cbfstool directory unless libflashrom-dev is
installed, complaining that flashrom is not installed.
Even with libflashrom-dev installed, it breaks building
elogtool with the public version of libflashrom-dev.
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I572daa0c0f3998e20a8ed76df21228fdbb384baf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62404
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: ron minnich <rminnich@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool/uflashrom.h')
-rw-r--r-- | util/cbfstool/uflashrom.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/util/cbfstool/uflashrom.h b/util/cbfstool/uflashrom.h deleted file mode 100644 index 1ef0085dd9..0000000000 --- a/util/cbfstool/uflashrom.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ - -#ifndef UFLASHROM_H -#define UFLASHROM_H - -#define FLASHROM_PROGRAMMER_INTERNAL_AP "internal" - -struct firmware_programmer { - const char *programmer; - uint32_t size; - uint8_t *data; -}; - -int flashrom_read(struct firmware_programmer *image, const char *region); -int flashrom_write(struct firmware_programmer *image, const char *region); - -#endif /* UFLASHROM_H */ |