[ar71xx] remove some debug stuff
authorGabor Juhos <juhosg@openwrt.org>
Thu, 18 Sep 2008 18:41:03 +0000 (18:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 18 Sep 2008 18:41:03 +0000 (18:41 +0000)
SVN-Revision: 12631

target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h

index 9e62114..ce98084 100644 (file)
@@ -436,8 +436,6 @@ void __init ar71xx_parse_mac_addr(char *mac_str)
 
 static int __init ar71xx_machine_setup(void)
 {
-       ar71xx_print_cmdline();
-
        ar71xx_gpio_init();
 
        ar71xx_add_device_uart();
index 00c5cf7..855497c 100644 (file)
@@ -244,8 +244,6 @@ void __init plat_mem_setup(void)
 
        board_be_handler = ar71xx_be_handler;
 
-       ar71xx_print_cmdline();
-
        ar71xx_early_serial_setup();
 }
 
index af824d9..92e662e 100644 (file)
@@ -368,16 +368,6 @@ extern void ar71xx_device_start(u32 mask);
 #define MII1_CTRL_IF_RGMII     0
 #define MII1_CTRL_IF_RMII      1
 
-#include <asm/bootinfo.h>
-#include <linux/init.h>
-
-#define ar71xx_print_cmdline() do {                                    \
-               printk(KERN_DEBUG "%s:%d arcs_cmdline:'%s'\n",          \
-                       __FUNCTION__, __LINE__, arcs_cmdline);          \
-               printk(KERN_DEBUG "%s:%d boot_command_line:'%s'\n",     \
-                       __FUNCTION__, __LINE__, boot_command_line);     \
-       } while (0)
-
 #endif /* __ASSEMBLER__ */
 
 #endif /* __ASM_MACH_AR71XX_H */