aboutsummaryrefslogtreecommitdiff
path: root/src/include/target.h
diff options
context:
space:
mode:
authorGareth McMullin2015-03-26 22:18:18 -0700
committerGareth McMullin2015-04-03 21:21:30 -0700
commit36f749fed92597e0469909e5399146359e5fdfdf (patch)
tree76064ee3871e7d262f4c55dc4b4b0b5f69cce306 /src/include/target.h
parent7202db586038843d1d4f01403ce6e1285ac3520c (diff)
Fix flash buffer alignment in target layer.
Diffstat (limited to 'src/include/target.h')
-rw-r--r--src/include/target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/target.h b/src/include/target.h
index bcabc23..f49bc58 100644
--- a/src/include/target.h
+++ b/src/include/target.h
@@ -131,6 +131,8 @@ struct target_flash {
flash_done_func done;
target *t;
struct target_flash *next;
+ int align;
+ uint8_t erased;
};
struct target_s {