From 6b650811e500d78b91565d83ba5158d07a3672dd Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 15 Nov 2021 20:01:11 -0600 Subject: [PATCH] mb/google/dedede: add VBTs for drawcia, mangolor variants Add VBT data files, ensure secondary VBTs compiled in as needed, select INTEL_GMA_HAVE_VBT. TEST=build/boot drawcia, mangolor variants with FSP/GOP display init and edk2 payload Change-Id: I58a2ed59bd858ce772e92f6659d341036823b11a Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/68464 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Angel Pons --- src/mainboard/google/dedede/Kconfig.name | 2 ++ .../google/dedede/variants/drawcia/Makefile.inc | 2 ++ .../google/dedede/variants/drawcia/data.vbt | Bin 0 -> 7680 bytes .../dedede/variants/drawcia/drawman-data.vbt | Bin 0 -> 7680 bytes .../google/dedede/variants/magolor/Makefile.inc | 2 ++ .../google/dedede/variants/magolor/data.vbt | Bin 0 -> 7680 bytes .../dedede/variants/magolor/magister-data.vbt | Bin 0 -> 7680 bytes 7 files changed, 6 insertions(+) create mode 100644 src/mainboard/google/dedede/variants/drawcia/data.vbt create mode 100644 src/mainboard/google/dedede/variants/drawcia/drawman-data.vbt create mode 100644 src/mainboard/google/dedede/variants/magolor/data.vbt create mode 100644 src/mainboard/google/dedede/variants/magolor/magister-data.vbt diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name index dca36a6e9b..3bb63639a0 100644 --- a/src/mainboard/google/dedede/Kconfig.name +++ b/src/mainboard/google/dedede/Kconfig.name @@ -19,6 +19,7 @@ config BOARD_GOOGLE_DRAWCIA select DRIVERS_GENERIC_MAX98357A select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR select DRIVERS_INTEL_MIPI_CAMERA + select INTEL_GMA_HAVE_VBT select SOC_INTEL_COMMON_BLOCK_IPU help The Drawcia board supports the following devices: @@ -73,6 +74,7 @@ config BOARD_GOOGLE_MAGOLOR select DRIVERS_I2C_DA7219 select DRIVERS_INTEL_MIPI_CAMERA select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR + select INTEL_GMA_HAVE_VBT select SOC_INTEL_COMMON_BLOCK_IPU config BOARD_GOOGLE_METAKNIGHT diff --git a/src/mainboard/google/dedede/variants/drawcia/Makefile.inc b/src/mainboard/google/dedede/variants/drawcia/Makefile.inc index c517214e46..9e9af40e76 100644 --- a/src/mainboard/google/dedede/variants/drawcia/Makefile.inc +++ b/src/mainboard/google/dedede/variants/drawcia/Makefile.inc @@ -5,3 +5,5 @@ ramstage-y += ramstage.c ramstage-$(CONFIG_FW_CONFIG) += variant.c smm-y += variant.c + +$(call add_vbt_to_cbfs, vbt_drawman.bin, drawman-data.vbt) diff --git a/src/mainboard/google/dedede/variants/drawcia/data.vbt b/src/mainboard/google/dedede/variants/drawcia/data.vbt new file mode 100644 index 0000000000000000000000000000000000000000..7a45a860ec11f7a9f27a5e399a019c47c5a17387 GIT binary patch literal 7680 zcmeHMO-vg{6n?YoU5snOQc!S!kSRpO&;W}elpt4GV<0i%#|DBNwGsxrZBQMcKq^vI zVykjMm8$NkC26I)l`2*A!lga?R3Y_Z^-%TD1IH-Jkz13xZ)T0bP=eExsziR)o1LBa z=G*t)yq%x*`LV81+UFYy_6+y?uJ=$zQBc8O^&^%CsVguvGT!YQ^^JG+5BaatM{pWm zuKM#KK$MU(&K6Z|3Ct|&G52si9hjY*j_J+a`ocSlvvV})4^ZFKlpfRPCl>W69T~go zqYSUe(RF7!7NvuCZcpm-ofJV-)TS+MO|5N|dR}W*Tbn&<%O#X_wzPL%x?JSw?(q)| z1OxrP(ZJ9k9U7+Hff3)xNY6l5|4kYk9=aCj3XJx27df(A@XyZOou7XD)*^NL>!}By z)5vkT$<#kPKi5Qku^1g@Itz4IU(n~@)1ysA4hEC}yNv)435pXy;E4yY0qh#sG_V8M z05kxa^}u~M3J6gmpyCBP$gaIYgctd}wg-VC=1;dkQDCalQZ4`xcugS`O-YlerPY?x zYG{pxMzho?(?_%~Div0PLUe{#)V*rF<%AcH-$w`10U|&c0h}TSGx}3;^MI@8BnQ+Z zw<5oed=)u_{06d)Jd1o6`6J{{kUvNM8u@$VACL>92r2M^I<9gZ$?-E}vOAU9@#3V` zoTbo*=`Py6D^=W=8vv=V%GN=)ZlS=ti86k5Vn)NPby5UjZwoNU%P z8XRQ@xtvj;&U6d zh|s`#0U&~8^5xVSmsWDfhx_&MWN4*E4c;ryAc*i1t2;G07X-CI+l;J4Rac1T0JlNJ zbYuwsFelLq5sEAXiRR$N!wQH8X}RiD{j8T|gNg4Wk7NhW2bScAXSL92xZdq()WVIs zV=ClC|gXFj!AZJ9Eax`Gh~V3R1bGRapGewc>h z<#SicaKPBW9Y$U+*geyAz3l{Qr)NBPm>YL{0Z-=a(8oLFpS&Bpe6;`l4BIBwZ?*K< zYr7+pU6VO={9>);*|HOUcez0l`7Y^%`;j+4AAx)X@)0=J2y}iURKc5*0ES@VVJZS! zHGaia^|8Kp1t2^*w>h9y~z>n?_u)ir-i2@E9j^V+|~~zQxUvw1ywV z=TJw*ez-?NN+2`Yl0=DuvI?7$B{P3#vMmyZHI&t5$&yO~XtFA3h_YexWXT>65Ezrz zNiUdaOEt=@Gp~Wq`z=Ypl;ik!6GhDGjGYOTnKuP63M|=%trmT^K6x{lElwaVB}owO z!HQUenAYBr$(RqCya_G{p)AU@kuCoYi%SCK=Zjce;#f+h8sL literal 0 HcmV?d00001 diff --git a/src/mainboard/google/dedede/variants/drawcia/drawman-data.vbt b/src/mainboard/google/dedede/variants/drawcia/drawman-data.vbt new file mode 100644 index 0000000000000000000000000000000000000000..b29655cf6c8c3a2a2e0f4bb4264a94319e306542 GIT binary patch literal 7680 zcmeHMO-vhC5T3W|U5snOQc!S!kXML^p#c^{C_%1RV<0i%#|DBNwGsxrZBQMcKq^vI zVykjMm8$NkB}t{al`2*A!X&wsEmGfRX10QF5y>M?z8d_j-W;n6ET z%J2#towuiAQ95w@)`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wawg!PHF`H0%)ONE&u=k literal 0 HcmV?d00001 diff --git a/src/mainboard/google/dedede/variants/magolor/Makefile.inc b/src/mainboard/google/dedede/variants/magolor/Makefile.inc index 33333832e8..f2cbf8d8e0 100644 --- a/src/mainboard/google/dedede/variants/magolor/Makefile.inc +++ b/src/mainboard/google/dedede/variants/magolor/Makefile.inc @@ -2,3 +2,5 @@ ramstage-$(CONFIG_FW_CONFIG) += variant.c ramstage-y += gpio.c + +$(call add_vbt_to_cbfs, vbt_magister.bin, magister-data.vbt) diff --git a/src/mainboard/google/dedede/variants/magolor/data.vbt b/src/mainboard/google/dedede/variants/magolor/data.vbt new file mode 100644 index 0000000000000000000000000000000000000000..fa3d21a1d676f9ccd730d53331f333b0f5ae933c GIT binary patch literal 7680 zcmeHMO-vg{6n?YoU5snOQc!S!kSRpO&;W}elpt4GV<0i%#|DBNwGsxrZBQMcKq^vI zVykjMm8$NkC26I)l`2*A!lkz!e5#Oov3jU_=z(Jt<;bl`-8ZwwU?{<9N>w61>&?#2 zd-LskZ{E(&`uteeDDCr&1bc@2eb;*^qbR80ulfCwghGt^_Y9Oo({}TPRI1-ZhhgM#o0L;^arSKYD$mk^An4Dl#YyD z^-+dbzF3S7Go1xGtS{*E@9EK|A_oIXfZav_hy=w6An?Qk*Z_77Y#P`B zYycVn&3fRz8wG?Y5m51h9c0&DA;OFNUfY8}5%Z^8peQg^X(<-~2)w2cil*$4mR4I% ztD!X(8qHFpOdrv{s8m=D3eg!}QM1%|)5$I#zmN8(14Mu@0ysquX7s1x<^fO7Ne-w- zZbg0_`6_Y<`3+ zIZL4r(_OTCSE{%#Hvm#!m92wp-9mwP$Hjx!|A(y7DJBaXkSy3HtEGEuk-~#*f2Vi+ zZ3jblSW7BZlBUBn^6mKuJS_t5YMcTWvNS$s^A?iT*f1&?!WJ<~PVwc+KJUbLCoDMm zb(<)7m5MJwD)nojVbZO$iakBtcNVNRkKA{1E&63xMjhZPVH(sI?Q`dKf_1{2>$9?1@#4=l+K&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