Commit 29756d44 authored by Simon Glass's avatar Simon Glass
Browse files

x86: Remove old broken timer implementation



Tidy up some old broken and unneeded implementations. These are not used
by coreboot or anything else now.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarGabe Black <gabeblack@chromium.org>
Reviewed-by: default avatarMichael Spang <spang@chromium.org>
Reviewed-by: default avatarVadim Bendebury <vbendeb@chromium.org>
Acked-by: default avatarGraeme Russ <graeme.russ@gmail.com>
parent e761ecdb
...@@ -30,7 +30,7 @@ LIB = $(obj)lib$(CPU).o ...@@ -30,7 +30,7 @@ LIB = $(obj)lib$(CPU).o
START-y = start.o START-y = start.o
START-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o START-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
COBJS = interrupts.o cpu.o timer.o COBJS = interrupts.o cpu.o
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
......
/*
* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Alternatively, this software may be distributed under the terms of the
* GNU General Public License ("GPL") version 2 as published by the Free
* Software Foundation.
*/
#include <common.h>
/* Temporary patch to maintain bisectability, removed in next commit */
#ifndef CONFIG_SYS_X86_TSC_TIMER
unsigned long timer_get_us(void)
{
printf("timer_get_us used but not implemented.\n");
return 0;
}
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment