summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx/km83xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keymile/km83xx/km83xx.c')
-rw-r--r--board/keymile/km83xx/km83xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index 88afc76bbbf..9ec1dbc6f97 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -216,8 +216,8 @@ int post_hotkeys_pressed(void)
int testpin = 0;
struct km_bec_fpga *base =
(struct km_bec_fpga *)CFG_SYS_KMBEC_FPGA_BASE;
- int testpin_reg = in_8(&base->CONFIG_TESTPIN_REG);
- testpin = (testpin_reg & CONFIG_TESTPIN_MASK) != 0;
+ int testpin_reg = in_8(&base->CFG_TESTPIN_REG);
+ testpin = (testpin_reg & CFG_TESTPIN_MASK) != 0;
debug("post_hotkeys_pressed: %d\n", !testpin);
return testpin;
}