hw/arm: Use bit fields for NPCM7XX PWRON STRAPs
commit5b415dd61bdbf61fb4be0e9f1a7172b8bce682c6
authorHao Wu <wuhaotsh@google.com>
Mon, 11 Apr 2022 16:58:42 +0000 (11 09:58 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Apr 2022 10:37:05 +0000 (21 11:37 +0100)
tree6a25de5c5141e62bb842284ddaae7f7262a0ffee
parentc3e9e73a8323cc61386c3067715ba4e44ea95a0f
hw/arm: Use bit fields for NPCM7XX PWRON STRAPs

This patch uses the defined fields to describe PWRON STRAPs for
better readability.

Signed-off-by: Hao Wu <wuhaotsh@google.com>
Reviewed-by: Patrick Venture <venture@google.com>
Message-id: 20220411165842.3912945-3-wuhaotsh@google.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/npcm7xx_boards.c