Searched hist:"13 b8c354188359e2c0bef909d82ad2c0dcae693a" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/hw/riscv/ |
H A D | sifive_u.h | diff 13b8c354188359e2c0bef909d82ad2c0dcae693a Fri Sep 11 12:34:47 CDT 2020 Eduardo Habkost <ehabkost@redhat.com> sifive_u: Rename memmap enum constants
Some of the enum constant names conflict with the QOM type check macros (SIFIVE_U_OTP, SIFIVE_U_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_U_DEV_*, to avoid conflicts.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20200911173447.165713-3-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
/openbmc/qemu/hw/riscv/ |
H A D | sifive_u.c | diff 13b8c354188359e2c0bef909d82ad2c0dcae693a Fri Sep 11 12:34:47 CDT 2020 Eduardo Habkost <ehabkost@redhat.com> sifive_u: Rename memmap enum constants
Some of the enum constant names conflict with the QOM type check macros (SIFIVE_U_OTP, SIFIVE_U_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_U_DEV_*, to avoid conflicts.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20200911173447.165713-3-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|