| 2627c7e2 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add support for SDRAM setup
Broadwell uses a binary blob called the memory reference code (MRC) to start up its SDRAM. This is similar to ivybridge so we can mostly use common code f
x86: broadwell: Add support for SDRAM setup
Broadwell uses a binary blob called the memory reference code (MRC) to start up its SDRAM. This is similar to ivybridge so we can mostly use common code for running this blob.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 71a8f208 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add power-control support
Broadwell requires quite a bit of power-management setup. Add code to set this up correctly.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Me
x86: broadwell: Add power-control support
Broadwell requires quite a bit of power-management setup. Add code to set this up correctly.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com> [squashed in http://patchwork.ozlabs.org/patch/598373/] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| e7994858 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add reference code support
Broadwell needs a special binary blob to set up the PCH. Add code to run this on start-up.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Men
x86: broadwell: Add reference code support
Broadwell needs a special binary blob to set up the PCH. Add code to run this on start-up.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 08cb7420 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add an LPC driver
Add a driver for the broadwell LPC (low-pin-count peripheral). This mostly uses common code.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmen
x86: broadwell: Add an LPC driver
Add a driver for the broadwell LPC (low-pin-count peripheral). This mostly uses common code.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| da3363d5 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add a northbridge driver
Add a driver for the broadwell northbridge. This sets up the location of several blocks of registers.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by
x86: broadwell: Add a northbridge driver
Add a driver for the broadwell northbridge. This sets up the location of several blocks of registers.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| d2c29d9a | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add a SATA driver
Add a SATA driver for broadwell. This supports connecting an SSD and the usual U-Boot commands to read and write data.
Signed-off-by: Simon Glass <sjg@chromium.org
x86: broadwell: Add a SATA driver
Add a SATA driver for broadwell. This supports connecting an SSD and the usual U-Boot commands to read and write data.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| b24f5c4f | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add a pinctrl driver
GPIO pins need to be set up on start-up. Add a driver to provide this, configured from the device tree.
The binding is slightly different from the existing ICH6
x86: broadwell: Add a pinctrl driver
GPIO pins need to be set up on start-up. Add a driver to provide this, configured from the device tree.
The binding is slightly different from the existing ICH6 binding, since that is quite verbose. The new binding should be just as extensible.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 1e6f4e58 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: broadwell: Add a PCH driver
Add a driver for the broadwell low-power platform controller hub.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com> |
| 2f3f477b | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Add basic support for broadwell
This adds the broadwell architecture, with the CPU driver and some useful header files.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.
x86: Add basic support for broadwell
This adds the broadwell architecture, with the CPU driver and some useful header files.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| e77b62e2 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Update microcode for secondary CPUs
Each CPU needs to have its microcode loaded. Add support for this so that all CPUs will have the same version.
Signed-off-by: Simon Glass <sjg@chromium.org>
x86: Update microcode for secondary CPUs
Each CPU needs to have its microcode loaded. Add support for this so that all CPUs will have the same version.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 64992778 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: ivybridge: Show microcode version for each core
Enable the microcode feature so that the microcode version is shown with the 'cpu detail' command.
Signed-off-by: Simon Glass <sjg@chromium.org>
x86: ivybridge: Show microcode version for each core
Enable the microcode feature so that the microcode version is shown with the 'cpu detail' command.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 6bcb675b | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Record the CPU details when starting each core
As each core starts up, record its microcode version and CPU ID so these can be presented with the 'cpu detail' command.
Signed-off-by: Simon Gla
x86: Record the CPU details when starting each core
As each core starts up, record its microcode version and CPU ID so these can be presented with the 'cpu detail' command.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| f7d35bc1 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Move common MRC Kconfig options to the common file
At present the MRC options are private to ivybridge. Other Intel CPUs also use these settings. Move them to a common place.
Signed-off-by: Si
x86: Move common MRC Kconfig options to the common file
At present the MRC options are private to ivybridge. Other Intel CPUs also use these settings. Move them to a common place.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 8b900a41 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Move Intel Management Engine code to a common place
Some of the Intel ME code is common to several Intel CPUs. Move it into a common location. Add a header file for report_platform.c also.
Sig
x86: Move Intel Management Engine code to a common place
Some of the Intel ME code is common to several Intel CPUs. Move it into a common location. Add a header file for report_platform.c also.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [squashed in http://patchwork.ozlabs.org/patch/598372/] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 2a605d4d | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Rename PORT_RESET to IO_PORT_RESET
This same name is used in USB. Add a prefix to distinguish it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
| 50dd3da0 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Move common CPU code to its own place
Some of the Intel CPU code is common to several Intel CPUs. Move it into a common location along with required declarations.
Signed-off-by: Simon Glass <s
x86: Move common CPU code to its own place
Some of the Intel CPU code is common to several Intel CPUs. Move it into a common location along with required declarations.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 8c30b571 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Move common LPC code to its own place
Some of the LPC code is common to several Intel LPC devices. Move it into a common location.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bi
x86: Move common LPC code to its own place
Some of the LPC code is common to several Intel LPC devices. Move it into a common location.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| bb096b9f | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Add the root-complex block to common intel registers
This is similar to MCH in that it is used in various drivers. Add it to the common header.
Signed-off-by: Simon Glass <sjg@chromium.org> Re
x86: Add the root-complex block to common intel registers
This is similar to MCH in that it is used in various drivers. Add it to the common header.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 06d336cc | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Create a common header for Intel register access
There are several blocks of registers that are accessed from all over the code on Intel CPUs. These don't currently have their own driver and it
x86: Create a common header for Intel register access
There are several blocks of registers that are accessed from all over the code on Intel CPUs. These don't currently have their own driver and it is not clear whether having a driver makes sense.
An example is the Memory Controller Hub (MCH). We map it to a known location on some Intel chips (mostly those without FSP - Firmware Support Package).
Add a new header file for these registers, and move MCH into it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 9e66506d | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Move microcode code to a common location
This code is used on several Intel CPUs. Move it into a common location.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@
x86: Move microcode code to a common location
This code is used on several Intel CPUs. Move it into a common location.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 1223d737 | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Move cache-as-RAM code into a common location
This cache-as-RAM (CAR) code is common to several Intel chips. Create a new intel_common directory and move it in there.
Signed-off-by: Simon Glas
x86: Move cache-as-RAM code into a common location
This cache-as-RAM (CAR) code is common to several Intel chips. Create a new intel_common directory and move it in there.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 342727ac | 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: cpu: Add functions to return the family and stepping
These two identifiers can be useful for drivers which need to adjust their behaviour depending on the CPU family or stepping (revision).
Si
x86: cpu: Add functions to return the family and stepping
These two identifiers can be useful for drivers which need to adjust their behaviour depending on the CPU family or stepping (revision).
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| d116b53f | 07-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Add comments to the SIPI vector
The Intel SIPI (start-up inter-processor interrupt) vector is the entry point for each secondary CPU (also called an AP - applications processor). The assembler
x86: Add comments to the SIPI vector
The Intel SIPI (start-up inter-processor interrupt) vector is the entry point for each secondary CPU (also called an AP - applications processor). The assembler and C code are linked, so add comments to indicate this.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 2254e34c | 07-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Tidy up mp_init to reduce duplication
The timeout step is always 50us. By updating apic_wait_timeout() to print the debug messages we can simplify the code. Also tidy up a few messages and comm
x86: Tidy up mp_init to reduce duplication
The timeout step is always 50us. By updating apic_wait_timeout() to print the debug messages we can simplify the code. Also tidy up a few messages and comments while we are here.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 8bf08b42 | 07-Mar-2016 |
Simon Glass <sjg@chromium.org> |
x86: Add some more common MSR indexes
Many of the model-specific indexes are common to several Intel CPUs. Add some more common ones, and remove them from the ivybridge-specific header file.
Signed
x86: Add some more common MSR indexes
Many of the model-specific indexes are common to several Intel CPUs. Add some more common ones, and remove them from the ivybridge-specific header file.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|