[U-Boot] [PATCH 10/13] gpio: sandbox: cleanup flag support
sjg at chromium.org
Wed Oct 30 01:48:15 UTC 2019
On Wed, 23 Oct 2019 at 07:45, Patrick Delaunay <patrick.delaunay at st.com> wrote:
> Replace the GPIOF_ defines of gpio UCLASS (they are not bitfields but
> enum gpio_func_t = State of a GPIO, as reported by get_function())
> by GPIO_FLAG to access to the bitfield 'flags' of struct gpio_state.
> This patch avoid confusion between sandbox and gpio UCLASS defines.
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> drivers/gpio/sandbox.c | 26 +++++++++++++-------------
> 1 file changed, 13 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot