Merge pull request #17 from mbolivar/misc-fixups

Miscellaneous minor fixups
diff --git a/boot/zephyr/hal_flash.c b/boot/zephyr/hal_flash.c
index cebf161..9a78163 100644
--- a/boot/zephyr/hal_flash.c
+++ b/boot/zephyr/hal_flash.c
@@ -23,7 +23,6 @@
 
 #include "hal/hal_flash.h"
 
-/* All of the currently supported devices allow single byte writes. */
 uint8_t hal_flash_align(uint8_t flash_id)
 {
 	return FLASH_ALIGN;
diff --git a/boot/zephyr/include/flash_map/flash_map.h b/boot/zephyr/include/flash_map/flash_map.h
index c0c9489..271c50c 100644
--- a/boot/zephyr/include/flash_map/flash_map.h
+++ b/boot/zephyr/include/flash_map/flash_map.h
@@ -51,15 +51,6 @@
     uint32_t fa_size;
 };
 
-extern const struct flash_area *flash_map;
-extern int flash_map_entries;
-
-/*
- * Initializes flash map. Memory will be referenced by flash_map code
- * from this on.
- */
-void flash_map_init(void);
-
 /*
  * Start using flash area.
  */
diff --git a/scripts/zep2newt.py b/scripts/zep2newt.py
index e9904f8..efa4b66 100755
--- a/scripts/zep2newt.py
+++ b/scripts/zep2newt.py
@@ -16,8 +16,7 @@
 DEBUG = False
 
 def get_args():
-    parser = ArgumentParser(description='Script to create images on a format \
-                            that Mynewts bootloader expects')
+    parser = ArgumentParser(description='Convert Zephyr binaries to mcuboot format')
 
     parser.add_argument('--bin', required=True, dest='binary_file', \
                         help='Name of *.bin file (input)')
@@ -33,11 +32,6 @@
                         default='SHA256', \
                         help='Type of signature <SHA256|RSA|EC>')
 
-    parser.add_argument('--off', required=False, dest='flash_offs_addr', \
-                        default='0x08020000', \
-                        help='Offset for the binary in flash (at what address \
-                        should it be flashed?)')
-
     parser.add_argument('--word-size', required=False, dest='word_size',
             default=1,
             help='Writable size of flash device (1, 2, 4, or 8)')
@@ -215,7 +209,6 @@
 
 def main(argv):
     args = get_args()
-    erase = False
 
     conv = Convert(args)