These changes make your mainboard using the variant mechanism, but I suggest you get the other changes done first.
8 comments:
File src/mainboard/gigabyte/ga-z170x-gaming7/Kconfig:
Add this
config DEVICETREE
string
default "variant/$(VARIANT_DIR)/devicetree.cb"
Add this
config VARIANT_DIR
string
default "ga-z170x-gaming7" if BOARD_GIGABYTE_GA_Z170X_GAMING_7
and create this directory
variant/ga-z170x-gaming7
File src/mainboard/gigabyte/ga-z170x-gaming7/Makefile.inc:
Patch Set #13, Line 18: hda_verb.c
Replace with ..
variant/$(VARIANT_DIR)/hda_verb.c
Patch Set #13, Line 19: gma-mainboard.ads
Replace with ..
variant/$(VARIANT_DIR)/gma-mainboard.ads
File src/mainboard/gigabyte/ga-z170x-gaming7/devicetree.cb:
Move this file to variant/ga-z170x-gaming7
File src/mainboard/gigabyte/ga-z170x-gaming7/gma-mainboard.ads:
Move this file to variant/ga-z170x-gaming7
File src/mainboard/gigabyte/ga-z170x-gaming7/gpio.c:
Move this file to variant/ga-z170x-gaming7
File src/mainboard/gigabyte/ga-z170x-gaming7/hda_verb.c:
Move this file to variant/ga-z170x-gaming7
To view, visit change 38920. To unsubscribe, or for help writing mail filters, visit settings.