1 Generic reboot mode core map driver
3 This driver get reboot mode arguments and call the write
4 interface to store the magic value in special register
5 or ram. Then the bootloader can read it and take different
6 action according to the argument stored.
8 All mode properties are vendor specific, it is a indication to tell
9 the bootloader what to do when the system reboots, and should be named
10 as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value).
12 For 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.
21 mode-normal = <BOOT_NORMAL>;
22 mode-recovery = <BOOT_RECOVERY>;
23 mode-bootloader = <BOOT_FASTBOOT>;
24 mode-loader = <BOOT_BL_DOWNLOAD>;