mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
tree: Remove unused functions with no prototypes
These functions are no longer used, or were never used in the first place. generate_testpattern() - Introduced in commiteaac68bf8b
, never used list_programmers() - Introduced in commit552420b0d6
, never used pci_dev_find_filter() - Prototype removed in commit5c316f9549
erase_chip_jedec() - Usage and prototype removed in commitf52f784bb3
printlock_regspace2_blocks() - Introduced in commitef3ac8ac17
, never used spi_write_status_enable() - Usage dropped in commitfcbdbbc0d4
Change-Id: I742164670521fea65ffa3808446594848ce63cec Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33669 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
@ -22,20 +22,6 @@
|
||||
#include "spi.h"
|
||||
|
||||
/* === Generic functions === */
|
||||
int spi_write_status_enable(struct flashctx *flash)
|
||||
{
|
||||
static const unsigned char cmd[JEDEC_EWSR_OUTSIZE] = { JEDEC_EWSR };
|
||||
int result;
|
||||
|
||||
/* Send EWSR (Enable Write Status Register). */
|
||||
result = spi_send_command(flash, sizeof(cmd), JEDEC_EWSR_INSIZE, cmd, NULL);
|
||||
|
||||
if (result)
|
||||
msg_cerr("%s failed\n", __func__);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
static int spi_write_status_register_flag(struct flashctx *flash, int status, const unsigned char enable_opcode)
|
||||
{
|
||||
int result;
|
||||
|
Reference in New Issue
Block a user