From: Piotr Dymacz Date: Sun, 28 Feb 2016 22:48:00 +0000 (+0100) Subject: Configure LSUART TX pin in low level GPIO init even if input/output masks are not... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bea2b80aae8db30ce199e5c432fd0306e6870a7c;p=oweals%2Fu-boot_mod.git Configure LSUART TX pin in low level GPIO init even if input/output masks are not defined --- diff --git a/u-boot/cpu/mips/ar7240/qca_gpio_init.S b/u-boot/cpu/mips/ar7240/qca_gpio_init.S index 3bdb5c4..88585cb 100644 --- a/u-boot/cpu/mips/ar7240/qca_gpio_init.S +++ b/u-boot/cpu/mips/ar7240/qca_gpio_init.S @@ -200,7 +200,8 @@ lowlevel_gpio_init: * - 20 ~ 23 -> GPIO_OUT_FUNCTION5 (mask: 0xF00000) */ #if defined(CONFIG_QCA_GPIO_MASK_OUTPUTS) || \ - defined(CONFIG_QCA_GPIO_MASK_INPUTS) + defined(CONFIG_QCA_GPIO_MASK_INPUTS) || \ + defined(CONFIG_QCA_GPIO_MASK_LSUART_TX) /* GPIO_OUT_FUNCTION0 (GPIO 0~3) */ #if (CONFIG_QCA_GPIO_MASK_OUTPUTS & 0x00000F) || \ @@ -402,7 +403,7 @@ lowlevel_gpio_init: #endif sw t9, 0(t8) - #endif /* CONFIG_QCA_GPIO_MASK_OUTPUTS || CONFIG_QCA_GPIO_MASK_INPUTS */ + #endif /* CONFIG_QCA_GPIO_MASK_OUTPUTS || CONFIG_QCA_GPIO_MASK_INPUTS || CONFIG_QCA_GPIO_MASK_LSUART_TX */ #endif /* (SOC_TYPE & QCA_AR934X_SOC) || (SOC_TYPE & QCA_QCA953X_SOC) || (SOC_TYPE & QCA_QCA955X_SOC) */