1 diff -urN linux-2.6.19.2.orig/arch/cris/arch-v10/boot/compressed/misc.c linux-2.6.19.2/arch/cris/arch-v10/boot/compressed/misc.c
2 --- linux-2.6.19.2.orig/arch/cris/arch-v10/boot/compressed/misc.c 2007-05-28 21:53:52.000000000 +0200
3 +++ linux-2.6.19.2/arch/cris/arch-v10/boot/compressed/misc.c 2007-05-28 22:23:16.000000000 +0200
8 -#ifndef CONFIG_ETRAX_DEBUG_PORT_NULL
10 -#ifdef CONFIG_ETRAX_DEBUG_PORT0
11 +#if defined(CONFIG_ETRAX_DEBUG_PORT0) || defined(CONFIG_ETRAX_DEBUG_PORT1) || defined(CONFIG_ETRAX_DEBUG_PORT2) || defined(CONFIG_ETRAX_DEBUG_PORT3) || defined(CONFIG_ETRAX_SERIAL_PORT0)
14 +#if defined(CONFIG_ETRAX_DEBUG_PORT0) || defined(CONFIG_ETRAX_SERIAL_PORT0)
15 while(!(*R_SERIAL0_STATUS & (1 << 5))) ;
16 *R_SERIAL0_TR_DATA = *s++;
19 /* input_data is set in head.S */
22 -#ifdef CONFIG_ETRAX_DEBUG_PORT0
23 +#if defined(CONFIG_ETRAX_DEBUG_PORT0) || defined(CONFIG_ETRAX_SERIAL_PORT0)
25 *R_SERIAL0_BAUD = 0x99;
26 *R_SERIAL0_TR_CTRL = 0x40;