aboutsummaryrefslogtreecommitdiff
path: root/include/skiboot.h
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2018-09-14 13:46:24 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-09-17 21:39:01 -0500
commit68415d5e38ef04e647ad36d59f90c008a0414f56 (patch)
treed8834d1d88bd4eb4b33bf4dd310d454edb289f1c /include/skiboot.h
parent7ecb29651c311e35e30fbbebc675cae3e97c8d53 (diff)
downloadskiboot-68415d5e38ef04e647ad36d59f90c008a0414f56.zip
skiboot-68415d5e38ef04e647ad36d59f90c008a0414f56.tar.gz
skiboot-68415d5e38ef04e647ad36d59f90c008a0414f56.tar.bz2
hw/npu2: Common NPU2 init routine between NVLink and OpenCAPI
Replace probe_npu2() and probe_npu2_opencapi() with a new shared probe_npu2(). Refactor some of the common NPU setup code into shared code. No functional change. This patch does not implement support for using both types of devices simultaneously on the same NPU - we expect to add this sometime in the future. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Alistair Popple <alistair@popple.id.au> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r--include/skiboot.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index bba76c1..f2818b1 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -201,7 +201,6 @@ extern int preload_capp_ucode(void);
extern void preload_io_vpd(void);
extern void probe_npu(void);
extern void probe_npu2(void);
-extern void probe_npu2_opencapi(void);
extern void uart_init(void);
extern void mbox_init(void);
extern void early_uart_init(void);