Attention is currently required from: Arthur Heymans. Hello build bot (Jenkins), Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/58657
to look at the new patch set (#2).
Change subject: drivers/net/r8168.c: Guard against generating power resource ......................................................................
drivers/net/r8168.c: Guard against generating power resource
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 --- M src/drivers/net/Kconfig M src/drivers/net/r8168.c M src/mainboard/google/hatch/Kconfig 3 files changed, 9 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/58657/2