]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: mx23_olinuxino_defconfig: fix status led definition
authorMichael Heimpold <mhei@heimpold.de>
Mon, 29 Oct 2018 19:21:51 +0000 (20:21 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 1 Jan 2019 13:12:18 +0000 (14:12 +0100)
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@heimpold.de>
Fixes: 2d8d190c8394 ("status_led: Kconfig migration")
configs/mx23_olinuxino_defconfig

index 2eee19dab5865a20f6e8d0a3803bcf7965eb55ce..bc34a3ed01b7972641c0264cc5a73e00faf1cf7c 100644 (file)
@@ -27,7 +27,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