[U-Boot] [PATCH v3 2/5] ARM: OMAP4/5: Centralize gpi2c_init

Lokesh Vutla a0131933 at ti.com
Thu Nov 5 06:46:53 CET 2015



On Thursday 05 November 2015 03:30 AM, Steve Kipisz wrote:
> Centralize gpi2c_init into omap_common from the sys_proto header so
> that the information can be reused across SoCs.

Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Thanks and regards,
Lokesh
> 
> Signed-off-by: Steve Kipisz <s-kipisz2 at ti.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> v3 Based on:
>  master     83bf0057 arm: at91: reworked meesc board support
> 
> Changes in v3 (since v2):
>  - No changes
> 
> v2:  http://marc.info/?t=144655344600007&r=1&w=2
>        (mailing list squashed original submission)
> 
> Changes in v2:
>  - New Patch
> 
>  arch/arm/include/asm/arch-omap4/sys_proto.h | 1 -
>  arch/arm/include/asm/arch-omap5/sys_proto.h | 1 -
>  arch/arm/include/asm/omap_common.h          | 3 +++
>  3 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h
> index 71e3d776aa0d..26e9a194f036 100644
> --- a/arch/arm/include/asm/arch-omap4/sys_proto.h
> +++ b/arch/arm/include/asm/arch-omap4/sys_proto.h
> @@ -51,7 +51,6 @@ void save_omap_boot_params(void);
>  void init_omap_revision(void);
>  void do_io_settings(void);
>  void sri2c_init(void);
> -void gpi2c_init(void);
>  int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
>  u32 warm_reset(void);
>  void force_emif_self_refresh(void);
> diff --git a/arch/arm/include/asm/arch-omap5/sys_proto.h b/arch/arm/include/asm/arch-omap5/sys_proto.h
> index b9e09e7c52a8..18902628739b 100644
> --- a/arch/arm/include/asm/arch-omap5/sys_proto.h
> +++ b/arch/arm/include/asm/arch-omap5/sys_proto.h
> @@ -62,7 +62,6 @@ void save_omap_boot_params(void);
>  void init_omap_revision(void);
>  void do_io_settings(void);
>  void sri2c_init(void);
> -void gpi2c_init(void);
>  int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
>  u32 warm_reset(void);
>  void force_emif_self_refresh(void);
> diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h
> index d7b81c101b79..d773b0430ad4 100644
> --- a/arch/arm/include/asm/omap_common.h
> +++ b/arch/arm/include/asm/omap_common.h
> @@ -617,6 +617,9 @@ void disable_edma3_clocks(void);
>  
>  void omap_die_id(unsigned int *die_id);
>  
> +/* Initialize general purpose I2C(0) on the SoC */
> +void gpi2c_init(void);
> +
>  /* ABB */
>  #define OMAP_ABB_NOMINAL_OPP		0
>  #define OMAP_ABB_FAST_OPP		1
> 


More information about the U-Boot mailing list