link: Hack to add ACPI SSDT containing a TPM device

The ACPI DSDT on Link is missing the TPM Device on the LPC bus.
This means that the TPM driver does not automatically load and
must be forced with a module parameter.

This change will find the existing SSDT and add a new SSDT after
it and then add that new table to the RDST/XSDT so it can be found.

BUG=chromium-os:39806
BRANCH=link
TEST=manual: Boot Fedora with the 3.9-rc2 kernel and see that the
TPM driver modules are loaded and were able to detect the TPM.

Also read out the new SSDT and verify that the table is correct
and matches the table that is in the source:

$ sudo cat /sys/firmware/acpi/tables/SSDT2 > /tmp/SSDT2
$ iasl -d /tmp/SSDT2
$ cat /tmp/SSDT2.dsl # compare the output to the source

Change-Id: I049a4975fdd2265864e14d482484c7eb9191bcbd
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45261
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
4 files changed