From: Marek Vasut Date: Mon, 27 Jul 2015 22:44:50 +0200 Subject: [U-Boot] [PATCH 2/2] arm: socfpga: Enable DWAPB GPIO driver In-Reply-To: <1438029890-9901-1-git-send-email-marex@denx.de> References: <1438029890-9901-1-git-send-email-marex@denx.de> Message-ID: <1438029890-9901-2-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Enable the DWAPB GPIO driver for SoCFPGA Cyclone V and Arria V. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Dinh Nguyen --- include/configs/socfpga_arria5.h | 2 +- include/configs/socfpga_common.h | 6 ++++++ include/configs/socfpga_cyclone5.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h index 7aee1ce..5a4417f 100644 --- a/include/configs/socfpga_arria5.h +++ b/include/configs/socfpga_arria5.h @@ -26,6 +26,7 @@ #define CONFIG_CMD_EXT4_WRITE #define CONFIG_CMD_FAT #define CONFIG_CMD_FS_GENERIC +#define CONFIG_CMD_GPIO #define CONFIG_CMD_GREPENV #define CONFIG_CMD_MII #define CONFIG_CMD_MMC @@ -33,7 +34,6 @@ #define CONFIG_CMD_USB #define CONFIG_CMD_USB_MASS_STORAGE - /* Memory configurations */ #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */ diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index e8473b8..0298360 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -114,6 +114,12 @@ #endif /* + * GPIO Driver + */ +#define CONFIG_DM_GPIO +#define CONFIG_DWAPB_GPIO + +/* * L4 OSC1 Timer 0 */ /* This timer uses eosc1, whose clock frequency is fixed at any condition. */ diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h index 33d04fd..9a9c85a 100644 --- a/include/configs/socfpga_cyclone5.h +++ b/include/configs/socfpga_cyclone5.h @@ -26,6 +26,7 @@ #define CONFIG_CMD_EXT4_WRITE #define CONFIG_CMD_FAT #define CONFIG_CMD_FS_GENERIC +#define CONFIG_CMD_GPIO #define CONFIG_CMD_GREPENV #define CONFIG_CMD_MII #define CONFIG_CMD_MMC @@ -33,7 +34,6 @@ #define CONFIG_CMD_USB #define CONFIG_CMD_USB_MASS_STORAGE - /* Memory configurations */ #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */ -- 2.1.4