Fix logic mistake in QC/A low level GPIO init
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 2 Mar 2016 17:19:37 +0000 (18:19 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 2 Mar 2016 17:19:37 +0000 (18:19 +0100)
u-boot/cpu/mips/ar7240/qca_gpio_init.S

index 88585cb93a6635c7146187d9f1c70a1c8cf054b5..9f48aec71ca3b6a1180f55f8394169681d35ad5b 100644 (file)
@@ -97,9 +97,9 @@ lowlevel_gpio_init:
        li t8, QCA_GPIO_FUNC_REG
        #if defined(CONFIG_SKIP_LOWLEVEL_INIT) || \
                defined(CONFIG_QCA_KEEP_JTAG_ENABLED)
-       li t9, QCA_GPIO_FUNC_JTAG_DIS_MASK
-       #else
        li t9, 0x0
+       #else
+       li t9, QCA_GPIO_FUNC_JTAG_DIS_MASK
        #endif
        sw t9, 0(t8)