summaryrefslogtreecommitdiff
path: root/board/technexion/twister/twister.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/technexion/twister/twister.c')
-rw-r--r--board/technexion/twister/twister.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/technexion/twister/twister.c b/board/technexion/twister/twister.c
index 5f197a7..a28c704 100644
--- a/board/technexion/twister/twister.c
+++ b/board/technexion/twister/twister.c
@@ -165,10 +165,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;
}