]> 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 725992e38cdc2c6d1a043c7eda1e26a624faa377..e24239d85565e21941dd05334c3ce5745fd8e8d9 100644 (file)
@@ -413,6 +413,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;
@@ -540,6 +541,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)
 {