diff options
| author | Simon Glass <[email protected]> | 2014-11-06 13:20:01 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2014-11-21 07:24:08 +0100 |
| commit | 85d87328ea3d16b8e099854684166732e1954c71 (patch) | |
| tree | 6cd0f371de37c73148961deefcc6de22d1d147bd | |
| parent | bc4880616187e4cda0e74ac55f3423ebb84048e1 (diff) | |
x86: Remove board_init16() call which is not used
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
| -rw-r--r-- | arch/x86/cpu/start16.S | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/x86/cpu/start16.S b/arch/x86/cpu/start16.S index 6968fda6494..e718d4b26ff 100644 --- a/arch/x86/cpu/start16.S +++ b/arch/x86/cpu/start16.S @@ -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 |
