The target "flash" and related stuff is now in the platform makefiles.
Modify all callback functions to use new signature. ota-update now uses this to pass the partition to some get/put methods.