[U-Boot] [PATCH 2/3] configs: mx23_olinuxino_defconfig: fix status led definition

Stefano Babic sbabic at denx.de
Sat Dec 8 17:34:47 UTC 2018



On 29/10/18 20:21, Michael Heimpold wrote:
> While migrating individual status led usages to Kconfig stuff,
> a (random) value was introduced for this board which does not
> work but produces the following error message during boot:
> 
> __led_init: failed requesting GPIO59!
> 
> Since Kconfig does not seem to accept a define as this point,
> but the mxs gpio driver requires not only a simple integer value,
> we need to use the plain value of MX23_PAD_SSP1_DETECT__GPIO_2_1.
> 
> Signed-off-by: Michael Heimpold <mhei at heimpold.de>
> Fixes: 2d8d190c8394 ("status_led: Kconfig migration")
> ---
>  configs/mx23_olinuxino_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/mx23_olinuxino_defconfig b/configs/mx23_olinuxino_defconfig
> index 6597dc3870..598547a5f5 100644
> --- a/configs/mx23_olinuxino_defconfig
> +++ b/configs/mx23_olinuxino_defconfig
> @@ -26,7 +26,7 @@ CONFIG_ENV_IS_IN_MMC=y
>  CONFIG_LED_STATUS=y
>  CONFIG_LED_STATUS_GPIO=y
>  CONFIG_LED_STATUS0=y
> -CONFIG_LED_STATUS_BIT=59
> +CONFIG_LED_STATUS_BIT=778
>  CONFIG_LED_STATUS_STATE=2
>  CONFIG_LED_STATUS_BOOT_ENABLE=y
>  CONFIG_LED_STATUS_BOOT=0
> 

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list