aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-25 19:41:58 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-28 16:12:31 +0000
commitb6e36181380b711976d37a490fe2ada96fc4d440 (patch)
tree57a09efbac0a613389481336407e9c0770c932e7 /src/soc/amd/common/block/include
parentc2a05d143bb87db9177494d3752b4ee2b04cc144 (diff)
soc/amd/common: Remove guards on ACPIMMIO utils
If one wishes to use the functions guarded here, he has to have datasheet open anyways. It should be clear from there which regions are supported and which are not. TEST=Reproducible build of google/aleena. Change-Id: I0c1f0c9c9a6711532c5078c08cdf9e6612f3bc9c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/soc/amd/common/block/include')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index ca57cf5dcc..b395cdba9c 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -19,71 +19,6 @@
#define __AMDBLOCKS_ACPIMMIO_H__
#include <stdint.h>
-/* iomap.h must indicate if the device uses a block, optional if unused. */
-#include <soc/iomap.h>
-#ifndef SUPPORTS_ACPIMMIO_SM_PCI_BASE
- #define SUPPORTS_ACPIMMIO_SM_PCI_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_SMI_BASE
- #define SUPPORTS_ACPIMMIO_SMI_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_PMIO_BASE
- #define SUPPORTS_ACPIMMIO_PMIO_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_PMIO2_BASE
- #define SUPPORTS_ACPIMMIO_PMIO2_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_BIOSRAM_BASE
- #define SUPPORTS_ACPIMMIO_BIOSRAM_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_CMOSRAM_BASE
- #define SUPPORTS_ACPIMMIO_CMOSRAM_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_CMOS_BASE
- #define SUPPORTS_ACPIMMIO_CMOS_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_ACPI_BASE
- #define SUPPORTS_ACPIMMIO_ACPI_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_ASF_BASE
- #define SUPPORTS_ACPIMMIO_ASF_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_SMBUS_BASE
- #define SUPPORTS_ACPIMMIO_SMBUS_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_WDT_BASE
- #define SUPPORTS_ACPIMMIO_WDT_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_HPET_BASE
- #define SUPPORTS_ACPIMMIO_HPET_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_IOMUX_BASE
- #define SUPPORTS_ACPIMMIO_IOMUX_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_MISC_BASE
- #define SUPPORTS_ACPIMMIO_MISC_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_DPVGA_BASE
- #define SUPPORTS_ACPIMMIO_DPVGA_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_GPIO0_BASE
- #define SUPPORTS_ACPIMMIO_GPIO0_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_GPIO1_BASE
- #define SUPPORTS_ACPIMMIO_GPIO1_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_GPIO2_BASE
- #define SUPPORTS_ACPIMMIO_GPIO2_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_XHCIPM_BASE
- #define SUPPORTS_ACPIMMIO_XHCIPM_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_ACDCTMR_BASE
- #define SUPPORTS_ACPIMMIO_ACDCTMR_BASE 0
-#endif
-#ifndef SUPPORTS_ACPIMMIO_AOAC_BASE
- #define SUPPORTS_ACPIMMIO_AOAC_BASE 0
-#endif
/*
* The following AcpiMmio register block mapping represents definitions