]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls1046a: enable MPC8XXX_GPIO
authorBiwen Li <biwen.li@nxp.com>
Fri, 5 Feb 2021 11:02:01 +0000 (19:02 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 8 Feb 2021 08:31:21 +0000 (14:01 +0530)
Enable MPC8XXX_GPIO for SoC LS1046A

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1046a_common.h

index d44a7f105e67478a290e11596134056835f4bf33..32658cf641f0a9617a3b8ccae75bfcfa84d3bacd 100644 (file)
 #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