Exynos platform uses a SYSCON mapped pmu register store
the reboot mode magic value for bootloader to use when
system reboot.
Add the shared header describing the values firmware expects
for different boot modes.
Change-Id: I83bfd3df79652ba55e158fc9e0a56724597ef67d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
--- /dev/null
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __EXYNOS_BOOT_MODE_H
+#define __EXYNOS_BOOT_MODE_H
+
+/* high 24-bits is tag, low 8-bits is type */
+#define REBOOT_FLAG 0x12345670
+/* normal boot */
+#define BOOT_NORMAL (REBOOT_FLAG + 0)
+/* enter bootloader thor download mode */
+#define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1)
+
+#endif