Commit 5047334d authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Adam Wujek

further adaptation to WRPC V5 interfaces: migrated to console driver, updated…

further adaptation to WRPC V5 interfaces: migrated to console driver, updated include directories, removed unnecessary initialization calls
parent 6506b37c
......@@ -17,7 +17,7 @@
#include "dev/syscon.h"
#include "dev/endpoint.h"
#include "dev/pps_gen.h"
#include "dev/uart.h"
#include "dev/console.h"
#include "dev/rxts_calibrator.h"
#include "softpll_ng.h"
......@@ -106,9 +106,6 @@ int wrc_ptp_init()
{
struct pp_instance *ppi = &ppi_static;
sdb_find_devices();
uart_init_hw();
pp_printf("PPSi for WRPC. Commit %s, built on " __DATE__ "\n",
PPSI_VERSION);
......
......@@ -6,9 +6,9 @@
*/
#include <ppsi/ppsi.h>
#include "wrpc.h"
#include "dev/uart.h" /* wrpc-sw */
#include "dev/console.h" /* wrpc-sw */
void pp_puts(const char *s)
{
uart_write_string(s);
puts(s);
}
......@@ -10,7 +10,6 @@
#define __WRPC_H
#include <ppsi/ppsi.h>
#include <hw/memlayout.h>
#include <libwr/hal_shmem.h>
/* This part is exactly wrpc-sw::wrc_ptp.h */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment