Kinetis: Flash command function matches datasheet 92/1192/6
authorAlex Austin <alex.austin@spectrumdsi.com>
Sun, 3 Mar 2013 10:08:18 +0000 (04:08 -0600)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 13 Mar 2013 12:29:17 +0000 (12:29 +0000)
commit3533ce0106e76d54113b08d6bb60b02a73efc638
tree13c9d5b566ebea854b6eb75a1b474b1876922aae
parentaa3f7887ea2283be73952f13b37e75f06a429cae
Kinetis: Flash command function matches datasheet

The kinetis datasheets specify the flash registers as bytes rather
than as words, as the previous implementation did.  This also makes
a few code sections slightly less endian-magical.

Change-Id: If8f4adfc7f4341085ae5b6eacbf7d74bbd74cf08
Signed-off-by: Alex Austin <alex.austin@spectrumdsi.com>
Reviewed-on: http://openocd.zylin.com/1192
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/kinetis.c