aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls1028a_common.h
diff options
context:
space:
mode:
authorBiwen Li <biwen.li@nxp.com>2021-02-05 19:01:57 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-02-08 14:01:20 +0530
commit90281f4c2721f6ff9c42d8d86e03d6ecb27ccced (patch)
tree1f95961bc00bc9db0a43172d2866c6ffac464835 /include/configs/ls1028a_common.h
parentbe7b6d59447ffea9bf01fcd254c6ba2f54a60d78 (diff)
downloadu-boot-90281f4c2721f6ff9c42d8d86e03d6ecb27ccced.zip
u-boot-90281f4c2721f6ff9c42d8d86e03d6ecb27ccced.tar.gz
u-boot-90281f4c2721f6ff9c42d8d86e03d6ecb27ccced.tar.bz2
configs: ls1028a: enable CONFIG_MPC8XXX_GPIO
Enable CONFIG_MPC8XXX_GPIO for SoC LS1028A Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/ls1028a_common.h')
-rw-r--r--include/configs/ls1028a_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 8345cd7..1c4af7d 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -36,6 +36,13 @@
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2048 * 1024)
+/* GPIO */
+#ifdef CONFIG_DM_GPIO
+#ifndef CONFIG_MPC8XXX_GPIO
+#define CONFIG_MPC8XXX_GPIO
+#endif
+#endif
+
/* I2C */
#ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C