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:
parent
3bd5d6cc0e
commit
778afb45d2
|
@ -310,6 +310,9 @@ def soc_core_args(parser):
|
||||||
# Timer parameters
|
# Timer parameters
|
||||||
parser.add_argument("--no-timer", action="store_true",
|
parser.add_argument("--no-timer", action="store_true",
|
||||||
help="Disable Timer (default=False)")
|
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
|
# Controller parameters
|
||||||
parser.add_argument("--no-ctrl", action="store_true",
|
parser.add_argument("--no-ctrl", action="store_true",
|
||||||
help="Disable Controller (default=False)")
|
help="Disable Controller (default=False)")
|
||||||
|
|
Loading…
Reference in New Issue