diff mbox

[U-Boot,2/2] arm:imx-common add function prototype for gpr set

Message ID 1414809840-27015-2-git-send-email-Peng.Fan@freescale.com
State Changes Requested
Delegated to: Stefano Babic
Headers show

Commit Message

Peng Fan Nov. 1, 2014, 2:44 a.m. UTC
This patch "arm:imx-common introduce a new function to set gpr"
missed to add the function prototype.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
---
 arch/arm/include/asm/imx-common/iomux-v3.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Stefano Babic Nov. 3, 2014, 9:28 a.m. UTC | #1
Hi Peng,

On 01/11/2014 03:44, Peng Fan wrote:
> This patch "arm:imx-common introduce a new function to set gpr"
> missed to add the function prototype.
> 

A fix of a previous patch makes sense when the patch was already merged.
In that case, the fix should also have in the message the commit-id of
the patch causing the issue.

Your patches are not yet merged: please send a new version of the
patchset fixing the issues you have found.

Best regards,
Stefano Babic
diff mbox

Patch

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)