From: Piotr Dymacz Date: Mon, 27 Nov 2017 08:48:57 +0000 (+0100) Subject: Fix AR9342 GPIO count X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7fe93a0d0abac3a75eac1fee69415a7a50f3e907;p=oweals%2Fu-boot_mod.git Fix AR9342 GPIO count --- diff --git a/u-boot/include/soc/qca_soc_common.h b/u-boot/include/soc/qca_soc_common.h index 4a6ef0a..b5ed075 100644 --- a/u-boot/include/soc/qca_soc_common.h +++ b/u-boot/include/soc/qca_soc_common.h @@ -549,7 +549,11 @@ #if (SOC_TYPE & QCA_AR933X_SOC) #define QCA_GPIO_COUNT 30 #elif (SOC_TYPE & QCA_AR934X_SOC) - #define QCA_GPIO_COUNT 23 + #if (SOC_TYPE & QCA_AR9342_SOC) + #define QCA_GPIO_COUNT 18 + #else + #define QCA_GPIO_COUNT 23 + #endif #elif (SOC_TYPE & QCA_QCA953X_SOC) #define QCA_GPIO_COUNT 18 #elif (SOC_TYPE & QCA_QCA955X_SOC)