[U-Boot] [PATCH 2/7] exynos4: configure power down magic values

Simon Shields simon at lineageos.org
Wed Sep 12 08:28:28 UTC 2018


These values are used to indicate the power-down state of the system.
We need them to know how much initialisation we should do on bootup.

Signed-off-by: Simon Shields <simon at lineageos.org>
---
 include/configs/exynos4-common.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index 005f65d4ed..d7997930e9 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -22,6 +22,11 @@
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
+/* Power Down Modes */
+#define S5P_CHECK_SLEEP			0x00000BAD
+#define S5P_CHECK_DIDLE			0xBAD00000
+#define S5P_CHECK_LPA			0xABAD0000
+
 /* USB Samsung's IDs */
 #define CONFIG_G_DNL_THOR_VENDOR_NUM 0x04E8
 #define CONFIG_G_DNL_THOR_PRODUCT_NUM 0x685D
-- 
2.18.0



More information about the U-Boot mailing list