NVM_MAX_SIZE
if (image_size < NVM_MIN_SIZE || image_size > NVM_MAX_SIZE)
nvm->buf = vmalloc(NVM_MAX_SIZE);
config.size = NVM_MAX_SIZE;