tools/smccli.py: Shut down cleanly, increase verbosity

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-01-19 03:22:33 +09:00
parent 434a3b6c78
commit e2b87b695f

View file

@ -9,8 +9,11 @@ from m1n1.fw.smc import SMCClient
smc_addr = u.adt["arm-io/smc"].get_reg(0)[0]
smc = SMCClient(u, smc_addr, None)
smc.verbose = 3
smc.start()
smc.start_ep(0x20)
run_shell(globals(), msg="Have fun!")
smc.stop()