platform/x86: intel_scu_wdt: Move driver from arch/x86
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Oct 2020 16:03:19 +0000 (19:03 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Jan 2021 18:05:32 +0000 (20:05 +0200)
commit18365d686e1ee953983e04b7beca4362bff56297
tree52e80486eac8f9a43ad79511e1ce9ec9136f1cc8
parentf285c9532b5bd3de7e37a6203318437cab79bd9a
platform/x86: intel_scu_wdt: Move driver from arch/x86

The ACPI-enabled Intel MID platforms neither have WDAT table nor proper IDs
to instantiate watchdog device. In order to keep them working move the board
code from arch/x86 to drivers/platform/x86.

Note, the complete SFI support is going to be removed, that's why PDx86
has been chosen as a new home for it. This is the only device which needs
additional code so far.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/x86/platform/intel-mid/device_libs/Makefile
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel_scu_wdt.c [moved from arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c with 100% similarity]