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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
cce6be7f
Commit
cce6be7f
authored
11 years ago
by
David Feng
Committed by
Albert ARIBAUD
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
arm64: generic board support
Signed-off-by:
David Feng
<
fenghua@phytium.com.cn
>
parent
0ae76531
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
common/board_f.c
+13
-7
13 additions, 7 deletions
common/board_f.c
with
13 additions
and
7 deletions
common/board_f.c
+
13
−
7
View file @
cce6be7f
...
@@ -462,7 +462,7 @@ static int reserve_round_4k(void)
...
@@ -462,7 +462,7 @@ static int reserve_round_4k(void)
static
int
reserve_mmu
(
void
)
static
int
reserve_mmu
(
void
)
{
{
/* reserve TLB table */
/* reserve TLB table */
gd
->
arch
.
tlb_size
=
4096
*
4
;
gd
->
arch
.
tlb_size
=
PGTABLE_SIZE
;
gd
->
relocaddr
-=
gd
->
arch
.
tlb_size
;
gd
->
relocaddr
-=
gd
->
arch
.
tlb_size
;
/* round down to next 64 kB limit */
/* round down to next 64 kB limit */
...
@@ -614,7 +614,7 @@ static int reserve_stacks(void)
...
@@ -614,7 +614,7 @@ static int reserve_stacks(void)
* TODO(sjg@chromium.org): Perhaps create arch_reserve_stack()
* TODO(sjg@chromium.org): Perhaps create arch_reserve_stack()
* to handle this and put in arch/xxx/lib/stack.c
* to handle this and put in arch/xxx/lib/stack.c
*/
*/
# ifdef
CONFIG_ARM
# if
def
ined(CONFIG_ARM) && !defined(
CONFIG_ARM
64)
# ifdef CONFIG_USE_IRQ
# ifdef CONFIG_USE_IRQ
gd
->
start_addr_sp
-=
(
CONFIG_STACKSIZE_IRQ
+
CONFIG_STACKSIZE_FIQ
);
gd
->
start_addr_sp
-=
(
CONFIG_STACKSIZE_IRQ
+
CONFIG_STACKSIZE_FIQ
);
debug
(
"Reserving %zu Bytes for IRQ stack at: %08lx
\n
"
,
debug
(
"Reserving %zu Bytes for IRQ stack at: %08lx
\n
"
,
...
@@ -811,11 +811,6 @@ static int mark_bootstage(void)
...
@@ -811,11 +811,6 @@ static int mark_bootstage(void)
}
}
static
init_fnc_t
init_sequence_f
[]
=
{
static
init_fnc_t
init_sequence_f
[]
=
{
#if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \
!defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \
!defined(CONFIG_MPC86xx) && !defined(CONFIG_X86)
zero_global_data
,
#endif
#ifdef CONFIG_SANDBOX
#ifdef CONFIG_SANDBOX
setup_ram_buf
,
setup_ram_buf
,
#endif
#endif
...
@@ -1009,6 +1004,17 @@ void board_init_f(ulong boot_flags)
...
@@ -1009,6 +1004,17 @@ void board_init_f(ulong boot_flags)
gd
=
&
data
;
gd
=
&
data
;
#endif
#endif
/*
* Clear global data before it is accessed at debug print
* in initcall_run_list. Otherwise the debug print probably
* get the wrong vaule of gd->have_console.
*/
#if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \
!defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \
!defined(CONFIG_MPC86xx) && !defined(CONFIG_X86)
zero_global_data
();
#endif
gd
->
flags
=
boot_flags
;
gd
->
flags
=
boot_flags
;
if
(
initcall_run_list
(
init_sequence_f
))
if
(
initcall_run_list
(
init_sequence_f
))
...
...
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