| 5021c81f | 29-Apr-2015 |
Simon Glass <sjg@chromium.org> |
x86: ivybridge: Use reset_cpu()
Now that reset_cpu() functions correctly, use it instead of directly accessing the port.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.c
x86: ivybridge: Use reset_cpu()
Now that reset_cpu() functions correctly, use it instead of directly accessing the port.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| ff6a8f3c | 29-Apr-2015 |
Simon Glass <sjg@chromium.org> |
x86: Implement reset_cpu() correctly for modern CPUs
The existing code is pretty ancient and is unreliable on modern hardware. Generally it will hang.
We can use port 0xcf9 to initiate reset on mor
x86: Implement reset_cpu() correctly for modern CPUs
The existing code is pretty ancient and is unreliable on modern hardware. Generally it will hang.
We can use port 0xcf9 to initiate reset on more modern hardware (say in the last 10 years). Update the reset_cpu() function to do this, and add a new 'full reset' function to perform a full power cycle.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 5e2400e8 | 24-Apr-2015 |
Bin Meng <bmeng.cn@gmail.com> |
x86: Write configuration tables in last_stage_init()
We can write the configuration table in last_stage_init() for all x86 boards, but not with coreboot since coreboot already has them.
Signed-off-
x86: Write configuration tables in last_stage_init()
We can write the configuration table in last_stage_init() for all x86 boards, but not with coreboot since coreboot already has them.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 90b16d14 | 26-Mar-2015 |
Simon Glass <sjg@chromium.org> |
x86: chromebook_link: dts: Add PCH and LPC devices
The PCH (Platform Controller Hub) is on the PCI bus, so show it as such. The LPC (Low Pin Count) and SPI bus are inside the PCH, so put these in th
x86: chromebook_link: dts: Add PCH and LPC devices
The PCH (Platform Controller Hub) is on the PCI bus, so show it as such. The LPC (Low Pin Count) and SPI bus are inside the PCH, so put these in the right place also.
Rename the compatible strings to be more descriptive since this board is the only user. Once we are using driver model fully on x86, these will be dropped.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 452f5487 | 26-Mar-2015 |
Simon Glass <sjg@chromium.org> |
dm: x86: Add a uclass for a Platform Controller Hub
Add a simple uclass for this chip which is often found in x86 systems where the CPU is a separate device.
The device can have children, so make i
dm: x86: Add a uclass for a Platform Controller Hub
Add a simple uclass for this chip which is often found in x86 systems where the CPU is a separate device.
The device can have children, so make it scan the device tree for these.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 312cc39e | 10-Mar-2015 |
Bin Meng <bmeng.cn@gmail.com> |
x86: quark: MRC codes clean up
This patch cleans up the quark MRC codes coding style by: - Remove BIT0/1../31 defines from mrc_util.h - Create names for the documented BITs and use them - For undocu
x86: quark: MRC codes clean up
This patch cleans up the quark MRC codes coding style by: - Remove BIT0/1../31 defines from mrc_util.h - Create names for the documented BITs and use them - For undocumented single BITs, use (1 << n) directly - For undocumented ORed BITs, use the hex number directly - Remove redundancy parenthesis all over the codes - Replace to use lower case hex numbers
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 6df7ffea | 04-Feb-2015 |
Bin Meng <bmeng.cn@gmail.com> |
x86: Add SD/MMC support to quark/galileo
Intel Galileo board has a microSD slot which is routed from Quark SoC SDIO controller. Enable SD/MMC support so that we can use an SD card.
Signed-off-by: B
x86: Add SD/MMC support to quark/galileo
Intel Galileo board has a microSD slot which is routed from Quark SoC SDIO controller. Enable SD/MMC support so that we can use an SD card.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 728b393f | 04-Feb-2015 |
Bin Meng <bmeng.cn@gmail.com> |
x86: Add SPI support to quark/galileo
The Quark SoC contains a legacy SPI controller in the legacy bridge which is ICH7 compatible. Like Tunnel Creek and BayTrail, the BIOS control register offset i
x86: Add SPI support to quark/galileo
The Quark SoC contains a legacy SPI controller in the legacy bridge which is ICH7 compatible. Like Tunnel Creek and BayTrail, the BIOS control register offset in the ICH SPI driver is wrong for the Quark SoC too, unprotect_spi_flash() is added to enable the flash write.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| b162257d | 04-Feb-2015 |
Bin Meng <bmeng.cn@gmail.com> |
x86: quark: Initialize non-standard BARs
Quark SoC has some non-standard BARs (excluding PCI standard BARs) which need be initialized with suggested values. This includes GPIO, WDT, RCBA, PCIe ECAM
x86: quark: Initialize non-standard BARs
Quark SoC has some non-standard BARs (excluding PCI standard BARs) which need be initialized with suggested values. This includes GPIO, WDT, RCBA, PCIe ECAM and some ACPI register block base addresses.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|