Re: [PATCH] hw/misc/macio/gpio.c: Add defines for register bits

2025-02-24 Thread Philippe Mathieu-Daudé
On 23/2/25 01:14, BALATON Zoltan wrote: Add named constants for register bit values that should make it easier to understand what these mean. Signed-off-by: BALATON Zoltan --- hw/misc/macio/gpio.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/hw/misc/

[PATCH] hw/misc/macio/gpio.c: Add defines for register bits

2025-02-22 Thread BALATON Zoltan
Add named constants for register bit values that should make it easier to understand what these mean. Signed-off-by: BALATON Zoltan --- hw/misc/macio/gpio.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/hw/misc/macio/gpio.c b/hw/misc/macio/gpio.c index 43