diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-11-28 16:57:15 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-11 08:58:13 +0000 |
commit | 4cdb2b9b75fe2cf722b0409652a0d660b58fecfd (patch) | |
tree | a7068b16a29bb2accd2ca6ce66b2794ffd8b4382 /src/mainboard/lenovo/x200/Makefile.inc | |
parent | b81dcc6c4d046392835002fcf6f1661437d0f31c (diff) | |
download | coreboot-4cdb2b9b75fe2cf722b0409652a0d660b58fecfd.tar.xz |
mb/intel/x200: Add data.vbt
There are 2 vendor BIOS's for the Lenovo X200 with the difference being the
settings in the VBT blob to accommodate different backlight frequencies.
Linux however sticks with the setting set by the firmware.
Tested on Lenovo X200 with CCFL backlight.
Change-Id: I4c4a7011ce03cdd511fa2e2160c2f006ba2707ba
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/29904
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x200/Makefile.inc')
-rw-r--r-- | src/mainboard/lenovo/x200/Makefile.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x200/Makefile.inc b/src/mainboard/lenovo/x200/Makefile.inc index c10bc70e67..5e9832dcce 100644 --- a/src/mainboard/lenovo/x200/Makefile.inc +++ b/src/mainboard/lenovo/x200/Makefile.inc @@ -19,3 +19,12 @@ ramstage-y += blc.c romstage-y += gpio.c ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads + +add_vbt_to_cbfs= \ + $(eval cbfs-files-y += $1) \ + $(eval $1-file := $2) \ + $(eval $1-type := raw) \ + $(eval $1-compression := lzma) + +$(call add_vbt_to_cbfs, data_ccfl.vbt, data_ccfl.vbt) +$(call add_vbt_to_cbfs, data_led.vbt, data_led.vbt) |