tools/litex_term: fully deprecate --no-crc argument.

This commit is contained in:
Florent Kermarrec 2021-01-18 16:34:34 +01:00
parent 2f5ad47f7a
commit a0bcbeb68b
1 changed files with 0 additions and 3 deletions

View File

@ -518,14 +518,11 @@ def _get_args():
parser.add_argument("--kernel", default=None, help="Kernel image") parser.add_argument("--kernel", default=None, help="Kernel image")
parser.add_argument("--kernel-adr", default="0x40000000", help="Kernel address (or flash offset with --flash)") parser.add_argument("--kernel-adr", default="0x40000000", help="Kernel address (or flash offset with --flash)")
parser.add_argument("--images", default=None, help="JSON description of the images to load to memory") parser.add_argument("--images", default=None, help="JSON description of the images to load to memory")
parser.add_argument("--no-crc", default=False, action='store_true', help="Disable CRC check (speedup serialboot)")
parser.add_argument("--flash", default=False, action='store_true', help="Flash data with serialboot command") parser.add_argument("--flash", default=False, action='store_true', help="Flash data with serialboot command")
return parser.parse_args() return parser.parse_args()
def main(): def main():
args = _get_args() args = _get_args()
if args.no_crc:
print("[LXTERM] --no-crc is deprecated and now does nothing (CRC checking is now fast)")
term = LiteXTerm(args.serial_boot, args.kernel, args.kernel_adr, args.images, args.flash) term = LiteXTerm(args.serial_boot, args.kernel, args.kernel_adr, args.images, args.flash)
if sys.platform == "win32": if sys.platform == "win32":