Flasher support for versionning

Only bootrom with version > 1.0.0 will allow 512K writes
This commit is contained in:
slurdge 2019-07-19 18:21:20 +02:00 committed by Philippe Teuwen
commit 68aa9d631d
3 changed files with 28 additions and 3 deletions

View file

@ -541,7 +541,10 @@ typedef struct {
#define DEVICE_INFO_FLAG_UNDERSTANDS_VERSION (1<<6)
// Different versions here. Each version should increse the number
#define VERSION_1_0_0 1
#define BL_VERSION_INVALID 0
#define BL_VERSION_1_0_0 1
#define BL_VERSION_FIRST BL_VERSION_1_0_0
#define BL_VERSION_LAST BL_VERSION_1_0_0
/* CMD_START_FLASH may have three arguments: start of area to flash,
end of area to flash, optional magic.