mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 12:57:13 +00:00
mx6: soc: Staticize set_vddsoc()
set_vddsoc() is not used anywhere else, so make it static. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
5dc64ab730
commit
fc740648bd
2 changed files with 1 additions and 3 deletions
|
@ -101,7 +101,7 @@ void init_aips(void)
|
||||||
* Possible values are from 0.725V to 1.450V in steps of
|
* Possible values are from 0.725V to 1.450V in steps of
|
||||||
* 0.025V (25mV).
|
* 0.025V (25mV).
|
||||||
*/
|
*/
|
||||||
void set_vddsoc(u32 mv)
|
static void set_vddsoc(u32 mv)
|
||||||
{
|
{
|
||||||
struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;
|
struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;
|
||||||
u32 val, reg = readl(&anatop->reg_core);
|
u32 val, reg = readl(&anatop->reg_core);
|
||||||
|
|
|
@ -29,8 +29,6 @@ u32 get_cpu_rev(void);
|
||||||
const char *get_imx_type(u32 imxtype);
|
const char *get_imx_type(u32 imxtype);
|
||||||
unsigned imx_ddr_size(void);
|
unsigned imx_ddr_size(void);
|
||||||
|
|
||||||
void set_vddsoc(u32 mv);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes on-chip ethernet controllers.
|
* Initializes on-chip ethernet controllers.
|
||||||
* to override, implement board_eth_init()
|
* to override, implement board_eth_init()
|
||||||
|
|
Loading…
Add table
Reference in a new issue