hw/pci-host/bonito: Set the Config register reset value with FIELD_DP32
commit1f8a6c8b3c3a9c6ea0b215a764a1c4f1d6141078
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 10 May 2020 19:36:37 +0000 (10 21:36 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 May 2020 11:19:36 +0000 (26 13:19 +0200)
treed102231ca4ff7fba1872fedd8c9ed9de5cc0a674
parent7a296990af3ae3a63e5397c9c1a9f26981815c1c
hw/pci-host/bonito: Set the Config register reset value with FIELD_DP32

Describe some bits of the Config registers fields with the
registerfields API. Use the FIELD_DP32() macro to set the
BONGENCFG register bits at reset.

Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Message-id: <20200510210128.18343-12-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/pci-host/bonito.c