Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software for White Rabbit PTP Core
Manage
Activity
Members
Labels
Plan
Issues
39
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Software for White Rabbit PTP Core
Commits
0e272874
Commit
0e272874
authored
13 years ago
by
Grzegorz Daniluk
Browse files
Options
Downloads
Patches
Plain Diff
wrcore_v2: update lm32 firmware loader
parent
2f883ce3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/lm32-loader.c
+3
-3
3 additions, 3 deletions
tools/lm32-loader.c
with
3 additions
and
3 deletions
tools/lm32-loader.c
+
3
−
3
View file @
0e272874
...
...
@@ -26,7 +26,7 @@
#define BASE_PCIE 0x80000
#define BASE_MBONE 0x00000
#define RST_ADDR 0x
620
00
#define RST_ADDR 0x
C04
00
#define MEM_ADDR 0x0
#include
"rr_io.h"
...
...
@@ -63,7 +63,7 @@ int conv_endian(int x)
void
rst_lm32
(
int
rst
)
{
spec_writel
(
rst
?
1
:
0
,
RST_ADDR
);
spec_writel
(
rst
?
0x1deadbee
:
0x0deadbee
,
RST_ADDR
);
}
void
copy_lm32
(
uint32_t
*
buf
,
int
buf_nwords
,
uint32_t
base_addr
)
...
...
@@ -154,4 +154,4 @@ int main(int argc, char **argv)
return
0
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment