summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/intercontrol/digsy_mtc/digsy_mtc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/intercontrol/digsy_mtc/digsy_mtc.c b/board/intercontrol/digsy_mtc/digsy_mtc.c
index 784ba2a..4d6b33d 100644
--- a/board/intercontrol/digsy_mtc/digsy_mtc.c
+++ b/board/intercontrol/digsy_mtc/digsy_mtc.c
@@ -220,9 +220,6 @@ int checkboard(void)
#define GPT_GPIO_ON 0x00000034 /* GPT as simple GPIO, high */
-/* ExBo I2C Addresses */
-#define EXBO_EE_I2C_ADDRESS 0x56
-
static void exbo_hw_init(void)
{
struct mpc5xxx_gpt *gpt = (struct mpc5xxx_gpt *)MPC5XXX_GPT;
@@ -232,7 +229,7 @@ static void exbo_hw_init(void)
unsigned char val;
/* 1st, check if extension board is present */
- if (i2c_read(EXBO_EE_I2C_ADDRESS, 0, 1, &val, 1))
+ if (i2c_read(CONFIG_SYS_EXBO_EE_I2C_ADDRESS, 0, 1, &val, 1))
return;
/* configure IrDA pins (PSC6 port) as gpios */