]> git.sur5r.net Git - u-boot/commitdiff
x86: Move setup_pcat_compatibility() out of board.c
authorGraeme Russ <graeme.russ@gmail.com>
Thu, 22 Dec 2011 23:20:55 +0000 (10:20 +1100)
committerGraeme Russ <graeme.russ@gmail.com>
Wed, 4 Jan 2012 11:37:20 +0000 (22:37 +1100)
This function simply does not belong in board.c

--
Changes for v2:
 - Added commit message

arch/x86/lib/board.c
arch/x86/lib/zimage.c

index aaffd1b205f2d8b9d2ca6d38bad894f5e55bb496..416aa9e5f6e8faccf5c743638e1a982433a7cd7b 100644 (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)
-{
-}
index bb405171772d6d7cabbbeebed7a920732a71ef7a..22142864c22c052efd5626f26fc3ab04dfb1b630 100644 (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;