nmhw21: Removed hw-revision form env.

BugzID: 54508

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
Lucien Mueller 2018-12-05 09:40:40 +01:00
parent cf3a77fa95
commit be3dbc4966
1 changed files with 0 additions and 6 deletions

View File

@ -737,12 +737,6 @@ static void get_hw_version(void)
bd_get_hw_version(&hw_ver, &hw_rev);
bd_get_hw_patch(&hw_patch);
printf("MB: V%d.%d\n", hw_ver, hw_rev);
/* add hardware versions to environment */
/* TODO: Remove ! */
snprintf(hw_versions, sizeof(hw_versions), "CP=%d.%d", hw_ver, hw_rev);
snprintf(new_env, sizeof(new_env), "setenv bootargs $bootargs %s", hw_versions);
setenv("add_version_bootargs", new_env);
}
static void get_pmic_version(void)