tools: print a warning for tools replaced by intel_reg

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood
2015-06-08 16:41:34 +01:00
parent 87f15fc3da
commit aa75f37397
8 changed files with 25 additions and 0 deletions
+3
View File
@@ -89,6 +89,9 @@ int main(int argc, char** argv)
int i, nregs;
const char *name;
fprintf(stderr, "WARNING: Use of %s has been deprecated and replaced by"
" intel_reg.\n", argv[0]);
if (!IS_VALLEYVIEW(dev->device_id) &&
!IS_CHERRYVIEW(dev->device_id)) {
usage(argv[0]);