From 967ed213dce37d0a6959317600b06b27b186ddda Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Thu, 17 May 2018 14:13:21 +0300 Subject: via/vx900: Remove leftover code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Code is not used with EARLY_CBMEM_INIT and it appears to have been invalid register anyways. Change-Id: If0662937b38aec71292113ce8abd88da0b73feee Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26347 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Lubomir Rintel Reviewed-by: Martin Roth --- src/northbridge/via/vx900/early_vx900.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/northbridge/via') diff --git a/src/northbridge/via/vx900/early_vx900.c b/src/northbridge/via/vx900/early_vx900.c index 54a30af6bb..126094101c 100644 --- a/src/northbridge/via/vx900/early_vx900.c +++ b/src/northbridge/via/vx900/early_vx900.c @@ -18,12 +18,6 @@ #include #include -uintptr_t restore_top_of_low_cacheable(void) -{ - u8 reg_tom = pci_read_config8(MCU, 0x88); - return (reg_tom << 24) - 256 * MiB; -} - /** * \brief Enable accessing of PCI configuration space for all devices. * -- cgit v1.2.3