Currently this needlessly initializes the hardware in the both the romstage and the bootblock, but it works. Build option is renamed to USBDEBUG_IN_PRE_RAM to reflect the use better, related support files can be built to pre-ram stages regardless of usbdebug being enabled or not. Tested on Google/peppy (adapted to C_ENVIRONMENT_BOOTBLOCK). Change-Id: Ib77f2fc7f3d8fa524405601bae15cce9f76ffc6f 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/30480 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
34 lines
727 B
Makefile
34 lines
727 B
Makefile
ifeq ($(CONFIG_SOUTHBRIDGE_NVIDIA_MCP55),y)
|
|
|
|
ramstage-y += mcp55.c
|
|
ramstage-y += azalia.c
|
|
ramstage-y += ht.c
|
|
ramstage-y += ide.c
|
|
ramstage-y += lpc.c
|
|
ramstage-y += nic.c
|
|
ramstage-y += pci.c
|
|
ramstage-y += pcie.c
|
|
ramstage-y += sata.c
|
|
ramstage-y += smbus.c
|
|
ramstage-y += usb2.c
|
|
ramstage-y += usb.c
|
|
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
|
|
|
ramstage-y += reset.c
|
|
|
|
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
|
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
|
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
|
romstage-y += early_smbus.c
|
|
romstage-y += early_ctrl.c
|
|
|
|
ifeq ($(CONFIG_MCP55_USE_AZA),y)
|
|
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
|
|
endif
|
|
|
|
bootblock-y += romstrap.ld
|
|
bootblock-y += romstrap.S
|
|
|
|
endif
|