Merge branch 'u-boot-arm/next' into 'u-boot-arm/master'
[platform/kernel/u-boot.git] / board / freescale / c29xpcie / cpld.c
index 5cbccff..37722da 100644 (file)
@@ -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