
On Thu, Mar 15, 2018 at 04:09:52PM +0530, Keerthy wrote:
From: Tero Kristo t-kristo@ti.com
Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers for wakeup from RTC-only mode. Parse these registers during SPL boot and jump to the kernel resume vector if the device is waking up from RTC-only mode.
[snip]
diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig index 9a9ccd7..5ff4a85 100644 --- a/arch/arm/mach-omap2/am33xx/Kconfig +++ b/arch/arm/mach-omap2/am33xx/Kconfig @@ -239,6 +239,13 @@ config TARGET_CM_T43
endchoice
+config SPL_RTC_ONLY_SUPPORT
- bool
- depends on SPL
- prompt "Enable RTC ONLY Support"
- help
If you want RTC ONLY Support, say Y.
Please expand on the help content here.
[snip]
+/*
- RTC only mode magic value, checked against during boot to see if we have
- a valid config
- */
+#define RTC_MAGIC_VAL 0x8cd0
Update the comment to include where this value needs to be kept in sync with (what file in the kernel?).
[snip]
+CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
We don't support this on all of those, do we? I thought the comments said you can't do it on ePOS... Thanks!