soc/intel/skylake: Update GFX devtree options
commitde08ae1080997d5ad232df183f9ce9724b1eb1e4
authorMaxim Polyakov <max.senia.poliak@gmail.com>
Thu, 21 Mar 2019 15:50:42 +0000 (21 18:50 +0300)
committerNico Huber <nico.h@gmx.de>
Sat, 6 Apr 2019 13:11:25 +0000 (6 13:11 +0000)
tree1699e0f8bf70e2d792692b1408507a5b29e95e22
parent407a27946128ee79c16ebb14104824459af9f424
soc/intel/skylake: Update GFX devtree options

This patch includes the following changes:

 1. Sets FSP options in romstage_fsp20.c to select primary GPU.
    List of options:
      - InternalGfx,
      - PrimaryDisplay.

 2. iGPU will be initialized if the corresponding PCI device is defined
    in the device tree as:

      device pci 02.0 on end

    In this case, it is not necessary to set the InternalGfx option to
    enable this device

 3. Primary_iGFX is used as the default value for all skl/kbl boards
    (since the PrimaryDisplay option isn`t defined in the devicetree.cb)

Change-Id: Ie3f9362676105e41c69139a094dbb9e8b865689f
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32044
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
src/soc/intel/skylake/chip.h
src/soc/intel/skylake/romstage/romstage_fsp20.c