lwip: RGMII Ethernet not working on Artix devices

Avoid inlining of the AxiEthernetPhyDelay routine by the toolchain. Inlining of
this function can cause issues for certain use cases.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
This commit is contained in:
Kedareswara rao Appana 2015-05-18 11:34:59 +05:30 committed by Nava kishore Manne
parent 3306d5853c
commit 16f7e78a11
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
Change Log for lwip
=================================
2015-05-15
* Don't align the functions with the Toolchain. Fix RGMII Ethernet
Not working on Artix devices (CR#861391).
2015-03-12
* Fix compilation Errors during generation of LWIP Echo server
application (CR#853861).

View file

@ -138,7 +138,7 @@
#define IEEE_CTRL_ISOLATE_DISABLE 0xFBFF
#endif
static void AxiEthernetUtilPhyDelay(unsigned int Seconds);
static void __attribute__ ((noinline)) AxiEthernetUtilPhyDelay(unsigned int Seconds);
static int detect_phy(XAxiEthernet *xaxiemacp)
{
@ -574,7 +574,7 @@ unsigned Phy_Setup (XAxiEthernet *xaxiemacp)
return link_speed;
}
static void AxiEthernetUtilPhyDelay(unsigned int Seconds)
static void __attribute__ ((noinline)) AxiEthernetUtilPhyDelay(unsigned int Seconds)
{
#if defined (__MICROBLAZE__) || defined(__PPC__)
static int WarningFlag = 0;