Add SoC timer peripheral timer-uptime CLI parameter

This allows enabling the uptime register in the timer core from the
command line.
This commit is contained in:
Leon Schuermann 2020-11-17 23:21:28 +01:00
parent 3bd5d6cc0e
commit 778afb45d2
1 changed files with 3 additions and 0 deletions

View File

@ -310,6 +310,9 @@ def soc_core_args(parser):
# Timer parameters
parser.add_argument("--no-timer", action="store_true",
help="Disable Timer (default=False)")
parser.add_argument("--timer-uptime", action="store_true",
help="Add an uptime register to the timer (default=False)")
# Controller parameters
parser.add_argument("--no-ctrl", action="store_true",
help="Disable Controller (default=False)")