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
f0082e3c
Commit
f0082e3c
authored
Dec 30, 2013
by
Rob Herring
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'grant/devicetree/merge' into dt-fixes
parents
5d3ad8a6
6f041e99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
drivers/of/fdt.c
drivers/of/fdt.c
+10
-2
No files found.
drivers/of/fdt.c
View file @
f0082e3c
...
...
@@ -922,8 +922,16 @@ void __init unflatten_device_tree(void)
*/
void
__init
unflatten_and_copy_device_tree
(
void
)
{
int
size
=
__be32_to_cpu
(
initial_boot_params
->
totalsize
);
void
*
dt
=
early_init_dt_alloc_memory_arch
(
size
,
int
size
;
void
*
dt
;
if
(
!
initial_boot_params
)
{
pr_warn
(
"No valid device tree found, continuing without
\n
"
);
return
;
}
size
=
__be32_to_cpu
(
initial_boot_params
->
totalsize
);
dt
=
early_init_dt_alloc_memory_arch
(
size
,
__alignof__
(
struct
boot_param_header
));
if
(
dt
)
{
...
...
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