summaryrefslogtreecommitdiff
path: root/arch/x86/lib/video.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-02-14 17:38:30 +0000
committerSimon Glass <sjg@chromium.org>2013-02-14 20:19:03 -0800
commit96dfc0633aabb4f8fb720d39d9deb29dde08749b (patch)
tree9b58613378b468faa5dd1a7db1db7feba37730fd /arch/x86/lib/video.c
parent588a13f742b6d63ac7d5631af11baa01f3a9e80f (diff)
downloadu-boot-imx-96dfc0633aabb4f8fb720d39d9deb29dde08749b.zip
u-boot-imx-96dfc0633aabb4f8fb720d39d9deb29dde08749b.tar.gz
u-boot-imx-96dfc0633aabb4f8fb720d39d9deb29dde08749b.tar.bz2
x86: Remove unused real mode code
This code is pretty old and we want to support only 32-bit systems now. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86/lib/video.c')
-rw-r--r--arch/x86/lib/video.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/lib/video.c b/arch/x86/lib/video.c
index 20e2416..81824f3 100644
--- a/arch/x86/lib/video.c
+++ b/arch/x86/lib/video.c
@@ -26,7 +26,6 @@
#include <stdio_dev.h>
#include <i8042.h>
#include <asm/ptrace.h>
-#include <asm/realmode.h>
#include <asm/io.h>
#include <asm/pci.h>
@@ -222,10 +221,5 @@ int video_init(void)
int drv_video_init(void)
{
-#ifndef CONFIG_X86_NO_REAL_MODE
- if (video_bios_init())
- return 1;
-#endif
-
return video_init();
}