mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch
This patch refactors the early init parsing of the chosen node so that architectures aren't forced to provide an empty implementation of early_init_dt_scan_chosen_arch. Instead, if an architecture wants to do something different, it can either use a wrapper function around early_init_dt_scan_chosen(), or it can replace it altogether. This patch was written in preparation to adding device tree support to both x86 ad MIPS. Signed-off-by: Grant Likely <[email protected]> Tested-by: David Daney <[email protected]>
This commit is contained in:
parent
7096d04221
commit
32c97689c4
4 changed files with 11 additions and 10 deletions
|
|
@ -533,8 +533,6 @@ int __init early_init_dt_scan_chosen(unsigned long node, const char *uname,
|
|||
strlcpy(cmd_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
|
||||
#endif /* CONFIG_CMDLINE */
|
||||
|
||||
early_init_dt_scan_chosen_arch(node);
|
||||
|
||||
pr_debug("Command line is: %s\n", cmd_line);
|
||||
|
||||
/* break now */
|
||||
|
|
|
|||
Loading…
Reference in a new issue