]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/bedbug.c
s5pc1xx: serial: fix the error check logic
[karo-tx-uboot.git] / common / bedbug.c
index fe54d17f82a738fae3bcedaa34849d312f8f6c0b..60109cf827d25f451e0f408217d60d02ec417e8a 100644 (file)
@@ -2,8 +2,6 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG)
-
 #include <linux/ctype.h>
 #include <bedbug/bedbug.h>
 #include <bedbug/ppc.h>
@@ -27,7 +25,7 @@ extern char *symbol_name_from_addr __P ((Elf32_Word, int, int *));
 
 int print_operands __P ((struct ppc_ctx *));
 int get_operand_value __P ((struct opcode *, unsigned long,
-                                                       enum OP_FIELD, unsigned long *));
+                               enum OP_FIELD, unsigned long *));
 struct opcode *find_opcode __P ((unsigned long));
 struct opcode *find_opcode_by_name __P ((char *));
 char *spr_name __P ((int));
@@ -35,7 +33,7 @@ int spr_value __P ((char *));
 char *tbr_name __P ((int));
 int tbr_value __P ((char *));
 int parse_operand __P ((unsigned long, struct opcode *,
-                                               struct operand *, char *, int *));
+                       struct operand *, char *, int *));
 int get_word __P ((char **, char *));
 long read_number __P ((char *));
 int downstring __P ((char *));
@@ -1252,5 +1250,3 @@ int find_next_address (unsigned char *nextaddr, int step_over,
  * warranties of merchantability and fitness for a particular
  * purpose.
  */
-
-#endif /* CONFIG_COMMANDS & CFG_CMD_BEDBUG */