mainboard/reef: add variant support to ASL code
commitfec0328c5f653233859d4aec7dae0b94acb67e97
authorAaron Durbin <adurbin@chromium.org>
Wed, 14 Sep 2016 19:42:25 +0000 (14 14:42 -0500)
committerAaron Durbin <adurbin@chromium.org>
Thu, 15 Sep 2016 21:33:45 +0000 (15 23:33 +0200)
treee4c20aa625cea5f8c38ec0b16c67475863c724ae
parent871da8e580de48de41082cc80895cd84e77221ca
mainboard/reef: add variant support to ASL code

There are certain board-specific options for reef variants. The
big one is the DPTF settings. Rearrange the ASL files such
that dsdt.asl is the main landing area. The ACPI options for
Chrome EC are contained in the variant/ec.h header so the
actual code #includes can just reside in dstd.asl. Since most
of the mainboard specific peripherals are auto generated by
the acpigen from devicetree there's no real separate need
for mainboard.asl. The one thing not addressed in this CL
is the notion of a variant having the Chrome EC or not (along
with lid, etc). Future indirection can be provided when needed
to address that requirement.

BUG=chrome-os-partner:56677

Change-Id: I5c888f5fc64913dcff010c28f87e69ac5449e6b6
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16604
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
src/mainboard/google/reef/acpi/ec.asl [deleted file]
src/mainboard/google/reef/acpi/mainboard.asl [deleted file]
src/mainboard/google/reef/dsdt.asl
src/mainboard/google/reef/variants/baseboard/include/baseboard/acpi/dptf.asl [moved from src/mainboard/google/reef/acpi/dptf.asl with 94% similarity]
src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h
src/mainboard/google/reef/variants/reef/include/variant/acpi/dptf.asl [moved from src/mainboard/google/reef/acpi/superio.asl with 66% similarity]