blob: 944c736a10f97f7a0f38ebb14580aef3ae71b23b [file] [log] [blame]
Caleb Connollye6c284b2023-11-20 20:48:00 +00001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration file for Qualcomm Snapdragon boards
4 *
5 * (C) Copyright 2021 Dzmitry Sankouski <dsankouski@gmail.com>
6 * (C) Copyright 2023 Linaro Ltd.
7 */
8
9#ifndef __CONFIGS_SNAPDRAGON_H
10#define __CONFIGS_SNAPDRAGON_H
11
12#define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
13
14/* Load addressed are calculated during board_late_init(). See arm/mach-snapdragon/board.c */
15#define CFG_EXTRA_ENV_SETTINGS \
Caleb Connollydcca2dd2023-12-04 15:00:37 +000016 "bootdelay=1\0" \
Caleb Connollye6c284b2023-11-20 20:48:00 +000017 "stdin=serial,button-kbd\0" \
18 "stdout=serial,vidconsole\0" \
19 "stderr=serial,vidconsole\0" \
Caleb Connollydcca2dd2023-12-04 15:00:37 +000020 "preboot=bootflow scan -l\0" \
21 "fastboot=fastboot -l $fastboot_addr_r usb 0\0" \
Caleb Connollyda550902023-10-17 16:58:30 +010022 "bootmenu_0=Boot first available device=bootflow scan -b\0" \
23 "bootmenu_1=Enable USB mass storage=ums 0 scsi 0,1,2,3,4,5\0" \
Caleb Connollydcca2dd2023-12-04 15:00:37 +000024 "bootmenu_2=Enable fastboot mode=run fastboot\0" \
Caleb Connollyda550902023-10-17 16:58:30 +010025 "bootmenu_3=Reset device=reset\0" \
26 "menucmd=bootmenu\0" \
27 "bootcmd=bootflow scan -b\0" /* first entry is default */
Caleb Connollye6c284b2023-11-20 20:48:00 +000028
29#endif