x86: apl: Reduce size for TPL
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 15:11:30 +0000 (08:11 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000 (12:24 -0700)
commit8b842be10c2d40437b1f24a8dce8718c33045376
treed92e428e1be0982f160823d685b9feb218cece85
parent5e89be1efd4fb4633875f99b1dbe095ff4787c98
x86: apl: Reduce size for TPL

Update various drivers to use of_match_ptr() and to avoid including debug
strings in TPL. Omit the WiFi driver entirely, since it is not used in
TPL.

This reduces the TPL binary size by about 608 bytes.

Signed-off-by: Simon Glass <sjg@chromium.org>
13 files changed:
arch/x86/cpu/apollolake/lpc.c
arch/x86/cpu/apollolake/pch.c
arch/x86/cpu/apollolake/pmc.c
arch/x86/cpu/apollolake/uart.c
arch/x86/cpu/intel_common/Makefile
arch/x86/cpu/intel_common/itss.c
arch/x86/cpu/intel_common/p2sb.c
arch/x86/cpu/turbo.c
board/google/chromebook_coral/coral.c
drivers/gpio/intel_gpio.c
drivers/pinctrl/intel/pinctrl_apl.c
drivers/power/acpi_pmc/acpi-pmc-uclass.c
drivers/timer/tsc_timer.c