Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha
Commits
e9ab8ca8
Commit
e9ab8ca8
authored
Jun 08, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/lib: fixed Makefiles/includes to support SPEC's firmware loader
parent
29f35be5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
Makefile
software/lib/Makefile
+3
-3
fdelay_dmtd_calibration.c
software/lib/fdelay_dmtd_calibration.c
+0
-2
spec_common.c
software/lib/spec_common.c
+1
-3
No files found.
software/lib/Makefile
View file @
e9ab8ca8
OBJS
=
fdelay_lib.o i2c_master.o onewire.o spec_common.o spec/
speclib
.o fdelay_dmtd_calibration.o
OBJS
=
fdelay_lib.o i2c_master.o onewire.o spec_common.o spec/
tools/speclib.o spec/kernel/loader-ll
.o fdelay_dmtd_calibration.o
CFLAGS
=
-I
../include
-g
-Imini_bone
CFLAGS
=
-I
../include
-g
-Imini_bone
-Ispec
/tools
ifeq
($(SPEC_SW),)
throw_error
:
...
...
@@ -11,7 +11,7 @@ endif
all
:
spec lib
spec
:
ln
-s
$(SPEC_SW)
/tools
spec
ln
-s
$(SPEC_SW)
spec
lib
:
$(OBJS)
gcc
-shared
-o
libfinedelay.so
$(OBJS)
...
...
software/lib/fdelay_dmtd_calibration.c
View file @
e9ab8ca8
...
...
@@ -33,8 +33,6 @@
#include "fdelay_lib.h"
#include "fdelay_private.h"
#include "spec/speclib.h"
extern
void
dbg
(
const
char
*
fmt
,
...);
extern
int64_t
get_tics
();
...
...
software/lib/spec_common.c
View file @
e9ab8ca8
...
...
@@ -2,11 +2,9 @@
#include <stdint.h>
#include <getopt.h>
#include "spec/speclib.h"
#include "spec/
tools/
speclib.h"
#include "fdelay_lib.h"
void
loader_low_level
(){};
/* fixme: include the kernel file */
static
void
fd_spec_writel
(
void
*
priv
,
uint32_t
data
,
uint32_t
addr
)
{
spec_writel
(
priv
,
data
,
addr
);
...
...
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