quick_dump: make autodetect the default option

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Very-much-wanted-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Imre Deak 2014-06-03 16:03:50 +03:00
parent 73c4032415
commit 4f0bb31470

View File

@ -75,9 +75,6 @@ if __name__ == "__main__":
parser.add_argument('-b', '--baseless',
action='store_true', default=False,
help='baseless mode, ignore files starting with base_')
parser.add_argument('-a', '--autodetect',
action='store_true', default=False,
help='autodetect chipset')
parser.add_argument('-f', '--file',
type=argparse.FileType('r'), default=None)
parser.add_argument('profile', nargs='?',
@ -101,7 +98,7 @@ if __name__ == "__main__":
if args.baseless == False:
walk_base_files()
if args.autodetect:
if args.profile == None:
args.profile = autodetect_chipset()
if args.profile == None: