sim: Only print the power state transition warning once
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 6 Jun 2016 16:16:44 +0000 (17:16 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 6 Jun 2016 16:16:44 +0000 (17:16 +0100)
commit21b66f45422bc449d4a8b86ab452d6b6ae5838bf
tree9d764199ed94ecd210f25140c760acd9bf683c6f
parent12714040a2699d4eff001956649597345243a591
sim: Only print the power state transition warning once

A lot of objects seem to request no-op power transitions which
currently results in large amounts of warnings. These warnings are
benign and risk hiding more serious warnings. Make the warning a
warn_once to prevent console flooding.

Change-Id: I86c74b4224b167f14469250ef86ab69fde7a227e
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/sim/clocked_object.cc