mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
board/overo/overo.c: replace printf with one argument by puts
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
This commit is contained in:
parent
49e9b4bd9b
commit
bae485db12
1 changed files with 7 additions and 7 deletions
|
@ -119,7 +119,7 @@ int get_board_revision(void)
|
||||||
gpio_get_value(113) << 1 |
|
gpio_get_value(113) << 1 |
|
||||||
gpio_get_value(112);
|
gpio_get_value(112);
|
||||||
} else {
|
} else {
|
||||||
printf("Error: unable to acquire board revision GPIOs\n");
|
puts("Error: unable to acquire board revision GPIOs\n");
|
||||||
revision = -1;
|
revision = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ int get_sdio2_config(void)
|
||||||
|
|
||||||
gpio_direction_input(130);
|
gpio_direction_input(130);
|
||||||
} else {
|
} else {
|
||||||
printf("Error: unable to acquire sdio2 clk GPIOs\n");
|
puts("Error: unable to acquire sdio2 clk GPIOs\n");
|
||||||
sdio_direct = -1;
|
sdio_direct = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,15 +200,15 @@ int misc_init_r(void)
|
||||||
|
|
||||||
switch (get_sdio2_config()) {
|
switch (get_sdio2_config()) {
|
||||||
case 0:
|
case 0:
|
||||||
printf("Tranceiver detected on mmc2\n");
|
puts("Tranceiver detected on mmc2\n");
|
||||||
MUX_OVERO_SDIO2_TRANSCEIVER();
|
MUX_OVERO_SDIO2_TRANSCEIVER();
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
printf("Direct connection on mmc2\n");
|
puts("Direct connection on mmc2\n");
|
||||||
MUX_OVERO_SDIO2_DIRECT();
|
MUX_OVERO_SDIO2_DIRECT();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Unable to detect mmc2 connection type\n");
|
puts("Unable to detect mmc2 connection type\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (get_expansion_id()) {
|
switch (get_expansion_id()) {
|
||||||
|
@ -269,10 +269,10 @@ int misc_init_r(void)
|
||||||
setenv("defaultdisplay", "dvi");
|
setenv("defaultdisplay", "dvi");
|
||||||
break;
|
break;
|
||||||
case GUMSTIX_NO_EEPROM:
|
case GUMSTIX_NO_EEPROM:
|
||||||
printf("No EEPROM on expansion board\n");
|
puts("No EEPROM on expansion board\n");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Unrecognized expansion board\n");
|
puts("Unrecognized expansion board\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (expansion_config.content == 1)
|
if (expansion_config.content == 1)
|
||||||
|
|
Loading…
Reference in a new issue