Flasher support for versionning

Only bootrom with version > 1.0.0 will allow 512K writes
This commit is contained in:
slurdge authored and Philippe Teuwen committed 2019-07-20 10:47:24 +02:00
1 parent c056e56492
commit 68aa9d631d
3 files changed
+28 -3

No files matched your search

+4 -1
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.