59a348b75a
Not all platforms need to generate power resources, but the code does not get optimized out at build time because the devicetree gets compiled into a linked list. As this code pulls in some heavy ACPI dependencies that is even implemented with weak empty function it makes sense to optimize out this code using a Kconfig constant. This saves 1.5K in ramstage size on gigabyte/ga-945gcm-s2l. Change-Id: I82289aa7e6e82318417f3b827b86182891dfc2a6 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58657 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
---|---|---|
.. | ||
spd | ||
variants | ||
board_info.txt | ||
bootblock.c | ||
chromeos-hatch-16MiB.fmd | ||
chromeos-hatch-32MiB.fmd | ||
chromeos-puff-16MiB.fmd | ||
chromeos-puff-32MiB.fmd | ||
chromeos.c | ||
dsdt.asl | ||
ec.c | ||
Kconfig | ||
Kconfig.name | ||
Makefile.inc | ||
ramstage.c | ||
romstage_spd_cbfs.c | ||
romstage_spd_smbus.c | ||
smihandler.c |