git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0077d71
)
configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO
author
Biwen Li
<biwen.li@nxp.com>
Fri, 5 Feb 2021 11:02:02 +0000
(19:02 +0800)
committer
Priyanka Jain
<priyanka.jain@nxp.com>
Mon, 8 Feb 2021 08:31:21 +0000
(14:01 +0530)
Enable CONFIG_MPC8XXX_GPIO for board ls1021atwr
Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1021atwr.h
patch
|
blob
|
history
diff --git
a/include/configs/ls1021atwr.h
b/include/configs/ls1021atwr.h
index
3e85bb3
..
dfb5643
100644
(file)
--- a/
include/configs/ls1021atwr.h
+++ b/
include/configs/ls1021atwr.h
@@
-219,6
+219,13
@@
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
+/* GPIO */
+#ifdef CONFIG_DM_GPIO
+#ifndef CONFIG_MPC8XXX_GPIO
+#define CONFIG_MPC8XXX_GPIO
+#endif
+#endif
+
/* EEPROM */
#define CONFIG_ID_EEPROM
#define CONFIG_SYS_I2C_EEPROM_NXID