Skip to content
Snippets Groups Projects
Commit da51e424 authored by Laurence Withers's avatar Laurence Withers Committed by U-Boot
Browse files

DaVinci EMAC: declare function for all DA8xx CPUs


The function davinci_emac_mii_mode_sel() is defined in
board/davinci/common/misc.c for any DA8xx CPU which has
CONFIG_DRIVER_TI_EMAC enabled. However, the prototype was only being
declared in <include/asm/arch/davinci_misc.h> for the DA850 EVM board.
This patch declares it for all DA8xx CPUs where CONFIG_DRIVER_TI_EMAC
is enabled.

Signed-off-by: default avatarLaurence Withers <lwithers@guralp.com>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent f517afd5
No related merge requests found
...@@ -57,7 +57,7 @@ void davinci_sync_env_enetaddr(uint8_t *rom_enetaddr); ...@@ -57,7 +57,7 @@ void davinci_sync_env_enetaddr(uint8_t *rom_enetaddr);
int davinci_configure_pin_mux(const struct pinmux_config *pins, int n_pins); int davinci_configure_pin_mux(const struct pinmux_config *pins, int n_pins);
int davinci_configure_pin_mux_items(const struct pinmux_resource *item, int davinci_configure_pin_mux_items(const struct pinmux_resource *item,
int n_items); int n_items);
#if defined(CONFIG_DRIVER_TI_EMAC) && defined(CONFIG_MACH_DAVINCI_DA850_EVM) #if defined(CONFIG_DRIVER_TI_EMAC) && defined(CONFIG_SOC_DA8XX)
void davinci_emac_mii_mode_sel(int mode_sel); void davinci_emac_mii_mode_sel(int mode_sel);
#endif #endif
#if defined(CONFIG_SOC_DA8XX) #if defined(CONFIG_SOC_DA8XX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment