soc/amd/picasso/smu: only print time for actual command execution
commitfc9b8b916f7bc0c6ac1579b915937ed23ea3327a
authorFelix Held <felix.held@amd.corp-partner.google.com>
Tue, 26 May 2020 21:31:56 +0000 (26 23:31 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 27 May 2020 22:00:22 +0000 (27 22:00 +0000)
treeb1ac151d8d1ac1de1a6610a6aa8806484688ff50
parent01a9493cfc2d79306053f6b5c96b0c916170ed28
soc/amd/picasso/smu: only print time for actual command execution

When waiting for the SMU to be ready to accept a new command, the time
spent waiting shouldn't be printed as command execution time. Also fix
the time unit in the print statement.

Change-Id: I6b97b11cd9efae7029779ee2096d4f2224cecd72
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41751
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/soc/amd/picasso/smu.c