[U-Boot-Users] [PATCH] cmd_mfsl: Don't include asm/asm.h on other	architectures.
    Scott Wood 
    scottwood at freescale.com
       
    Wed May 16 18:24:27 CEST 2007
    
    
  
This file currently breaks the build for any architecture
other than microblaze due to the absence of asm/asm.h.
Signed-off-by: Scott Wood <scottwood at freescale.com>
---
 common/cmd_mfsl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_mfsl.c b/common/cmd_mfsl.c
index 26786aa..ab74dba 100644
--- a/common/cmd_mfsl.c
+++ b/common/cmd_mfsl.c
@@ -26,13 +26,13 @@
  * Microblaze FSL support
  */
 
+#if (CONFIG_COMMANDS & CFG_CMD_MFSL)
+
 #include <common.h>
 #include <config.h>
 #include <command.h>
 #include <asm/asm.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_MFSL)
-
 int do_frd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 {
 	unsigned int fslnum;
-- 
1.5.0.3
    
    
More information about the U-Boot
mailing list