ls1021atwr: Use DEBUG and not CONFIG_DEBUG
authorTom Rini <trini@konsulko.com>
Wed, 30 Mar 2022 22:07:27 +0000 (18:07 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 8 Apr 2022 14:46:22 +0000 (10:46 -0400)
We use 'DEBUG' and not 'CONFIG_DEBUG' tree-wide for debug code that is
left in, and not wrapped by some other regular debugging type print
macro.

Cc: Alison Wang <alison.wang@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/ls1021atwr/ls1021atwr.c

index f0b441d..4a24495 100644 (file)
@@ -107,7 +107,7 @@ static void cpld_show(void)
               in_8(&cpld_data->pcba_ver) & VERSION_MASK,
               in_8(&cpld_data->vbank) & BANK_MASK);
 
-#ifdef CONFIG_DEBUG
+#ifdef DEBUG
        printf("soft_mux_on =%x\n",
               in_8(&cpld_data->soft_mux_on));
        printf("cfg_rcw_src1 =%x\n",