diff options
Diffstat (limited to 'sst_fwhub.c')
-rw-r--r-- | sst_fwhub.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sst_fwhub.c b/sst_fwhub.c index a11cccb9e..3656c8107 100644 --- a/sst_fwhub.c +++ b/sst_fwhub.c @@ -24,7 +24,7 @@ #include "flash.h" -static int check_sst_fwhub_block_lock(struct flashchip *flash, int offset) +static int check_sst_fwhub_block_lock(struct flashctx *flash, int offset) { chipaddr registers = flash->virtual_registers; uint8_t blockstatus; @@ -50,7 +50,7 @@ static int check_sst_fwhub_block_lock(struct flashchip *flash, int offset) return blockstatus & 0x1; } -static int clear_sst_fwhub_block_lock(struct flashchip *flash, int offset) +static int clear_sst_fwhub_block_lock(struct flashctx *flash, int offset) { chipaddr registers = flash->virtual_registers; uint8_t blockstatus; @@ -68,7 +68,7 @@ static int clear_sst_fwhub_block_lock(struct flashchip *flash, int offset) return blockstatus; } -int printlock_sst_fwhub(struct flashchip *flash) +int printlock_sst_fwhub(struct flashctx *flash) { int i; @@ -78,7 +78,7 @@ int printlock_sst_fwhub(struct flashchip *flash) return 0; } -int unlock_sst_fwhub(struct flashchip *flash) +int unlock_sst_fwhub(struct flashctx *flash) { int i, ret=0; |