]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO
authorBiwen Li <biwen.li@nxp.com>
Fri, 5 Feb 2021 11:02:02 +0000 (19:02 +0800)
committerPriyanka 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

index 3e85bb3850b757f6f20b34138373ad28b3e10072..dfb56437d97ac257cc991d4d2a22184dc1e5044f 100644 (file)
 #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