X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cpu%2Fmpc8xx%2Fspi.c;h=9213d101a72d20511ccbec5441f850b07de1de3c;hb=281e00a3be453a169d854f824a460359d10f92bb;hp=5d752077339190890b11505d2f04065015f1791b;hpb=cfca5e604d5692f081cc1a9185ca5dc6dc77599d;p=platform%2Fkernel%2Fu-boot.git diff --git a/cpu/mpc8xx/spi.c b/cpu/mpc8xx/spi.c index 5d75207..9213d10 100644 --- a/cpu/mpc8xx/spi.c +++ b/cpu/mpc8xx/spi.c @@ -39,7 +39,7 @@ #include #include #include -#include +#include #if (defined(CONFIG_SPI)) || (CONFIG_POST & CFG_POST_SPI) @@ -542,13 +542,13 @@ int spi_post_test (int flags) cp->cp_spmode &= ~SPMODE_LOOP; /* - * SCC2 Ethernet parameter RAM space overlaps + * SCC2 parameter RAM space overlaps * the SPI parameter RAM space. So we need to restore - * the SCC2 configuration if it is used by UART or Ethernet. + * the SCC2 configuration if it is used by UART. */ -#if defined(CONFIG_8xx_CONS_SCC2) - serial_init (); +#if !defined(CONFIG_8xx_CONS_NONE) + serial_reinit_all (); #endif if (res != 0) {