summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 18:14:00 +0300
committerTom Rini <trini@konsulko.com>2022-12-23 18:15:12 +0300
commit39d4e7b0b060c47879d1f2727853a3e7e38191b5 (patch)
treecb97dd67058b0bf39ea4df0395ee54b3b8363b53 /board/keymile/km83xx
parent77cfb3d345651fa1cf78c8f30eca9d6d285f1e0b (diff)
downloadu-boot-39d4e7b0b060c47879d1f2727853a3e7e38191b5.tar.xz
global: Migrate CONFIG_TESTPIN_REG to CFG
Perform a simple rename of CONFIG_TESTPIN_REG to CFG_TESTPIN_REG Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/keymile/km83xx')
-rw-r--r--board/keymile/km83xx/km83xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index 73e3709bbb..9ec1dbc6f9 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -216,7 +216,7 @@ 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);
+ 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;