1Generic reboot mode core map driver
2
3This driver get reboot mode arguments and call the write
4interface to store the magic value in special register
5or ram. Then the bootloader can read it and take different
6action according to the argument stored.
7
8All mode properties are vendor specific, it is a indication to tell
9the bootloader what to do when the system reboots, and should be named
10as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value).
11
12For example modes common on Android platform:
13- mode-normal: Normal reboot mode, system reboot with command "reboot".
14- mode-recovery: Android Recovery mode, it is a mode to format the device or update a new image.
15- mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based device.
16- mode-loader: A bootloader mode, it's a mode used to download image on Rockchip platform,
17	       usually used in development.
18
19Example:
20	reboot-mode {
21		mode-normal = <BOOT_NORMAL>;
22		mode-recovery = <BOOT_RECOVERY>;
23		mode-bootloader = <BOOT_FASTBOOT>;
24		mode-loader = <BOOT_BL_DOWNLOAD>;
25	}
26