On Tue, 21 Oct 2025 at 15:53, Philippe Mathieu-Daudé <[email protected]> wrote:
>
> uint8_t is good enough to hold a property "between 0 and 0xff".
>
> Define pullups/pulldowns properties using DEFINE_PROP_UINT8()
> macro, remove unnecessary range checks in pl061_realize().
> Update the two caller sites.
>
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
> v2: qdev_prop_set_uint32 -> qdev_prop_set_uint8 in callers (Peter)

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to