From: Piotr Dymacz Date: Wed, 2 Mar 2016 17:19:37 +0000 (+0100) Subject: Fix logic mistake in QC/A low level GPIO init X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f07c0620b84673577e705fdad85d8e1d9b9ad2c1;p=oweals%2Fu-boot_mod.git Fix logic mistake in QC/A low level GPIO init --- diff --git a/u-boot/cpu/mips/ar7240/qca_gpio_init.S b/u-boot/cpu/mips/ar7240/qca_gpio_init.S index 88585cb..9f48aec 100644 --- a/u-boot/cpu/mips/ar7240/qca_gpio_init.S +++ b/u-boot/cpu/mips/ar7240/qca_gpio_init.S @@ -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)