diff options
author | Stewart Smith <stewart@flamingspork.com> | 2021-12-20 22:22:50 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-01-03 16:12:45 +0100 |
commit | 99e4dfe53a57c8057929cd7de6825f7dc2e8e878 (patch) | |
tree | 9e711188439f9c4dd26aad948e5bb373c2349c70 /hw | |
parent | 65d9909a7556eb94cb4ef07f636a37c326ebaade (diff) | |
download | skiboot-99e4dfe53a57c8057929cd7de6825f7dc2e8e878.zip skiboot-99e4dfe53a57c8057929cd7de6825f7dc2e8e878.tar.gz skiboot-99e4dfe53a57c8057929cd7de6825f7dc2e8e878.tar.bz2 |
hwprobe: convert vas_init(), nx_init()
Convert VAS and NX to use the hwprobe facility for init.
Reviewed-by: Dan Horák <dan@danny.cz>
[npiggin: remove imc_init because it moved later in boot (fbcbd4e47c)]
Signed-off-by: Stewart Smith <stewart@flamingspork.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/nx.c | 2 | ||||
-rw-r--r-- | hw/vas.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -137,3 +137,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); |