]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bootce.c
karo: tx6: add support for TX6-V2 (eMMC)
[karo-tx-uboot.git] / common / cmd_bootce.c
index 7ce254d4c05548cb0b1269d497865802f9774e29..d3580d2c21b1e079585e6b4e4f6907d2dc834604 100644 (file)
@@ -457,6 +457,7 @@ U_BOOT_CMD(
        "\taddr\t\tboot image from address addr (default ${fileaddr})"
 );
 
+#ifdef CONFIG_CMD_NAND
 static int ce_nand_load(ce_bin *bin, loff_t *offset, void *buf, size_t max_len)
 {
        int ret;
@@ -584,6 +585,7 @@ U_BOOT_CMD(
        "\toff\t\t- flash offset (hex)\n"
        "\tpartition\t- partition name"
 );
+#endif
 
 static int ce_send_write_ack(ce_net *net)
 {