]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_immap.c
Fix: TFTP is not working on little endian systems
[karo-tx-uboot.git] / common / cmd_immap.c
index fa79b45a3cc6182e5dbaf21185c07712691b72bf..ae95758247d5e15cd26da5aca3b36ea45cdba7f8 100644 (file)
@@ -28,7 +28,7 @@
 #include <common.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_IMMAP) && \
+#if defined(CONFIG_CMD_IMMAP) && \
     (defined(CONFIG_8xx) || defined(CONFIG_8260))
 
 #if defined(CONFIG_8xx)
@@ -720,4 +720,4 @@ U_BOOT_CMD(
 );
 
 
-#endif /* CFG_CMD_IMMAP && (CONFIG_8xx || CONFIG_8260) */
+#endif