summaryrefslogtreecommitdiff
path: root/board/pcippc2/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pcippc2/i2c.c')
-rw-r--r--board/pcippc2/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pcippc2/i2c.c b/board/pcippc2/i2c.c
index 36b1d0f44d..ab52562e6a 100644
--- a/board/pcippc2/i2c.c
+++ b/board/pcippc2/i2c.c
@@ -85,7 +85,7 @@ static inline void i2c_udelay (
{
int v;
- asm volatile("mtdec %0" : : "r" (time * ((CFG_BUS_CLK / 4) / 1000000)));
+ asm volatile("mtdec %0" : : "r" (time * ((CONFIG_SYS_BUS_CLK / 4) / 1000000)));
do
{