diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-04-30 07:21:33 +0200 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-05-02 20:31:19 +0000 |
commit | edca63e796b04aa8502e88ed957202a8cd0816b0 (patch) | |
tree | 43c5232296e0f4f7388b2942604f38dc270c2233 /src/soc/intel/cannonlake | |
parent | a32a57929bb2ef1a9c5eb87d4412c486b043cfbf (diff) |
soc/intel/cannonlake/include: Drop unused code
`soc_vtd_resources` from the else-part is unused since Cannon Lake was
removed. Thus, drop it and that if-else-condition.
Change-Id: I21689d1eae6952a80c98096443e7506a1466c07e
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52775
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/cannonlake')
-rw-r--r-- | src/soc/intel/cannonlake/include/soc/systemagent.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/systemagent.h b/src/soc/intel/cannonlake/include/soc/systemagent.h index f441b3c91d..b2d88dbc00 100644 --- a/src/soc/intel/cannonlake/include/soc/systemagent.h +++ b/src/soc/intel/cannonlake/include/soc/systemagent.h @@ -35,19 +35,10 @@ #define IMRBASE 0x6A40 #define IMRLIMIT 0x6A48 -#if CONFIG(SOC_INTEL_COFFEELAKE) || CONFIG(SOC_INTEL_WHISKEYLAKE) \ - || CONFIG(SOC_INTEL_COMETLAKE) static const struct sa_mmio_descriptor soc_vtd_resources[] = { { GFXVTBAR, GFXVT_BASE_ADDRESS, GFXVT_BASE_SIZE, "GFXVTBAR" }, { VTVC0BAR, VTVC0_BASE_ADDRESS, VTVC0_BASE_SIZE, "VTVC0BAR" }, }; -#else -static const struct sa_mmio_descriptor soc_vtd_resources[] = { - { GFXVTBAR, GFXVT_BASE_ADDRESS, GFXVT_BASE_SIZE, "GFXVTBAR" }, - { IPUVTBAR, IPUVT_BASE_ADDRESS, IPUVT_BASE_SIZE, "IPUVTBAR" }, - { VTVC0BAR, VTVC0_BASE_ADDRESS, VTVC0_BASE_SIZE, "VTVC0BAR" }, -}; -#endif #define V_P2SB_CFG_IBDF_BUS 0 #define V_P2SB_CFG_IBDF_DEV 30 |