Commit d6bafb9b authored by Catalin Marinas's avatar Catalin Marinas
Browse files

arm64: Populate the platform devices

This patch add a device_initcall() to populate the platform devices
(of_default_bus_match_table). This allows SoC implementations that do
not require earlier initcalls to avoid any platform-specific code under

GIC and generic timer initialisation is done via FDT and CPU notifiers
independently of the SoC code.
Signed-off-by: default avatarCatalin Marinas <>
Acked-by: default avatarArnd Bergmann <>
parent f1b99392
......@@ -39,6 +39,7 @@
#include <linux/proc_fs.h>
#include <linux/memblock.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <asm/cputype.h>
#include <asm/elf.h>
......@@ -289,6 +290,13 @@ static int __init topology_init(void)
static int __init arm64_device_probe(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
return 0;
static const char *hwcap_str[] = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment