]> Git Repo - u-boot.git/blame - boot/bootmeth_android.h
Merge tag 'u-boot-dfu-20240822' of https://source.denx.de/u-boot/custodians/u-boot-dfu
[u-boot.git] / boot / bootmeth_android.h
CommitLineData
125d9f33
MK
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Bootmethod for Android
4 *
5 * Copyright (C) 2024 BayLibre, SAS
6 * Written by Mattijs Korpershoek <[email protected]>
7 */
8
9enum android_boot_mode {
10 ANDROID_BOOT_MODE_NORMAL = 0,
11
12 /*
13 * Android "recovery" is a special boot mode that uses another ramdisk.
14 * It can be used to "factory reset" a board or to flash logical partitions
15 * It operates in 2 modes: adb or fastbootd
16 * To enter recovery from Android, we can do:
17 * $ adb reboot recovery
18 * $ adb reboot fastboot
19 */
20 ANDROID_BOOT_MODE_RECOVERY,
21
22 /*
23 * Android "bootloader" is for accessing/reflashing physical partitions
24 * Typically, this will launch a fastboot process in U-Boot.
25 * To enter "bootloader" from Android, we can do:
26 * $ adb reboot bootloader
27 */
28 ANDROID_BOOT_MODE_BOOTLOADER,
29};
This page took 0.028651 seconds and 4 git commands to generate.