[U-Boot] [PATCH] i.MX6: define IOMUX_GPR3 register bitfields

Eric Nelson eric.nelson at boundarydevices.com
Sat Sep 22 03:14:29 CEST 2012


On 09/21/2012 05:14 PM, Troy Kisky wrote:
> On 9/21/2012 2:41 PM, Eric Nelson wrote:
>> Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
>> ---
>> arch/arm/include/asm/arch-mx6/imx-regs.h | 48 ++++++++++++++++++++++++++++++
>> 1 files changed, 48 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h
>> b/arch/arm/include/asm/arch-mx6/imx-regs.h
>> index cb284e2..13fe1bf 100644
>> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
>> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
>> @@ -273,6 +273,54 @@ struct iomuxc {
>> #define IOMUXC_GPR2_LVDS_CH0_MODE_ENABLED_DI0
>> (IOMUXC_GPR2_MODE_ENABLED_DI0<<IOMUXC_GPR2_LVDS_CH0_MODE_OFFSET)
>> #define IOMUXC_GPR2_LVDS_CH0_MODE_ENABLED_DI1
>> (IOMUXC_GPR2_MODE_ENABLED_DI1<<IOMUXC_GPR2_LVDS_CH0_MODE_OFFSET)
>> +/* GPR3 bitfields */
>> +#define IOMUXC_GPR3_GPU_DBG_OFFSET 29
>>
> Can you please move to iomux.h?
>

Works for me.

I assume the same for previous addition of IOMUXC_GPR2_blah.

What about 'struct iomuxc'?

Please advise,


Eric


More information about the U-Boot mailing list