broadwell: Remove unused bootblock code
This code that stores the initial timestamp is not being used, instead the timestamp is passed to romstage_main(). BUG=chrome-os-partner:28234 BRANCH=samus,auron TEST=build and boot on samus Change-Id: I0e0fa1ba74ab93d4454fdfa12208e712d2ae913c Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/234402 Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
This commit is contained in:
parent
d408c1b462
commit
838112cf79
1 changed files with 0 additions and 14 deletions
|
|
@ -18,24 +18,12 @@
|
|||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/tsc.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/lpc.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/rcba.h>
|
||||
#include <soc/spi.h>
|
||||
|
||||
static void store_initial_timestamp(void)
|
||||
{
|
||||
/* Two 32bit scratchpad registers available:
|
||||
* D0:F0 0xdc (SKPAD)
|
||||
* D31:F2 0xd0 (SATA SP)
|
||||
*/
|
||||
tsc_t tsc = rdtsc();
|
||||
pci_write_config32(SA_DEV_ROOT, 0xdc, tsc.lo);
|
||||
pci_write_config32(PCH_DEV_SATA, 0xd0, tsc.hi);
|
||||
}
|
||||
|
||||
/*
|
||||
* Enable Prefetching and Caching.
|
||||
*/
|
||||
|
|
@ -84,8 +72,6 @@ static void set_spi_speed(void)
|
|||
|
||||
static void bootblock_southbridge_init(void)
|
||||
{
|
||||
store_initial_timestamp();
|
||||
|
||||
map_rcba();
|
||||
enable_spi_prefetch();
|
||||
enable_port80_on_lpc();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue