mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
fdt: Add correct return for early_init_dt_scan_memory
For currently if return 0 it will search the whole device tree blob for all device type memory. It will affect the unnecessary boot up time. Change-Id: I688b54eda224b744bbc7e706f8b70cccdf8cc38c Signed-off-by: Maria Yu <aiquny@codeaurora.org>
This commit is contained in:
parent
1a6f8ce5e2
commit
ed7fcc393d
1 changed files with 1 additions and 1 deletions
|
|
@ -1037,7 +1037,7 @@ int __init early_init_dt_scan_memory(unsigned long node, const char *uname,
|
|||
base, base + size);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue