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

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

index eb6f1c1e5be6cb2a9c6fd5118a11ef804b51e6d5..b4c70333def5157f52b393b2c1d75a7adfcc71f5 100644 (file)
@@ -341,6 +341,13 @@ unsigned long get_board_ddr_clk(void);
 #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