diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-08-07 14:49:01 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 03:57:41 +0100 |
commit | 6f4297677c130cd181b107ed496874f7b21ee343 (patch) | |
tree | 2185e734979162275e215ceef2760756f267a032 /src/drivers | |
parent | 52095f58540bf70c0a469ec17aa67518390f43f2 (diff) |
Fix CONFIG_ use in i8254.c
We always define CONFIG_ variables, even if they're not set.
Hence, remove the check whether CONFIG_UDELAY_TIMER2 is defined
Change-Id: Iefdf2389941f2cc63ae4f13ac6b213da4c96b201
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1694
Reviewed-by: Marc Jones <marcj303@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/pc80/i8254.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/pc80/i8254.c b/src/drivers/pc80/i8254.c index f75216da47..ca993f494c 100644 --- a/src/drivers/pc80/i8254.c +++ b/src/drivers/pc80/i8254.c @@ -35,7 +35,7 @@ void setup_i8254(void) outb(0x12, TIMER1_PORT); } -#if defined(CONFIG_UDELAY_TIMER2) && CONFIG_UDELAY_TIMER2 +#if CONFIG_UDELAY_TIMER2 static void load_timer2(unsigned int ticks) { /* Set up the timer gate, turn off the speaker */ |