global: Migrate CONFIG_TESTPIN_REG to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:14:00 +0000 (10:14 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:15:12 +0000 (10:15 -0500)
Perform a simple rename of CONFIG_TESTPIN_REG to CFG_TESTPIN_REG

Signed-off-by: Tom Rini <trini@konsulko.com>
board/keymile/km83xx/km83xx.c
include/configs/kmcoge5ne.h

index 73e3709..9ec1dbc 100644 (file)
@@ -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;
index d9c2f4f..d52f45b 100644 (file)
@@ -30,7 +30,7 @@
 #define CFG_POST (CFG_SYS_POST_MEMORY|CFG_SYS_POST_MEM_REGIONS)
 #define CFG_POST_EXTERNAL_WORD_FUNCS /* use own functions, not generic */
 #define CPM_POST_WORD_ADDR  CONFIG_SYS_MEMTEST_END
-#define CONFIG_TESTPIN_REG  gprt3      /* for kmcoge5ne */
+#define CFG_TESTPIN_REG  gprt3 /* for kmcoge5ne */
 #define CFG_TESTPIN_MASK 0x20  /* for kmcoge5ne */
 
 #endif /* CONFIG */