Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
cd8978bb
Commit
cd8978bb
authored
Nov 04, 2022
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
board.c: fix build failure
parent
8c2cf3b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
board.c
boards/sis8300ku/board.c
+5
-5
No files found.
boards/sis8300ku/board.c
View file @
cd8978bb
...
...
@@ -2,13 +2,16 @@
#include "dev/bb_spi.h"
#include "dev/spi_flash.h"
#include "dev/syscon.h"
#include "dev/endpoint.h"
#include "dev/netif.h"
#include "softpll_ng.h"
#include "storage.h"
#include <wrc-event.h>
#include "wrc-debug.h"
static
uint8_t
board_mac_addr
[
6
];
extern
uint32_t
sdbfs_default_bin
[]
=
const
uint32_t
sdbfs_default_bin
[]
=
{
#include "sdbfs-image.h"
};
...
...
@@ -42,9 +45,6 @@ static void sis83k_read_persistent_mac( uint8_t *mac )
int
wrc_board_early_init
()
{
int
memtype
;
uint32_t
sdbfs_entry
;
/*
* declare GPIO pins and configure their directions for bit-banging SPI
* limit SPI speed to 10MHz by setting bit_delay = CPU_CLOCK / 10^6
...
...
@@ -110,7 +110,7 @@ int wrc_board_early_init()
static
int
sis83k_handle_event
(
int
event
)
static
void
sis83k_handle_event
(
int
event
)
{
if
(
event
==
WRC_EVENT_LINK_DOWN
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment