x86: Move setup_pcat_compatibility() out of board.c

This function simply does not belong in board.c

--
Changes for v2:
 - Added commit message
This commit is contained in:
Graeme Russ 2011-12-23 10:20:55 +11:00
parent d13640b7c4
commit 8e18e6e173
2 changed files with 7 additions and 7 deletions

View File

@ -486,10 +486,3 @@ void hang(void)
for (;;)
;
}
void setup_pcat_compatibility(void)
__attribute__((weak, alias("__setup_pcat_compatibility")));
void __setup_pcat_compatibility(void)
{
}

View File

@ -314,6 +314,13 @@ void boot_zimage(void *setup_base, void *load_address)
#endif
}
void setup_pcat_compatibility(void)
__attribute__((weak, alias("__setup_pcat_compatibility")));
void __setup_pcat_compatibility(void)
{
}
int do_zboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
{
struct boot_params *base_ptr;