aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiwen Li <biwen.li@nxp.com>2021-02-05 19:02:01 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-02-08 14:01:21 +0530
commit0077d711c912d59a91887f707e61da302c423be1 (patch)
tree1d94c4954bde171ea70699dfe2530c437f43945f
parent2a95d7c76faf37b369a3c018f4eba652297bb5cf (diff)
downloadu-boot-0077d711c912d59a91887f707e61da302c423be1.zip
u-boot-0077d711c912d59a91887f707e61da302c423be1.tar.gz
u-boot-0077d711c912d59a91887f707e61da302c423be1.tar.bz2
configs: ls1046a: enable MPC8XXX_GPIO
Enable MPC8XXX_GPIO for SoC LS1046A Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--include/configs/ls1046a_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index d44a7f1..32658cf 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -126,6 +126,13 @@
#define CONFIG_SYS_MONITOR_LEN 0xa0000
#endif
+/* GPIO */
+#ifdef CONFIG_DM_GPIO
+#ifndef CONFIG_MPC8XXX_GPIO
+#define CONFIG_MPC8XXX_GPIO
+#endif
+#endif
+
/* I2C */
#ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C