Re: [PATCH] ARM: PL061: Introduce N_GPIOS

2020-05-21 Thread Peter Maydell
On Tue, 19 May 2020 at 09:51, Geert Uytterhoeven wrote: > > Add a definition for the number of GPIO lines controlled by a PL061 > instance, and use it instead of the hardcoded magic value 8. > > Suggested-by: Philippe Mathieu-Daudé > Signed-off-by: Geert Uytterhoeven > --- > hw/gpio/pl061.c |

Re: [PATCH] ARM: PL061: Introduce N_GPIOS

2020-05-19 Thread Philippe Mathieu-Daudé
On 5/19/20 10:51 AM, Geert Uytterhoeven wrote: Add a definition for the number of GPIO lines controlled by a PL061 instance, and use it instead of the hardcoded magic value 8. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Geert Uytterhoeven Thanks for following up. Reviewed-by:

[PATCH] ARM: PL061: Introduce N_GPIOS

2020-05-19 Thread Geert Uytterhoeven
Add a definition for the number of GPIO lines controlled by a PL061 instance, and use it instead of the hardcoded magic value 8. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Geert Uytterhoeven --- hw/gpio/pl061.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff