| f67cd51e | 06-Nov-2014 |
Simon Glass <sjg@chromium.org> |
x86: Save the BIST value on reset
The built in self test value is available in register eax on start-up. Save it so that it can be accessed later. Unfortunately we must wait until the global_data is
x86: Save the BIST value on reset
The built in self test value is available in register eax on start-up. Save it so that it can be accessed later. Unfortunately we must wait until the global_data is available before we can do this, so there is a little bit of shuffling to keep it around.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 8b37c769 | 06-Nov-2014 |
Simon Glass <sjg@chromium.org> |
x86: Use the standard arch_cpu_init() function
Instead of an x86-specific cpu_init_f() function, use the normal U-Boot one for this purpose. Also remove a useless/misleading comment.
Signed-off-by:
x86: Use the standard arch_cpu_init() function
Instead of an x86-specific cpu_init_f() function, use the normal U-Boot one for this purpose. Also remove a useless/misleading comment.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 07387d17 | 06-Nov-2014 |
Simon Glass <sjg@chromium.org> |
x86: Use the standard dram_init() function
Instead of having an x86-specific DRAM init function, adjust things so we can use the normal one.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-b
x86: Use the standard dram_init() function
Instead of having an x86-specific DRAM init function, adjust things so we can use the normal one.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 76f90f30 | 06-Nov-2014 |
Simon Glass <sjg@chromium.org> |
x86: Tidy up global descriptor table setup
This code is a little muddled, so tidy it up. Make sure that we put the GDT in the right place and set it up properly.
Signed-off-by: Simon Glass <sjg@chr
x86: Tidy up global descriptor table setup
This code is a little muddled, so tidy it up. Make sure that we put the GDT in the right place and set it up properly.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 3c00695e | 06-Nov-2014 |
Simon Glass <sjg@chromium.org> |
x86: Invalidate TLB as early as possible
We should invalidate the TLB right at the start to ensure that we don't get false address translations even though paging is disabled.
Signed-off-by: Simon
x86: Invalidate TLB as early as possible
We should invalidate the TLB right at the start to ensure that we don't get false address translations even though paging is disabled.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 200182a7 | 10-Oct-2014 |
Simon Glass <sjg@chromium.org> |
x86: Add support for starting 64-bit kernel
Add code to jump to a 64-bit Linux kernel. We need to set up a flat page table structure, a new GDT and then go through a few hoops in the right order.
S
x86: Add support for starting 64-bit kernel
Add code to jump to a 64-bit Linux kernel. We need to set up a flat page table structure, a new GDT and then go through a few hoops in the right order.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|