Refactor to use common sam_progmem implementation and enable MCUboot support. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>