]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mpc85xx: Fix SERDES/eTSEC message indentation
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 29 Oct 2010 22:59:25 +0000 (17:59 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 14 Nov 2010 22:46:44 +0000 (23:46 +0100)
Previously some mpc85xx boards printed indented messages such as the
following on bootup:
  printf("    eTSEC4 is in sgmii mode.\n");
  printf("    Serdes2 disalbed\n");

The bootup appearance looks cleaner if the indentation is removed which
aligns these messages with other bootup output.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
CC: galak@kernel.crashing.org
board/atum8548/atum8548.c
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/p1_p2_rdb/pci.c
board/freescale/p2020ds/p2020ds.c

index 4fcbb18561b171e177f8000e1ff79705b1cc5197..9403e4b02fda4f9b673d49f5ca909e0873c62181 100644 (file)
@@ -193,13 +193,13 @@ void pci_init_board(void)
 
        if (io_sel & 1) {
                if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII1_DIS))
-                       printf ("    eTSEC1 is in sgmii mode.\n");
+                       printf("eTSEC1 is in sgmii mode.\n");
                if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII2_DIS))
-                       printf ("    eTSEC2 is in sgmii mode.\n");
+                       printf("eTSEC2 is in sgmii mode.\n");
                if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS))
-                       printf ("    eTSEC3 is in sgmii mode.\n");
+                       printf("eTSEC3 is in sgmii mode.\n");
                if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII4_DIS))
-                       printf ("    eTSEC4 is in sgmii mode.\n");
+                       printf("eTSEC4 is in sgmii mode.\n");
        }
 
 #ifdef CONFIG_PCIE1
index 8ad75495172333fb97295ae19637f172189b2acc..cf92ba1211f9d5cc30de1791e23ce9977a26ab0e 100644 (file)
@@ -211,12 +211,12 @@ void pci_init_board(void)
                devdisr, sdrs2_io_sel, io_sel);
 
        if (sdrs2_io_sel == 7)
-               printf("    Serdes2 disalbed\n");
+               printf("Serdes2 disalbed\n");
        else if (sdrs2_io_sel == 4) {
-               printf("    eTSEC1 is in sgmii mode.\n");
-               printf("    eTSEC3 is in sgmii mode.\n");
+               printf("eTSEC1 is in sgmii mode.\n");
+               printf("eTSEC3 is in sgmii mode.\n");
        } else if (sdrs2_io_sel == 6)
-               printf("    eTSEC1 is in sgmii mode.\n");
+               printf("eTSEC1 is in sgmii mode.\n");
 
        puts("\n");
 #ifdef CONFIG_PCIE3
index 3bbf0c273ab2b2156f4e7b6b5865bf89587c94c4..31c3fad869f6d660f8558128cd11327b18b411a5 100644 (file)
@@ -120,9 +120,9 @@ void pci_init_board(void)
 
        if (io_sel & 1) {
                if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII1_DIS))
-                       printf ("    eTSEC1 is in sgmii mode.\n");
+                       printf("eTSEC1 is in sgmii mode.\n");
                if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS))
-                       printf ("    eTSEC3 is in sgmii mode.\n");
+                       printf("eTSEC3 is in sgmii mode.\n");
        }
        puts("\n");
 
index 21252742154748bb2974d0179caf4757c06b5f7d..120f35c2c84e24c7b2ee7ce319cc2ab12152f80e 100644 (file)
@@ -177,13 +177,13 @@ void pci_init_board(void)
        debug ("   pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel);
 
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII1_DIS))
-               printf ("    eTSEC1 is in sgmii mode.\n");
+               printf("eTSEC1 is in sgmii mode.\n");
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII2_DIS))
-               printf ("    eTSEC2 is in sgmii mode.\n");
+               printf("eTSEC2 is in sgmii mode.\n");
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS))
-               printf ("    eTSEC3 is in sgmii mode.\n");
+               printf("eTSEC3 is in sgmii mode.\n");
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII4_DIS))
-               printf ("    eTSEC4 is in sgmii mode.\n");
+               printf("eTSEC4 is in sgmii mode.\n");
 
        puts("\n");
 #ifdef CONFIG_PCIE3
index e2ed29c3c40c95d511282b8eec1800cca603c6ed..2a2d6b702fb20daf50f4e1239fbd96ab742790e2 100644 (file)
@@ -56,7 +56,7 @@ void pci_init_board(void)
        debug ("   pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel);
 
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII2_DIS))
-               printf ("    eTSEC2 is in sgmii mode.\n");
+               printf("eTSEC2 is in sgmii mode.\n");
 
        puts("\n");
 #ifdef CONFIG_PCIE2
index f9882722c91767879a2be22e424cdbeff53fea97..b507677c3fed782433f79be5899e98bc571f0d5a 100644 (file)
@@ -207,9 +207,9 @@ void pci_init_board(void)
        debug ("   pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel);
 
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII2_DIS))
-               printf("    eTSEC2 is in sgmii mode.\n");
+               printf("eTSEC2 is in sgmii mode.\n");
        if (!(pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS))
-               printf("    eTSEC3 is in sgmii mode.\n");
+               printf("eTSEC3 is in sgmii mode.\n");
 
        puts("\n");
 #ifdef CONFIG_PCIE2