summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6/clock.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-08-12 17:46:50 +0800
committerStefano Babic <sbabic@denx.de>2015-09-02 15:29:14 +0200
commit6d97dc10a81062a787fcf5e5df7b88d1ea122a64 (patch)
treea817e1d0a39138fcaed73168422db7b83aa80eff /arch/arm/include/asm/arch-mx6/clock.h
parentfc684e87a1d1342cecbaf68ad8690482e4baff76 (diff)
imx: clock support enet2 anatop clock support
To i.MX6SX/UL, two ethernet interfaces are supported. Add ENET2 clock support: 1. Introduce a new input parameter "fec_id", only 0 and 1 are allowed. To value 1, only i.MX6SX/UL can pass the check. 2. Modify board code who use this api to follow new api prototype. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Heiko Schocher <hs@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefan Roese <sr@denx.de> Cc: Nikolaos Pasaloukos <Nikolaos.Pasaloukos@imgtec.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/clock.h')
-rw-r--r--arch/arm/include/asm/arch-mx6/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx6/clock.h b/arch/arm/include/asm/arch-mx6/clock.h
index 7b3bbb8185..2b220d6f8f 100644
--- a/arch/arm/include/asm/arch-mx6/clock.h
+++ b/arch/arm/include/asm/arch-mx6/clock.h
@@ -64,7 +64,7 @@ int enable_pcie_clock(void);
int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
int enable_spi_clk(unsigned char enable, unsigned spi_num);
void enable_ipu_clock(void);
-int enable_fec_anatop_clock(enum enet_freq freq);
+int enable_fec_anatop_clock(int fec_id, enum enet_freq freq);
void enable_enet_clk(unsigned char enable);
void enable_qspi_clk(int qspi_num);
void enable_thermal_clk(void);