[U-Boot] [PATCH] gpio/hsdk: Depend on DM_GPIO instead of simple DM

Simon Glass sjg at chromium.org
Tue Dec 12 04:38:51 UTC 2017


On 10 December 2017 at 10:55, Alexey Brodkin
<Alexey.Brodkin at synopsys.com> wrote:
> This driver really is DM GPIO one and so we need to have a correct
> dependency, because DM alone doesn't provide required for CMD_GPIO
> call and we're seeing build failures like this:
> ---------------------->8---------------------
> cmd/built-in.o: In function 'do_gpio':
> .../cmd/gpio.c:188: undefined reference to 'gpio_request'
> ...
> ---------------------->8---------------------
>
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Eugeniy Paltsev <paltsev at synopsys.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list