]> git.sur5r.net Git - u-boot/blobdiff - board/timll/devkit8000/devkit8000.c
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[u-boot] / board / timll / devkit8000 / devkit8000.c
index 22b3fac398433d292f560e53f641bc5a1f0028d0..ebff59e70b38b3d7cc595d98ab31100bd7061238 100644 (file)
@@ -171,10 +171,10 @@ void spl_board_prepare_for_linux(void)
 int spl_start_uboot(void)
 {
        int val = 0;
-       if (!gpio_request(CONFIG_SPL_OS_BOOT_KEY, "U-Boot key")) {
-               gpio_direction_input(CONFIG_SPL_OS_BOOT_KEY);
-               val = gpio_get_value(CONFIG_SPL_OS_BOOT_KEY);
-               gpio_free(CONFIG_SPL_OS_BOOT_KEY);
+       if (!gpio_request(SPL_OS_BOOT_KEY, "U-Boot key")) {
+               gpio_direction_input(SPL_OS_BOOT_KEY);
+               val = gpio_get_value(SPL_OS_BOOT_KEY);
+               gpio_free(SPL_OS_BOOT_KEY);
        }
        return !val;
 }