]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
x86: Remove board_init16() call which is not used
authorSimon Glass <sjg@chromium.org>
Thu, 6 Nov 2014 20:20:01 +0000 (13:20 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:24:08 +0000 (07:24 +0100)
This allows a board to do very early init, but no boards need to do this.
We may as well drop this feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/start16.S

index 6968fda6494998d1d595c9862e64a10a8082a3e1..e718d4b26ff5fd79a9a08a0bfba38c426e373bb6 100644 (file)
@@ -24,15 +24,7 @@ start16:
        /* Set the Cold Boot / Hard Reset flag */
        movl    $GD_FLG_COLD_BOOT, %ebx
 
-       /*
-        * First we let the BSP do some early initialization
-        * this code have to map the flash to its final position
-        */
-       jmp     board_init16
-.globl board_init16_ret
-board_init16_ret:
-
-       /* Turn of cache (this might require a 486-class CPU) */
+       /* Turn off cache (this might require a 486-class CPU) */
        movl    %cr0, %eax
        orl     $(X86_CR0_NW | X86_CR0_CD), %eax
        movl    %eax, %cr0