nmhw21: Removed hw-revision form env.
BugzID: 54508 Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
parent
cf3a77fa95
commit
be3dbc4966
|
|
@ -737,12 +737,6 @@ static void get_hw_version(void)
|
||||||
bd_get_hw_version(&hw_ver, &hw_rev);
|
bd_get_hw_version(&hw_ver, &hw_rev);
|
||||||
bd_get_hw_patch(&hw_patch);
|
bd_get_hw_patch(&hw_patch);
|
||||||
printf("MB: V%d.%d\n", hw_ver, hw_rev);
|
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)
|
static void get_pmic_version(void)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue