firmware: google memconsole: Add ARM/ARM64 support
authorThierry Escande <thierry.escande@collabora.com>
Tue, 28 Mar 2017 16:11:29 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 16:05:36 +0000 (18:05 +0200)
commita1d6f9cfc7c6f55ae65430c2fd0eb2bae69dc246
tree9643a350048611b2f6bef0a9646535f90d768a9b
parent88cfb1eefca9a403a76dc3e151adb7565b10e77d
firmware: google memconsole: Add ARM/ARM64 support

This patch expands the Google firmware memory console driver to also
work on certain tree based platforms running coreboot, such as ARM/ARM64
Chromebooks. This patch now adds another path to find the coreboot table
through the device tree. In order to find that, a second level
bootloader must have installed the 'coreboot' compatible device tree
node that describes its base address and size.

This patch is a rework/split/merge of patches from the chromeos v4.4
kernel tree originally authored by:
 Wei-Ning Huang <wnhuang@chromium.org>
 Julius Werner <jwerner@chromium.org>
 Brian Norris <briannorris@chromium.org>

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/google/Kconfig
drivers/firmware/google/Makefile
drivers/firmware/google/coreboot_table-of.c [new file with mode: 0644]