Move all the flash size mapping from gdb server into core.
authorKarl Palsson <karlp@tweak.net.au>
Sat, 12 Nov 2011 20:36:43 +0000 (20:36 +0000)
committerKarl Palsson <karlp@tweak.net.au>
Sat, 12 Nov 2011 20:36:43 +0000 (20:36 +0000)
commit5a5d36fdc3f1732d595fe923e45433d9e32077af
tree7e2cec96874d52359bc66dbbbcd50e208f4daacd
parent6cc33751512afaae0c8e9f116ea7370471888259
Move all the flash size mapping from gdb server into core.

All the device params like flash size and page size should all be in the core open routines, not
_only_ in the gdbserver.  (This should stop it from ending up duplicated in the core, and get rid of
some of the hacks that were turning up.  All of this is chip specific!)
gdbserver/gdb-server.c
src/stlink-common.c
src/stlink-common.h
src/stlink-sg.c
src/stlink-usb.c