Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mock-turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hdl-core-lib
mock-turtle
Commits
4f5e52a1
Commit
4f5e52a1
authored
Jul 27, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: error if failed to detect endianess
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
caf23c2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mockturtle-core.c
software/kernel/mockturtle-core.c
+3
-1
No files found.
software/kernel/mockturtle-core.c
View file @
4f5e52a1
...
...
@@ -537,7 +537,9 @@ int trtl_probe(struct platform_device *pdev)
trtl
->
base_hmq
=
trtl
->
base_core
+
TRTL_ADDR_OFFSET_HMQ
;
trtl
->
base_cfg
=
trtl
->
base_core
+
TRTL_ADDR_OFFSET_CONFIG_ROM
;
trtl_memops_detect
(
trtl
);
err
=
trtl_memops_detect
(
trtl
);
if
(
err
)
return
err
;
/* Register the device */
err
=
dev_set_name
(
&
trtl
->
dev
,
"trtl-%04x"
,
pdev
->
id
);
...
...
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