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

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

index 4bd0ddbdad20be8057ca2de5076e951b5929ddee..466484c1997960ba3e97f0d9ae0e1a87d9337cd8 100644 (file)
 #define NXP_FSPI_FLASH_NUM             1
 #endif
 
+/* GPIO */
+#ifdef CONFIG_DM_GPIO
+#ifndef CONFIG_MPC8XXX_GPIO
+#define CONFIG_MPC8XXX_GPIO
+#endif
+#endif
+
 #ifndef __ASSEMBLY__
 unsigned long get_board_sys_clk(void);
 unsigned long get_board_ddr_clk(void);