1# Settings for phones
2CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="board/qualcomm/qcom-phone.env"
3# Hang on panic so the error message can be read
4CONFIG_PANIC_HANG=y
5# We use pause in various places to allow text to be read
6# before it scrolls off the screen
7CONFIG_CMD_PAUSE=y
8CONFIG_BOOT_RETRY=y
9CONFIG_BOOT_RETRY_TIME=1
10CONFIG_BUTTON_REMAP_PHONE_KEYS=y
11CONFIG_RETRY_BOOTCMD=y
12CONFIG_FASTBOOT_BUF_ADDR=0x1A000000
13CONFIG_USB_FUNCTION_FASTBOOT=y
14CONFIG_USB_FUNCTION_ACM=y
15CONFIG_CMD_UMS_ABORT_KEYED=y
16
17# Record all console output and let it be dumped via fastboot
18CONFIG_CONSOLE_RECORD=y
19CONFIG_CONSOLE_RECORD_INIT_F=y
20CONFIG_CONSOLE_RECORD_OUT_SIZE=0x6000
21CONFIG_FASTBOOT_CMD_OEM_CONSOLE=y
22
23# Only MMC is supported by fastboot currently, but this is still useful.
24CONFIG_FASTBOOT_FLASH=y
25CONFIG_FASTBOOT_FLASH_MMC_DEV=0
26CONFIG_FASTBOOT_OEM_RUN=y
27
28# Many phones don't actually define a serial port in their DTS
29# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
30