Commit 657874c8 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

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 6a535b97
......@@ -19,7 +19,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"
......@@ -100,9 +100,6 @@ static struct pp_globals ppg_static = {
int wrc_ptp_init()
{
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