summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiwen Li <biwen.li@nxp.com>2021-02-05 19:01:59 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-02-08 14:01:21 +0530
commit04f26d616dc47c3a4d06f9ceb7d39c87b2427d83 (patch)
tree1b5766087e26d6d6706f7382bbda82dc0c7cada4
parent97e81208508e641e80f27dbd3f4863b1725eb4ad (diff)
downloadu-boot-04f26d616dc47c3a4d06f9ceb7d39c87b2427d83.tar.gz
configs: ls208xa: enable CONFIG_MPC8XXX_GPIO
Enable CONFIG_MPC8XXX_GPIO for LS208xA Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--include/configs/ls2080a_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 444bb8c3b5..1042555a8c 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -66,6 +66,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