aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2019-08-27 14:44:49 +0200
committerTomas Vanek <vanekt@fbl.cz>2019-09-08 11:55:19 +0100
commit09eb941cb8d2fbfa5f477e499fb231e956e214db (patch)
tree6ab1b1c1fad5b2b686016702d96629017cff6866 /src/flash
parent5b06b88af849805480060a2dcc2189a13d23d76d (diff)
downloadriscv-openocd-09eb941cb8d2fbfa5f477e499fb231e956e214db.zip
riscv-openocd-09eb941cb8d2fbfa5f477e499fb231e956e214db.tar.gz
riscv-openocd-09eb941cb8d2fbfa5f477e499fb231e956e214db.tar.bz2
flash/nor/stm32h7x: remove unused 'pages_per_sector' from stm32h7x_part_info
Change-Id: I1b79c25cada574e3a9849f506443c836bd707604 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/5289 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Christopher Head <chead@zaber.com>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/stm32h7x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flash/nor/stm32h7x.c b/src/flash/nor/stm32h7x.c
index 72afc85..fd6bf9a 100644
--- a/src/flash/nor/stm32h7x.c
+++ b/src/flash/nor/stm32h7x.c
@@ -115,7 +115,6 @@ struct stm32h7x_part_info {
const struct stm32h7x_rev *revs;
size_t num_revs;
unsigned int page_size;
- unsigned int pages_per_sector;
uint16_t max_flash_size_kb;
uint8_t has_dual_bank;
uint16_t first_bank_size_kb; /* Used when has_dual_bank is true */