Caleb Connolly | e6c284b | 2023-11-20 20:48:00 +0000 | [diff] [blame] | 1 | /* 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 | |
Caleb Connolly | b55c0f8 | 2023-12-07 00:13:07 +0000 | [diff] [blame^] | 14 | // 2a5aa852-b856-4d97-baa9-5c5f4421551f |
| 15 | #define QUALCOMM_UBOOT_BOOT_IMAGE_GUID \ |
| 16 | EFI_GUID(0x2a5aa852, 0xb856, 0x4d97, 0xba, 0xa9, \ |
| 17 | 0x5c, 0x5f, 0x44, 0x21, 0x55, 0x1f) |
| 18 | |
Caleb Connolly | e6c284b | 2023-11-20 20:48:00 +0000 | [diff] [blame] | 19 | /* Load addressed are calculated during board_late_init(). See arm/mach-snapdragon/board.c */ |
| 20 | #define CFG_EXTRA_ENV_SETTINGS \ |
Caleb Connolly | dcca2dd | 2023-12-04 15:00:37 +0000 | [diff] [blame] | 21 | "bootdelay=1\0" \ |
Caleb Connolly | e6c284b | 2023-11-20 20:48:00 +0000 | [diff] [blame] | 22 | "stdin=serial,button-kbd\0" \ |
| 23 | "stdout=serial,vidconsole\0" \ |
| 24 | "stderr=serial,vidconsole\0" \ |
Caleb Connolly | dcca2dd | 2023-12-04 15:00:37 +0000 | [diff] [blame] | 25 | "preboot=bootflow scan -l\0" \ |
| 26 | "fastboot=fastboot -l $fastboot_addr_r usb 0\0" \ |
Caleb Connolly | da55090 | 2023-10-17 16:58:30 +0100 | [diff] [blame] | 27 | "bootmenu_0=Boot first available device=bootflow scan -b\0" \ |
| 28 | "bootmenu_1=Enable USB mass storage=ums 0 scsi 0,1,2,3,4,5\0" \ |
Caleb Connolly | dcca2dd | 2023-12-04 15:00:37 +0000 | [diff] [blame] | 29 | "bootmenu_2=Enable fastboot mode=run fastboot\0" \ |
Caleb Connolly | da55090 | 2023-10-17 16:58:30 +0100 | [diff] [blame] | 30 | "bootmenu_3=Reset device=reset\0" \ |
| 31 | "menucmd=bootmenu\0" \ |
| 32 | "bootcmd=bootflow scan -b\0" /* first entry is default */ |
Caleb Connolly | e6c284b | 2023-11-20 20:48:00 +0000 | [diff] [blame] | 33 | |
| 34 | #endif |