@@ -1355,12 +1355,6 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt)
/* Catalog decompression routine */
imc_decompress_catalog();
- /* Virtual Accelerator Switchboard */
- vas_init();
-
- /* NX init */
- nx_init();
-
/* Probe all HWPROBE hardware we have code linked for */
probe_hardware();
@@ -136,3 +136,5 @@ void nx_init(void)
if (proc_gen >= proc_gen_p9)
darn_init();
}
+
+DEFINE_HWPROBE_DEPS(nx, nx_init, "vas");
@@ -637,3 +637,5 @@ out:
vas_err("Disabled (failed initialization)\n");
return;
}
+
+DEFINE_HWPROBE(vas, vas_init);