From: Peng Fan Date: Sat, 1 Nov 2014 10:44:00 +0800 Subject: [U-Boot] [PATCH 2/2] arm:imx-common add function prototype for gpr set In-Reply-To: <1414809840-27015-1-git-send-email-Peng.Fan@freescale.com> References: <1414809840-27015-1-git-send-email-Peng.Fan@freescale.com> Message-ID: <1414809840-27015-2-git-send-email-Peng.Fan@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch "arm:imx-common introduce a new function to set gpr" missed to add the function prototype. Signed-off-by: Peng Fan --- arch/arm/include/asm/imx-common/iomux-v3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/imx-common/iomux-v3.h index a8ca49c..23421b5 100644 --- a/arch/arm/include/asm/imx-common/iomux-v3.h +++ b/arch/arm/include/asm/imx-common/iomux-v3.h @@ -182,6 +182,9 @@ typedef u64 iomux_v3_cfg_t; void imx_iomux_v3_setup_pad(iomux_v3_cfg_t pad); void imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t const *pad_list, unsigned count); +/* Set bits for general purpose registers */ +void mxc_iomux_set_gpr_register(int group, int start_bit, int num_bits, + int value); /* macros for declaring and using pinmux array */ #if defined(CONFIG_MX6QDL) -- 1.8.4.5