mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 14:43:49 +09:00
ARM: OMAP4/5: Centralize gpi2c_init
Centralize gpi2c_init into omap_common from the sys_proto header so that the information can be reused across SoCs. Signed-off-by: Steve Kipisz <s-kipisz2@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
93e6253d11
commit
725700dcbf
@ -51,7 +51,6 @@ void save_omap_boot_params(void);
|
|||||||
void init_omap_revision(void);
|
void init_omap_revision(void);
|
||||||
void do_io_settings(void);
|
void do_io_settings(void);
|
||||||
void sri2c_init(void);
|
void sri2c_init(void);
|
||||||
void gpi2c_init(void);
|
|
||||||
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
|
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
|
||||||
u32 warm_reset(void);
|
u32 warm_reset(void);
|
||||||
void force_emif_self_refresh(void);
|
void force_emif_self_refresh(void);
|
||||||
|
@ -62,7 +62,6 @@ void save_omap_boot_params(void);
|
|||||||
void init_omap_revision(void);
|
void init_omap_revision(void);
|
||||||
void do_io_settings(void);
|
void do_io_settings(void);
|
||||||
void sri2c_init(void);
|
void sri2c_init(void);
|
||||||
void gpi2c_init(void);
|
|
||||||
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
|
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
|
||||||
u32 warm_reset(void);
|
u32 warm_reset(void);
|
||||||
void force_emif_self_refresh(void);
|
void force_emif_self_refresh(void);
|
||||||
|
@ -617,6 +617,9 @@ void disable_edma3_clocks(void);
|
|||||||
|
|
||||||
void omap_die_id(unsigned int *die_id);
|
void omap_die_id(unsigned int *die_id);
|
||||||
|
|
||||||
|
/* Initialize general purpose I2C(0) on the SoC */
|
||||||
|
void gpi2c_init(void);
|
||||||
|
|
||||||
/* ABB */
|
/* ABB */
|
||||||
#define OMAP_ABB_NOMINAL_OPP 0
|
#define OMAP_ABB_NOMINAL_OPP 0
|
||||||
#define OMAP_ABB_FAST_OPP 1
|
#define OMAP_ABB_FAST_OPP 1
|
||||||
|
Loading…
Reference in New Issue
Block a user