Re: [PATCH v4 2/2] sifive_u: Rename memmap enum constants

2020-09-11 Thread Alistair Francis
On Fri, Sep 11, 2020 at 10:35 AM Eduardo Habkost wrote: > > 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

[PATCH v4 2/2] sifive_u: Rename memmap enum constants

2020-09-11 Thread Eduardo Habkost
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.