projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b341e11
)
Fix AR9342 GPIO count
author
Piotr Dymacz
<pepe2k@gmail.com>
Mon, 27 Nov 2017 08:48:57 +0000
(09:48 +0100)
committer
Piotr Dymacz
<pepe2k@gmail.com>
Wed, 29 Nov 2017 21:34:54 +0000
(22:34 +0100)
u-boot/include/soc/qca_soc_common.h
patch
|
blob
|
history
diff --git
a/u-boot/include/soc/qca_soc_common.h
b/u-boot/include/soc/qca_soc_common.h
index 4a6ef0a45f79222b07c061b0611bf2fb3c0f1f49..b5ed0757ae868582b82572120e79a2cfae4098e2 100644
(file)
--- 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)