summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-12-23 10:20:55 +1100
committerGraeme Russ <graeme.russ@gmail.com>2012-01-04 22:37:20 +1100
commit8e18e6e173d1649a623d04c3f71b1e1b03bf6919 (patch)
tree02dd137d769c18fa83e261a038c7a61d25d8555c /arch
parentd13640b7c48cfe73dd738479efb8f5ca230d87bb (diff)
downloadu-boot-imx-8e18e6e173d1649a623d04c3f71b1e1b03bf6919.zip
u-boot-imx-8e18e6e173d1649a623d04c3f71b1e1b03bf6919.tar.gz
u-boot-imx-8e18e6e173d1649a623d04c3f71b1e1b03bf6919.tar.bz2
x86: Move setup_pcat_compatibility() out of board.c
This function simply does not belong in board.c -- Changes for v2: - Added commit message
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/lib/board.c7
-rw-r--r--arch/x86/lib/zimage.c7
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c
index aaffd1b..416aa9e 100644
--- a/arch/x86/lib/board.c
+++ b/arch/x86/lib/board.c
@@ -486,10 +486,3 @@ void hang(void)
for (;;)
;
}
-
-void setup_pcat_compatibility(void)
- __attribute__((weak, alias("__setup_pcat_compatibility")));
-
-void __setup_pcat_compatibility(void)
-{
-}
diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c
index bb40517..2214286 100644
--- a/arch/x86/lib/zimage.c
+++ b/arch/x86/lib/zimage.c
@@ -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;