OSDN Git Service

sifive_e: Rename memmap enum constants
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Sep 2020 17:34:46 +0000 (13:34 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Sep 2020 17:49:48 +0000 (13:49 -0400)
commit5488f2760ad4a4549da82d179ff44e476d902112
tree58dd493e1c86e9b66f627d671fdeb57f0a9844a1
parent053a4177817db307ec854356e95b5b350800a216
sifive_e: Rename memmap enum constants

Some of the enum constant names conflict with a QOM type check
macro (SIFIVE_E_PRCI).  This needs to be addressed to allow us to
transform the QOM type check macros into functions generated by
OBJECT_DECLARE_TYPE().

Rename all the constants to SIFIVE_E_DEV_*, to avoid conflicts.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20200911173447.165713-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/riscv/sifive_e.c
include/hw/riscv/sifive_e.h