mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
Fix compiler warning in lib_ppc/board.c
Fix compiler warning introduced by commit 0f8cbc18
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
03e2dbb18e
commit
374b903829
2 changed files with 3 additions and 3 deletions
|
@ -608,7 +608,7 @@ get_board_ddr_clk(ulong dummy)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int is_sata_supported()
|
int is_sata_supported(void)
|
||||||
{
|
{
|
||||||
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
||||||
uint devdisr = gur->devdisr;
|
uint devdisr = gur->devdisr;
|
||||||
|
|
|
@ -635,7 +635,7 @@ void board_init_f (ulong bootflag)
|
||||||
/* NOTREACHED - relocate_code() does not return */
|
/* NOTREACHED - relocate_code() does not return */
|
||||||
}
|
}
|
||||||
|
|
||||||
int __is_sata_supported()
|
int __is_sata_supported(void)
|
||||||
{
|
{
|
||||||
/* For some boards, when sata disabled by the switch, and the
|
/* For some boards, when sata disabled by the switch, and the
|
||||||
* driver still access the sata registers, the cpu will hangup.
|
* driver still access the sata registers, the cpu will hangup.
|
||||||
|
@ -643,7 +643,7 @@ int __is_sata_supported()
|
||||||
* board have such issue.*/
|
* board have such issue.*/
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
int is_sata_supported() __attribute__((weak, alias("__is_sata_supported")));
|
int is_sata_supported(void) __attribute__((weak, alias("__is_sata_supported")));
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue