From e5477ade1abd267576c8bf10269712d91985296f Mon Sep 17 00:00:00 2001 From: Gavin Shan Date: Wed, 14 Dec 2016 10:00:19 +1100 Subject: 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 Acked-By: Alistair Popple Reviewed-By: Alistair Popple Signed-off-by: Stewart Smith --- include/npu.h | 9 --------- 1 file changed, 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 */ -- cgit v1.2.1