Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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
Show more breadcrumbs
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
6050c754
Commit
6050c754
authored
14 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'next' of
git://git.denx.de/u-boot-nios
parents
67bd9414
7a6a7d10
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/nios2/cpu/cpu.c
+5
-6
5 additions, 6 deletions
arch/nios2/cpu/cpu.c
arch/nios2/include/asm/system.h
+5
-0
5 additions, 0 deletions
arch/nios2/include/asm/system.h
arch/nios2/lib/bootm.c
+1
-1
1 addition, 1 deletion
arch/nios2/lib/bootm.c
with
11 additions
and
7 deletions
arch/nios2/cpu/cpu.c
+
5
−
6
View file @
6050c754
...
...
@@ -40,11 +40,10 @@ int checkcpu (void)
return
(
0
);
}
int
do_reset
(
void
)
int
do_reset
(
void
)
{
void
(
*
rst
)(
void
)
=
(
void
(
*
)(
void
))
CONFIG_SYS_RESET_ADDR
;
disable_interrupts
();
rst
(
);
return
(
0
)
;
disable_interrupts
()
;
/* indirect call to go beyond 256MB limitation of toolchain */
nios2_callr
(
CONFIG_SYS_RESET_ADDR
);
return
0
;
}
This diff is collapsed.
Click to expand it.
arch/nios2/include/asm/system.h
+
5
−
0
View file @
6050c754
...
...
@@ -56,4 +56,9 @@
((flags & NIOS2_STATUS_PIE_MSK) == 0x0); \
})
/* indirect call to go beyond 256MB limitation of toolchain */
#define nios2_callr(addr) __asm__ __volatile__ ( \
"callr %0" \
: : "r" (addr))
#endif
/* __ASM_NIOS2_SYSTEM_H */
This diff is collapsed.
Click to expand it.
arch/nios2/lib/bootm.c
+
1
−
1
View file @
6050c754
...
...
@@ -42,7 +42,7 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *ima
if
(
boot_get_fdt
(
flag
,
argc
,
argv
,
images
,
&
of_flat_tree
,
&
of_size
))
return
1
;
#endif
if
(
!
of_flat_tree
)
if
(
!
of_flat_tree
&&
argc
>
3
)
of_flat_tree
=
(
char
*
)
simple_strtoul
(
argv
[
3
],
NULL
,
16
);
if
(
of_flat_tree
)
initrd_end
=
(
ulong
)
of_flat_tree
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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