/*------------------- BOOT LOADER Common Definitions --------------------------------------------*/#define FLASH_BLOCK_SIZE getenv("FLASH_ERASE_SIZE")/2 // Minimal length of Flash Block Size#define RESERVED_BLOCKS 50 // Number of reserved flash blocks for BootLoader#define LOADER_RESERVED (getenv("PROGRAM_MEMORY")-(RESERVED_BLOCKS*FLASH_BLOCK_SIZE)) // begining of BootLoader