From 0167f53b9dc62d65b5a4b0c2cfe4b231f02c8a10 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jo@mein.io>
Date: Fri, 11 May 2018 16:01:26 +0200
Subject: [PATCH] at91: add missing config symbols

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
---
 target/linux/at91/config-4.9             | 2 ++
 target/linux/at91/sama5d2/config-default | 1 +
 2 files changed, 3 insertions(+)

diff --git a/target/linux/at91/config-4.9 b/target/linux/at91/config-4.9
index dbc976b1dc..e1d6f78233 100644
--- a/target/linux/at91/config-4.9
+++ b/target/linux/at91/config-4.9
@@ -433,6 +433,7 @@ CONFIG_PM_SLEEP_DEBUG=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_AT91_POWEROFF=y
 CONFIG_POWER_RESET_AT91_RESET=y
+# CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC is not set
 CONFIG_POWER_SUPPLY=y
 # CONFIG_PREVENT_FIRMWARE_BUILD is not set
 CONFIG_PROC_PAGE_MONITOR=y
@@ -457,6 +458,7 @@ CONFIG_RTC_DRV_AT91RM9200=y
 # CONFIG_RTC_DRV_CMOS is not set
 CONFIG_RTC_I2C_AND_SPI=y
 CONFIG_RWSEM_XCHGADD_ALGORITHM=y
+# CONFIG_SAMA5D4_WATCHDOG is not set
 # CONFIG_SCHED_INFO is not set
 CONFIG_SCSI=y
 # CONFIG_SCSI_LOWLEVEL is not set
diff --git a/target/linux/at91/sama5d2/config-default b/target/linux/at91/sama5d2/config-default
index c682dc0d6e..eecc057d65 100644
--- a/target/linux/at91/sama5d2/config-default
+++ b/target/linux/at91/sama5d2/config-default
@@ -135,6 +135,7 @@ CONFIG_SAMA5D4_WATCHDOG=y
 CONFIG_MFD_ACT8945A=y
 CONFIG_MFD_ATMEL_FLEXCOM=y
 CONFIG_MFD_ATMEL_HLCDC=y
+CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_VIRTUAL_CONSUMER=m
-- 
2.30.2