diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-12-14 10:00:19 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-14 17:48:06 +1100 |
commit | e5477ade1abd267576c8bf10269712d91985296f (patch) | |
tree | 41cf2812e3429b0d94054116b72664ad35722b1d | |
parent | 66dfd8c3723d87d83cfb2a03f7cce5564dbe23f1 (diff) | |
download | talos-skiboot-e5477ade1abd267576c8bf10269712d91985296f.tar.gz talos-skiboot-e5477ade1abd267576c8bf10269712d91985296f.zip |
hw/npu: Remove obsolete config space indexes
The PCI config space indexes NPU_DEV_CFG_{NORMAL, RDONLY, W1CR, MAX}
are useless. This removes them.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-By: Alistair Popple <alistair@popple.id.au>
Reviewed-By: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | include/npu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/npu.h b/include/npu.h index 67e507e9..77beca37 100644 --- a/include/npu.h +++ b/include/npu.h @@ -30,15 +30,6 @@ #define NPU_BRICK_TL_BAR_SIZE 0x20000 #define NPU_BRICK_PL_BAR_SIZE 0x200000 -/* The config space of NPU device is emulated. We have different - * bits to represent config register properties: readonly, write- - * one-to-clear. - */ -#define NPU_DEV_CFG_NORMAL 0 -#define NPU_DEV_CFG_RDONLY 1 -#define NPU_DEV_CFG_W1CLR 2 -#define NPU_DEV_CFG_MAX 3 - /* Bytes of the emulated NPU PCI device config space. We are * emulating PCI express device, not legacy one */ |