diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2017-05-24 22:02:11 -0700 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-01 12:39:23 +1000 |
commit | 3b0a9da5be5b9f0dff7e4eddeb83971734f19659 (patch) | |
tree | 7051366b8c0639569ff427c74fe30995af0f22b1 /core/init.c | |
parent | 31120a7e021fc3a3b3185d3fa839e2e135d4d83c (diff) | |
download | talos-skiboot-3b0a9da5be5b9f0dff7e4eddeb83971734f19659.tar.gz talos-skiboot-3b0a9da5be5b9f0dff7e4eddeb83971734f19659.zip |
vas: Initialize VAS registers
Initialize the VAS registers on each of instance that we discover.
Initializing VAS involves writing either pre-defined values or allocated
addresses to appropriate SCOM addresses.
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
[stewart@linux.vnet.ibm.com: update phys_map_get API usage]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/init.c')
-rw-r--r-- | core/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/init.c b/core/init.c index 466a4263..61b531c7 100644 --- a/core/init.c +++ b/core/init.c @@ -45,6 +45,7 @@ #include <sensor.h> #include <xive.h> #include <nvram.h> +#include <vas.h> #include <libstb/stb.h> #include <libstb/container.h> #include <phys-map.h> @@ -1002,6 +1003,9 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) preload_capp_ucode(); start_preload_kernel(); + /* Virtual Accelerator Switchboard */ + vas_init(); + /* NX init */ nx_init(); |