mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
mpc85xx: Fix SERDES/eTSEC message indentation
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
This commit is contained in:
parent
8ca78f2c89
commit
e7060dc570
6 changed files with 17 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue