summaryrefslogtreecommitdiff
path: root/board/freescale/c29xpcie/cpld.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/c29xpcie/cpld.c')
-rw-r--r--board/freescale/c29xpcie/cpld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/c29xpcie/cpld.c b/board/freescale/c29xpcie/cpld.c
index 5cbccff633..37722daf5b 100644
--- a/board/freescale/c29xpcie/cpld.c
+++ b/board/freescale/c29xpcie/cpld.c
@@ -89,6 +89,7 @@ static void cpld_dump_regs(void)
}
#endif
+#ifndef CONFIG_SPL_BUILD
int cpld_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
int rc = 0;
@@ -129,3 +130,4 @@ U_BOOT_CMD(
"cpld_cmd dump - display the CPLD registers\n"
#endif
);
+#endif