Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f759ee57
Commit
f759ee57
authored
Jan 23, 2015
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: Ensure DT mem base is same as what kernel is built with
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
483bcc99
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
6 deletions
+8
-6
arch/arc/boot/dts/axc001.dtsi
arch/arc/boot/dts/axc001.dtsi
+1
-1
arch/arc/boot/dts/axc003.dtsi
arch/arc/boot/dts/axc003.dtsi
+1
-1
arch/arc/boot/dts/axc003_idu.dtsi
arch/arc/boot/dts/axc003_idu.dtsi
+1
-1
arch/arc/boot/dts/skeleton.dtsi
arch/arc/boot/dts/skeleton.dtsi
+1
-1
arch/arc/boot/dts/vdk_axc003.dtsi
arch/arc/boot/dts/vdk_axc003.dtsi
+1
-1
arch/arc/boot/dts/vdk_axc003_idu.dtsi
arch/arc/boot/dts/vdk_axc003_idu.dtsi
+1
-1
arch/arc/mm/init.c
arch/arc/mm/init.c
+2
-0
No files found.
arch/arc/boot/dts/axc001.dtsi
View file @
f759ee57
...
...
@@ -95,6 +95,6 @@ memory {
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x40000000>;
device_type = "memory";
reg = <0x
0
0000000 0x20000000>; /* 512MiB */
reg = <0x
8
0000000 0x20000000>; /* 512MiB */
};
};
arch/arc/boot/dts/axc003.dtsi
View file @
f759ee57
...
...
@@ -98,6 +98,6 @@ memory {
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x40000000>;
device_type = "memory";
reg = <0x
0
0000000 0x20000000>; /* 512MiB */
reg = <0x
8
0000000 0x20000000>; /* 512MiB */
};
};
arch/arc/boot/dts/axc003_idu.dtsi
View file @
f759ee57
...
...
@@ -121,6 +121,6 @@ memory {
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x40000000>;
device_type = "memory";
reg = <0x
0
0000000 0x20000000>; /* 512MiB */
reg = <0x
8
0000000 0x20000000>; /* 512MiB */
};
};
arch/arc/boot/dts/skeleton.dtsi
View file @
f759ee57
...
...
@@ -32,6 +32,6 @@ cpu@0 {
memory {
device_type = "memory";
reg = <0x
0
0000000 0x10000000>; /* 256M */
reg = <0x
8
0000000 0x10000000>; /* 256M */
};
};
arch/arc/boot/dts/vdk_axc003.dtsi
View file @
f759ee57
...
...
@@ -56,6 +56,6 @@ memory {
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x40000000>;
device_type = "memory";
reg = <0x
0
0000000 0x20000000>; /* 512MiB */
reg = <0x
8
0000000 0x20000000>; /* 512MiB */
};
};
arch/arc/boot/dts/vdk_axc003_idu.dtsi
View file @
f759ee57
...
...
@@ -71,6 +71,6 @@ memory {
#size-cells = <1>;
ranges = <0x00000000 0x80000000 0x40000000>;
device_type = "memory";
reg = <0x
0
0000000 0x20000000>; /* 512MiB */
reg = <0x
8
0000000 0x20000000>; /* 512MiB */
};
};
arch/arc/mm/init.c
View file @
f759ee57
...
...
@@ -43,6 +43,8 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size)
{
arc_mem_sz
=
size
&
PAGE_MASK
;
pr_info
(
"Memory size set via devicetree %ldM
\n
"
,
TO_MB
(
arc_mem_sz
));
BUG_ON
(
base
!=
CONFIG_LINUX_LINK_BASE
);
}
#ifdef CONFIG_BLK_DEV_INITRD
...
...
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