From 1951c33999f3abcabd29fe9bd04736bb646f59b6 Mon Sep 17 00:00:00 2001 From: Biwen Li Date: Thu, 15 Oct 2020 03:33:06 +0000 Subject: [PATCH] configs: ls1028a: enable CONFIG_MPC8XXX_GPIO Enable CONFIG_MPC8XXX_GPIO for SoC LS1028A Signed-off-by: Biwen Li --- include/configs/ls1028a_common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h index 6905694..075de01 100644 --- a/include/configs/ls1028a_common.h +++ b/include/configs/ls1028a_common.h @@ -41,6 +41,16 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2048 * 1024) +/* GPIO */ +#ifdef CONFIG_DM_GPIO +#ifndef CONFIG_MPC8XXX_GPIO +#define CONFIG_MPC8XXX_GPIO +#endif +#ifndef CONFIG_CMD_GPIO +#define CONFIG_CMD_GPIO +#endif +#endif + /* I2C */ #ifndef CONFIG_DM_I2C #define CONFIG_SYS_I2C -- 1.9.1