mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
omap-common: Rename set_muxconf_regs_essential to set_muxconf_regs
There is no distinction between essential and non-essential mux configuration, so it doesn't make sense to have an "essential" prefix. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
This commit is contained in:
parent
ed5ddebe96
commit
3ef56e61c8
11 changed files with 13 additions and 13 deletions
|
@ -35,13 +35,13 @@ static void set_mux_conf_regs(void)
|
|||
{
|
||||
switch (omap_hw_init_context()) {
|
||||
case OMAP_INIT_CONTEXT_SPL:
|
||||
set_muxconf_regs_essential();
|
||||
set_muxconf_regs();
|
||||
break;
|
||||
case OMAP_INIT_CONTEXT_UBOOT_AFTER_SPL:
|
||||
break;
|
||||
case OMAP_INIT_CONTEXT_UBOOT_FROM_NOR:
|
||||
case OMAP_INIT_CONTEXT_UBOOT_AFTER_CH:
|
||||
set_muxconf_regs_essential();
|
||||
set_muxconf_regs();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ void gpmc_init(void);
|
|||
void watchdog_init(void);
|
||||
u32 get_device_type(void);
|
||||
void do_set_mux(u32 base, struct pad_conf_entry const *array, int size);
|
||||
void set_muxconf_regs_essential(void);
|
||||
void set_muxconf_regs(void);
|
||||
u32 wait_on_value(u32, u32, void *, u32);
|
||||
void sdelay(unsigned long);
|
||||
void setup_early_clocks(void);
|
||||
|
|
|
@ -45,7 +45,7 @@ void watchdog_init(void);
|
|||
u32 get_device_type(void);
|
||||
void do_set_mux(u32 base, struct pad_conf_entry const *array, int size);
|
||||
void do_set_mux32(u32 base, struct pad_conf_entry const *array, int size);
|
||||
void set_muxconf_regs_essential(void);
|
||||
void set_muxconf_regs(void);
|
||||
u32 wait_on_value(u32, u32, void *, u32);
|
||||
void sdelay(unsigned long);
|
||||
void setup_early_clocks(void);
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if !defined(CONFIG_SPL_BUILD)
|
||||
inline void set_muxconf_regs_essential(void){};
|
||||
inline void set_muxconf_regs(void){};
|
||||
#endif
|
||||
|
||||
const struct omap_sysinfo sysinfo = {
|
||||
|
|
|
@ -75,10 +75,10 @@ const struct pad_conf_entry wkup_padconf_array_essential[] = {
|
|||
};
|
||||
|
||||
/*
|
||||
* Routine: set_muxconf_regs_essential
|
||||
* Routine: set_muxconf_regs
|
||||
* Description: setup board pinmux configuration.
|
||||
*/
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux((*ctrl)->control_padconf_core_base,
|
||||
core_padconf_array_essential,
|
||||
|
|
|
@ -87,7 +87,7 @@ int misc_init_r(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux((*ctrl)->control_padconf_core_base,
|
||||
core_padconf_array_essential,
|
||||
|
|
|
@ -335,7 +335,7 @@ int board_late_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux32((*ctrl)->control_padconf_core_base,
|
||||
early_padconf, ARRAY_SIZE(early_padconf));
|
||||
|
|
|
@ -338,7 +338,7 @@ void do_board_detect(void)
|
|||
}
|
||||
#endif /* CONFIG_SPL_BUILD */
|
||||
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux32((*ctrl)->control_padconf_core_base,
|
||||
early_padconf, ARRAY_SIZE(early_padconf));
|
||||
|
|
|
@ -198,7 +198,7 @@ int misc_init_r(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux((*ctrl)->control_padconf_core_base,
|
||||
core_padconf_array_essential,
|
||||
|
|
|
@ -268,7 +268,7 @@ int misc_init_r(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux((*ctrl)->control_padconf_core_base,
|
||||
core_padconf_array_essential,
|
||||
|
|
|
@ -53,7 +53,7 @@ int misc_init_r(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void set_muxconf_regs_essential(void)
|
||||
void set_muxconf_regs(void)
|
||||
{
|
||||
do_set_mux((*ctrl)->control_padconf_core_base,
|
||||
core_padconf_array_essential,
|
||||
|
|
Loading…
Reference in a new issue