]> git.sur5r.net Git - u-boot/blobdiff - common/command.c
armv8: fsl-layerscape: Updating entries in Serdes Table
[u-boot] / common / command.c
index 381e6a20b6cdc1a458e0401ea4e857a6020ef042..858e28885a2cf0fe1ab6f409c2370305eebdca2f 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <console.h>
 #include <linux/ctype.h>
 
 /*
@@ -445,7 +446,7 @@ void fixup_cmdtable(cmd_tbl_t *cmdtp, int size)
                ulong addr;
 
                addr = (ulong)(cmdtp->cmd) + gd->reloc_off;
-#if DEBUG_COMMANDS
+#ifdef DEBUG_COMMANDS
                printf("Command \"%s\": 0x%08lx => 0x%08lx\n",
                       cmdtp->name, (ulong)(cmdtp->cmd), addr);
 #endif