OpenCores
URL https://opencores.org/ocsvn/1g_ethernet_dpi/1g_ethernet_dpi/trunk

Subversion Repositories 1g_ethernet_dpi

[/] [1g_ethernet_dpi/] [tags/] [vmblite_base/] [sw/] [test_main/] [platform/] [platform.c] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 kuzmi4
 
2
#include "platform.h"
3
 
4
#ifdef PLTFRM_WBS_PIO
5
 #include "wb_pio.h"
6
#endif /* PLTFRM_WBS_PIO */
7
 
8
#ifdef PLTFRM_WBS_UART
9
 #include "wb_uart.h"
10
#endif /* PLTFRM_WBS_UART */
11
 
12
void init_platform(void)
13
{
14
#ifdef PLTFRM_WBS_PIO
15
    wb_pio_init(PLTFRM_WBS_PIO_BASEADDR);
16
#endif /* PLTFRM_WBS_PIO */
17
 
18
#ifdef PLTFRM_WBS_UART
19
    wb_uart_init(PLTFRM_WBS_UART_BASEADDR);
20
#endif /* PLTFRM_WBS_UART */
21
}
22
 
23
void cleanup_platform(void)
24
{
25
 
26
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.