CHECKPATCH: arch/x86/lib/*
[oweals/u-boot.git] / arch / x86 / lib / bios_setup.c
index 0dfe4a103187bd54aee9e37dc24bdbefa5af5408..265f7d671ee3dce8efb8f09004b25466dfca0c7d 100644 (file)
@@ -78,11 +78,8 @@ static void setvector(int vector, u16 segment, void *handler)
 
 int bios_setup(void)
 {
-       /*
-        * The BIOS section is not relocated and still in the ROM. The
-        * __bios_start symbol was adjusted, though, so adjust it back.
-        */
-       ulong bios_start = (ulong)&__bios_start - gd->reloc_off;
+       /* The BIOS section is not relocated and still in the ROM. */
+       ulong bios_start = (ulong)&__bios_start;
        ulong bios_size = (ulong)&__bios_size;
 
        static int done;