diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2015-09-19 10:56:41 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 18:22:16 (GMT) |
commit | e6d71e1ca5dc40e871e53ad0d14d68676cf92601 (patch) | |
tree | a5d81df8816038e0f479b644926255c6b9af38bc /arch/arm/include/asm/ti-common | |
parent | bda920c65e7cc299e6ef0dc6e676fe672609ce12 (diff) | |
download | u-boot-e6d71e1ca5dc40e871e53ad0d14d68676cf92601.tar.xz |
ARM: k2g: Add clock information
Add clock information for Galileo
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'arch/arm/include/asm/ti-common')
-rw-r--r-- | arch/arm/include/asm/ti-common/keystone_net.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h index 011c03c..4b5ea05 100644 --- a/arch/arm/include/asm/ti-common/keystone_net.h +++ b/arch/arm/include/asm/ti-common/keystone_net.h @@ -49,7 +49,11 @@ #define MAC_ID_BASE_ADDR CONFIG_KSNET_MAC_ID_BASE /* MDIO module input frequency */ +#ifdef CONFIG_SOC_K2G +#define EMAC_MDIO_BUS_FREQ (clk_get_rate(sys_clk0_3_clk)) +#else #define EMAC_MDIO_BUS_FREQ (clk_get_rate(pass_pll_clk)) +#endif /* MDIO clock output frequency */ #define EMAC_MDIO_CLOCK_FREQ 2500000 /* 2.5 MHz */ |