diff options
Diffstat (limited to 'core/flash.c')
-rw-r--r-- | core/flash.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/flash.c b/core/flash.c index e258fe1..8f00d85 100644 --- a/core/flash.c +++ b/core/flash.c @@ -212,6 +212,10 @@ static void __flash_dt_add_fw_version(struct dt_node *fw_version, char* data) /* Increment past "key-" */ prop = data + version_len + 1; dt_add_property_string(fw_version, version_str[i], prop); + + if (strncmp(version_str[i], "skiboot", strlen("skiboot")) == 0) + if (strncmp(prop, version, strlen(version)) != 0) + prlog(PR_WARNING, "WARNING! Skiboot version does not match VERSION partition!\n"); } } |