diff options
author | Balbir Singh <bsingharora@gmail.com> | 2017-12-15 13:59:42 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-02-13 01:30:11 -0600 |
commit | 4133e973b4f2bf61d387ac4528bed3acd12b13d9 (patch) | |
tree | e13954807d255e38e65228207c90e53b2fae0231 /hw/npu2-hw-procedures.c | |
parent | 725d4a2c6cc7c97bb6754094567d079e70f06323 (diff) | |
download | skiboot-4133e973b4f2bf61d387ac4528bed3acd12b13d9.zip skiboot-4133e973b4f2bf61d387ac4528bed3acd12b13d9.tar.gz skiboot-4133e973b4f2bf61d387ac4528bed3acd12b13d9.tar.bz2 |
hw/npu2: support creset of npu2 devices
creset calls in the hw procedure that resets the PHY, we don't
take them out of reset, just put them in reset.
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Acked-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/npu2-hw-procedures.c')
-rw-r--r-- | hw/npu2-hw-procedures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/npu2-hw-procedures.c b/hw/npu2-hw-procedures.c index b21c399..9e4a431 100644 --- a/hw/npu2-hw-procedures.c +++ b/hw/npu2-hw-procedures.c @@ -233,7 +233,7 @@ static bool poll_fence_status(struct npu2_dev *ndev, uint64_t val) } /* Procedure 1.2.1 - Reset NPU/NDL */ -static uint32_t reset_ntl(struct npu2_dev *ndev) +uint32_t reset_ntl(struct npu2_dev *ndev) { uint64_t val; int lane; |