aboutsummaryrefslogtreecommitdiff
path: root/include/npu.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-12-14 10:00:19 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-12-14 17:48:06 +1100
commite5477ade1abd267576c8bf10269712d91985296f (patch)
tree41cf2812e3429b0d94054116b72664ad35722b1d /include/npu.h
parent66dfd8c3723d87d83cfb2a03f7cce5564dbe23f1 (diff)
downloadskiboot-e5477ade1abd267576c8bf10269712d91985296f.zip
skiboot-e5477ade1abd267576c8bf10269712d91985296f.tar.gz
skiboot-e5477ade1abd267576c8bf10269712d91985296f.tar.bz2
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>
Diffstat (limited to 'include/npu.h')
-rw-r--r--include/npu.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/npu.h b/include/npu.h
index 67e507e..77beca3 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
*/