tools/firmware-utils: allow to create buffalo tags w/o hw version

SVN-Revision: 27472
This commit is contained in:
Gabor Juhos 2011-07-06 08:04:49 +00:00
parent 1141165bb9
commit ea6bc8858a

View file

@ -97,7 +97,9 @@ static int check_params(void)
CHECKSTR(major, "major version", TAG_VERSION_LEN);
CHECKSTR(minor, "minor version", TAG_VERSION_LEN);
CHECKSTR(language, "language", TAG_LANGUAGE_LEN);
CHECKSTR(hwver, "hardware version", 2);
if (hwver)
CHECKSTR(hwver, "hardware version", 2);
if (num_regions == 0) {
ERR("no region code specified");