coreboot/src/arch/x86
Arthur Heymans 4cc9b6c78d usbdebug: Initialize the HW once in CAR stages
The EHCI hardware needs to be initialized only once during CAR stages.
Some exception need to be made when a blob messes with the EHCI
hardware. To achieve this add a fixed location in the car.ld linker
script such that the ehci debug information can be shared across CAR
stages.

Currently this means only romstage and bootblock, but verstage can
also be hooked up later on.

Tested on google/peppy: Both the bootblock and the romstage properly
output console.

Change-Id: I78e20a172fd5cc81f366d580f3cce57b9545d7a2
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30481
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2019-01-07 10:36:59 +00:00
..
acpi mb: Set coreboot as DSDT's manufacturer model ID 2018-11-23 11:00:40 +00:00
include usbdebug: Initialize the HW once in CAR stages 2019-01-07 10:36:59 +00:00
acpi.c src/arch/x86/acpi.c: Create log area and extend TPM2 table 2018-11-23 12:56:44 +00:00
acpi_bert_storage.c arch/x86/acpi_bert_storage.c: Fix coverity error CID 1395706 2018-09-15 12:43:26 +00:00
acpi_device.c acpi: Call acpi_gen_writeSTA by status from device tree 2018-09-16 08:37:42 +00:00
acpi_pld.c acpi_pld: Make it easier to define the ACPI USB device groups 2018-12-04 22:50:15 +00:00
acpi_s3.c src: Remove unneeded include "{arch,cpu}/cpu.h" 2018-11-12 09:22:18 +00:00
acpigen.c arch/x86/acpigen.c: Add a method to notify all CPU cores 2018-11-29 12:19:31 +00:00
acpigen_dsm.c arch/x86/acpigen: Fix acpigen for If (Lequal (...)) 2016-11-16 01:08:06 +01:00
assembly_entry.S arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
boot.c arch/x86: Drop spurious arch/stages.h includes 2018-12-28 06:47:31 +00:00
bootblock.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock_crt0.S soc/intel/quark: Drop BOOTBLOCK_SAVE_BIST_AND_TIMESTAMP 2018-12-24 08:19:08 +00:00
bootblock_normal.c Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
bootblock_romcc.S arch/x86: Use a common timestamp.inc with romcc bootblocks 2018-12-30 12:30:55 +00:00
bootblock_simple.c Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
c_start.S arch/x86/c_start.S: Use tabs instead of white spaces 2018-12-28 13:12:36 +00:00
car.ld usbdebug: Initialize the HW once in CAR stages 2019-01-07 10:36:59 +00:00
cbfs_and_run.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
cbmem.c arch/x86 cbmem: Drop tests for LATE_CBMEM_INIT 2018-12-22 11:48:37 +00:00
cf9_reset.c arch/x86: Implement common CF9 reset 2018-10-22 08:35:08 +00:00
cpu.c cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
cpu_common.c cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
ebda.c arch/x86: initialize EBDA in S3 and S0/S5 path 2017-10-16 16:56:19 +00:00
exception.c arch/x86/exception: Improve the readability of a comment 2018-10-17 12:01:51 +00:00
exit_car.S arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
failover.ld arch/x86: rename reset_vector -> _start 2016-03-04 01:16:05 +01:00
gdt.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
gdt_init.S arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
id.ld arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
id.S arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
idt.S arch/x86: remove nop padding from exception vectors 2018-04-26 15:18:57 +00:00
ioapic.c ioapic: extend definition name to avoid collision 2018-04-09 09:29:51 +00:00
Kconfig cbmem: Always use EARLY_CBMEM_INIT 2018-12-22 11:49:17 +00:00
Makefile.inc amdfam10 boards: Add Makefiles and fix resourcemap.c 2019-01-04 17:20:08 +00:00
memcpy.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
memlayout.ld arch/x86: Use fixed size limit with RELOCATABLE_RAMSTAGE 2018-06-06 10:36:04 +00:00
memmove.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
memset.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
mmap_boot.c arch/x86: drop special case cbfs locator 2018-11-23 20:50:43 +00:00
mpspec.c cpuid: Add helper function for cpuid(1) functions 2018-12-13 04:32:57 +00:00
pci_ops.c Move pci_ops_mmconf from arch/x86/ to device/ 2018-05-08 03:01:35 +00:00
pci_ops_conf1.c arch/x86: Remove unneeded includes 2018-06-04 08:41:55 +00:00
pirq_routing.c src: Get rid of duplicated includes 2018-11-16 09:50:03 +00:00
postcar.c soc/intel/common: Bring DISPLAY_MTRRS into the light 2018-11-23 08:34:16 +00:00
postcar_loader.c arch/x86 cbmem: Drop tests for LATE_CBMEM_INIT 2018-12-22 11:48:37 +00:00
prologue.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rdrand.c arch/x86: Make rdrand.c clang friendly 2017-06-22 04:11:02 +00:00
smbios.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
stages.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tables.c src: Remove unneeded include "{arch,cpu}/cpu.h" 2018-11-12 09:22:18 +00:00
thread.c src/arch: Fix typo 2018-08-09 15:56:02 +00:00
thread_switch.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
timestamp.inc arch/x86: Use a common timestamp.inc with romcc bootblocks 2018-12-30 12:30:55 +00:00
verstage.c vboot: Remove CHIPSET_PROVIDES_VERSTAGE_MAIN_SYMBOL Kconfig option 2017-03-28 22:14:03 +02:00
wakeup.S arch/x86/wakeup.S: Use tabs instead of white spaces 2018-12-24 08:17:00 +00:00
walkcbfs.S arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00