summaryrefslogtreecommitdiffstats
path: root/jedec.c
diff options
context:
space:
mode:
Diffstat (limited to 'jedec.c')
-rw-r--r--jedec.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/jedec.c b/jedec.c
index 54b7da726..ac1ea0df0 100644
--- a/jedec.c
+++ b/jedec.c
@@ -550,14 +550,6 @@ int erase_block_jedec(struct flashctx *flash, unsigned int page,
return erase_block_jedec_common(flash, page, size, mask);
}
-int erase_chip_jedec(struct flashctx *flash)
-{
- unsigned int mask;
-
- mask = getaddrmask(flash->chip);
- return erase_chip_jedec_common(flash, mask);
-}
-
struct unlockblock {
unsigned int size;
unsigned int count;
@@ -616,11 +608,6 @@ static int printlock_regspace2_block(const struct flashctx *flash, chipaddr lock
return 0;
}
-int printlock_regspace2_blocks(const struct flashctx *flash, const struct unlockblock *blocks)
-{
- return regspace2_walk_unlockblocks(flash, blocks, &printlock_regspace2_block);
-}
-
static int printlock_regspace2_uniform(struct flashctx *flash, unsigned long block_size)
{
const unsigned int elems = flash->chip->total_size * 1024 / block_size;