Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
3766bb33
Commit
3766bb33
authored
13 years ago
by
Graeme Russ
Browse files
Options
Downloads
Patches
Plain Diff
x86: Set GD_FLG_RELOC after entering in-RAM copy of U-Boot
-- Changes for v2: - None
parent
9e6c572f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/x86/lib/board.c
+2
-2
2 additions, 2 deletions
arch/x86/lib/board.c
with
2 additions
and
2 deletions
arch/x86/lib/board.c
+
2
−
2
View file @
3766bb33
...
@@ -252,8 +252,6 @@ void board_init_f(ulong boot_flags)
...
@@ -252,8 +252,6 @@ void board_init_f(ulong boot_flags)
hang
();
hang
();
}
}
gd
->
flags
|=
GD_FLG_RELOC
;
/*
/*
* SDRAM is now initialised, U-Boot has been copied into SDRAM,
* SDRAM is now initialised, U-Boot has been copied into SDRAM,
* the BSS has been cleared etc. The final stack can now be setup
* the BSS has been cleared etc. The final stack can now be setup
...
@@ -322,6 +320,8 @@ void board_init_r(gd_t *id, ulong dest_addr)
...
@@ -322,6 +320,8 @@ void board_init_r(gd_t *id, ulong dest_addr)
/* compiler optimization barrier needed for GCC >= 3.4 */
/* compiler optimization barrier needed for GCC >= 3.4 */
__asm__
__volatile__
(
""
:
:
:
"memory"
);
__asm__
__volatile__
(
""
:
:
:
"memory"
);
gd
->
flags
|=
GD_FLG_RELOC
;
gd
->
bd
=
&
bd_data
;
gd
->
bd
=
&
bd_data
;
memset
(
gd
->
bd
,
0
,
sizeof
(
bd_t
));
memset
(
gd
->
bd
,
0
,
sizeof
(
bd_t
));
show_boot_progress
(
0x22
);
show_boot_progress
(
0x22
);
...
...
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