Commit 1951c33999f3abcabd29fe9bd04736bb646f59b6

Authored by Biwen Li
Committed by Priyanka Jain
1 parent c0e10b1d4f

configs: ls1028a: enable CONFIG_MPC8XXX_GPIO

Enable CONFIG_MPC8XXX_GPIO for SoC LS1028A

Signed-off-by: Biwen Li <biwen.li@nxp.com>

Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff

include/configs/ls1028a_common.h
... ... @@ -41,6 +41,16 @@
41 41 /* Size of malloc() pool */
42 42 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2048 * 1024)
43 43  
  44 +/* GPIO */
  45 +#ifdef CONFIG_DM_GPIO
  46 +#ifndef CONFIG_MPC8XXX_GPIO
  47 +#define CONFIG_MPC8XXX_GPIO
  48 +#endif
  49 +#ifndef CONFIG_CMD_GPIO
  50 +#define CONFIG_CMD_GPIO
  51 +#endif
  52 +#endif
  53 +
44 54 /* I2C */
45 55 #ifndef CONFIG_DM_I2C
46 56 #define CONFIG_SYS_I2C