coreboot/src/drivers/usb
Arthur Heymans a2bc2540c2 Allow to build romstage sources inside the bootblock
Having a separate romstage is only desirable:
 - with advanced setups like vboot or normal/fallback
 - boot medium is slow at startup (some ARM SOCs)
 - bootblock is limited in size (Intel APL 32K)

When this is not the case there is no need for the extra complexity
that romstage brings. Including the romstage sources inside the
bootblock substantially reduces the total code footprint. Often the
resulting code is 10-20k smaller.

This is controlled via a Kconfig option.

TESTED: works on qemu x86, arm and aarch64 with and without VBOOT.

Change-Id: Id68390edc1ba228b121cca89b80c64a92553e284
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55068
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2023-11-09 13:20:18 +00:00
..
acpi drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
hub drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
pci_xhci drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
console.c
ehci.h drivers/usb/ehci.h: Use C99 flexible arrays 2023-08-01 13:38:48 +00:00
ehci_debug.c Allow to build romstage sources inside the bootblock 2023-11-09 13:20:18 +00:00
ehci_debug.h
gadget.c drivers/usb/gadget.c: Add support for EHCI debug using the WCH CH347 2022-11-11 13:33:34 +00:00
Kconfig drivers/usb/gadget.c: Add support for EHCI debug using the WCH CH347 2022-11-11 13:33:34 +00:00
Makefile.inc drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
pci_ehci.c treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
usb_ch9.h