lwip: Use xil_printf instead of printf
printf is used only in two places and it was requested to remove these as it will reduce the size of the library. Signed-off-by: Harini Katakam <harinik@xilinx.com> Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
c7705e5843
commit
151bb50243
3 changed files with 3 additions and 2 deletions
1
ThirdParty/sw_services/lwip141/src/ChangeLog
vendored
1
ThirdParty/sw_services/lwip141/src/ChangeLog
vendored
|
@ -4,6 +4,7 @@ Change Log for lwip
|
|||
* Created a new version lwip141_v1_3.
|
||||
* Made changes in xemacpsif_dma.c to add required barriers.
|
||||
* Remove repeated sysarch protect and unprotect calls.
|
||||
* Replace printf with xil_printf.
|
||||
2015-09-09
|
||||
* Fix compilation issues with the non hier axi eth design
|
||||
2015-09-04
|
||||
|
|
|
@ -95,6 +95,6 @@ typedef unsigned long mem_ptr_t;
|
|||
#define PACK_STRUCT_END
|
||||
|
||||
#define LWIP_PLATFORM_ASSERT(x)
|
||||
#define LWIP_PLATFORM_DIAG(x) do { printf x; } while(0)
|
||||
#define LWIP_PLATFORM_DIAG(x) do { xil_printf x; } while(0)
|
||||
|
||||
#endif /* __ARCH_CC_H__ */
|
||||
|
|
|
@ -176,7 +176,7 @@ xemac_add(struct netif *netif,
|
|||
#endif
|
||||
#endif
|
||||
default:
|
||||
printf("unable to determine type of EMAC with baseaddress 0x%08x\r\n",
|
||||
xil_printf("unable to determine type of EMAC with baseaddress 0x%08x\r\n",
|
||||
mac_baseaddr);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue