Commit c339bc11 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

librem5-flash-image: Use revision for uuu_mods too

No need to pass both
parent bcafc626
......@@ -274,8 +274,6 @@ def main():
help='Variant of the board to download ( legacy, current, next )')
parser.add_argument('--board', choices=['devkit', 'librem5r2', 'librem5r3'], default=BOARD_TYPE,
help='Type of the board to download ( devkit, librem5r2, librem5r3 )')
parser.add_argument('--board_rev', choices=['chestnut', 'dogwood'],
help='Revison of the phone ( chestnut, dogwood )')
group = parser.add_argument_group(title='Testing and debugging options')
group.add_argument('--debug', action="store_true", default=False,
......@@ -317,7 +315,7 @@ def main():
logging.error("No matching uboot found")
return 1
if args.board_rev and args.board_rev in ["dogwood"]:
if args.board in ["librem5r3"]:
uuu_mods = "CFG: SDP: -chip MX8MQ -compatible MX8MQ -vid 0x316d -pid 0x4c05"
outdir = args.dir if args.dir is not None else tempfile.mkdtemp(prefix='devkit_image_', dir='.')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment