Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lk
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
CodeLinaro
la(Archived)
kernel
lk
Commits
1acdc785
Commit
1acdc785
authored
5 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "target: mdm9607: Increase size of scratch memory."
parents
f75ddaf6
a49a4c32
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
platform/mdm9607/platform.c
+6
-3
6 additions, 3 deletions
platform/mdm9607/platform.c
target/mdm9607/meminfo.c
+2
-2
2 additions, 2 deletions
target/mdm9607/meminfo.c
target/mdm9607/rules.mk
+6
-2
6 additions, 2 deletions
target/mdm9607/rules.mk
with
14 additions
and
7 deletions
platform/mdm9607/platform.c
+
6
−
3
View file @
1acdc785
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015,
2020
The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
...
...
@@ -53,6 +53,8 @@
#define SCRATCH_REGION1_VIRT_START_128 0x88000000
#define SCRATCH_REGION2_VIRT_START_128 (SCRATCH_REGION1_VIRT_START_128 + SCRATCH_REGION1_SIZE_128)
#define SCRATCH_REGION2_VIRT_START_256 (SCRATCH_REGION_256 + SCRATCH_REGION_SIZE_256)
static
void
ddr_based_mmu_mappings
(
mmu_section_t
*
table
,
uint32_t
table_size
);
static
uint64_t
ddr_size
;
static
void
board_ddr_detect
();
...
...
@@ -81,6 +83,7 @@ mmu_section_t mmu_section_table_128[] = {
mmu_section_t
mmu_section_table_256
[]
=
{
{
SCRATCH_REGION_256
,
SCRATCH_REGION_256
,
SCRATCH_REGION_SIZE_256
/
MB
,
SCRATCH_MEMORY
},
{
SCRATCH_REGION2_256
,
SCRATCH_REGION2_VIRT_START_256
,
SCRATCH_REGION2_SIZE_256
/
MB
,
SCRATCH_MEMORY
},
{
KERNEL_REGION
,
KERNEL_REGION
,
KERNEL_REGION_SIZE
/
MB
,
SCRATCH_MEMORY
},
};
...
...
This diff is collapsed.
Click to expand it.
target/mdm9607/meminfo.c
+
2
−
2
View file @
1acdc785
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015,
2020
The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
...
...
@@ -103,5 +103,5 @@ unsigned target_get_max_flash_size(void)
return
(
SCRATCH_REGION1_SIZE_128
+
SCRATCH_REGION2_SIZE_128
);
else
/*256MB DDR scratch size*/
return
(
SCRATCH_REGION_SIZE_256
);
return
(
SCRATCH_REGION_SIZE_256
+
SCRATCH_REGION2_SIZE_256
);
}
This diff is collapsed.
Click to expand it.
target/mdm9607/rules.mk
+
6
−
2
View file @
1acdc785
...
...
@@ -15,11 +15,13 @@ SCRATCH_REGION2_128 := 0x80000000
SCRATCH_REGION2_SIZE_128
:=
0x02900000
# 41M
KERNEL_REGION
:=
0x80000000
KERNEL_REGION_SIZE
:=
0x2000000
# 2
0
MB
KERNEL_REGION_SIZE
:=
0x
0
2000000
#
3
2MB
SCRATCH_ADDR_256
:=
0x88000000
SCRATCH_REGION_256
:=
0x88000000
SCRATCH_REGION2_256
:=
0x82A00000
SCRATCH_REGION_SIZE_256
:=
0x08000000
# 128MB
SCRATCH_REGION2_SIZE_256
:=
0x05000000
# 80MB
BASE_ADDR
:=
0x80000000
...
...
@@ -39,11 +41,13 @@ DEFINES += \
SCRATCH_ADDR_128
=
$(
SCRATCH_ADDR_128
)
\
SCRATCH_ADDR_256
=
$(
SCRATCH_ADDR_256
)
\
SCRATCH_REGION_256
=
$(
SCRATCH_REGION_256
)
\
SCRATCH_REGION2_256
=
$(
SCRATCH_REGION2_256
)
\
SCRATCH_REGION1_128
=
$(
SCRATCH_REGION1_128
)
\
SCRATCH_REGION2_128
=
$(
SCRATCH_REGION2_128
)
\
SCRATCH_REGION1_SIZE_128
=
$(
SCRATCH_REGION1_SIZE_128
)
\
SCRATCH_REGION2_SIZE_128
=
$(
SCRATCH_REGION2_SIZE_128
)
\
SCRATCH_REGION_SIZE_256
=
$(
SCRATCH_REGION_SIZE_256
)
\
SCRATCH_REGION2_SIZE_256
=
$(
SCRATCH_REGION2_SIZE_256
)
\
KERNEL_REGION
=
$(
KERNEL_REGION
)
\
KERNEL_REGION_SIZE
=
$(
KERNEL_REGION_SIZE
)
...
...
This diff is collapsed.
Click to expand it.
CodeLinaro
@codelinaro
mentioned in commit
d4f723c3
·
3 years ago
mentioned in commit
d4f723c3
mentioned in commit d4f723c32ef3aa0d8d13ba1ebbf2db45fe110bec
Toggle commit list
CodeLinaro
@codelinaro
mentioned in commit
8d107817
·
3 years ago
mentioned in commit
8d107817
mentioned in commit 8d1078178881aa58d042ae15f6cf6435c60adcec
Toggle commit list
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