Dzmitry Sankouski | 2826cbd | 2021-10-17 13:44:31 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Configuration file for boards, based on Qualcomm SDM845 chip |
| 4 | * |
| 5 | * (C) Copyright 2021 Dzmitry Sankouski <dsankouski@gmail.com> |
| 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIGS_SDM845_H |
| 9 | #define __CONFIGS_SDM845_H |
| 10 | |
| 11 | #include <linux/sizes.h> |
| 12 | #include <asm/arch/sysmap-sdm845.h> |
| 13 | |
Dzmitry Sankouski | 2826cbd | 2021-10-17 13:44:31 +0300 | [diff] [blame] | 14 | #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 } |
| 15 | |
Dzmitry Sankouski | 8e3bdd5 | 2022-02-22 21:49:53 +0300 | [diff] [blame] | 16 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 17 | "bootm_size=0x4000000\0" \ |
| 18 | "bootm_low=0x80000000\0" \ |
| 19 | "stdout=vidconsole\0" \ |
| 20 | "stderr=vidconsole\0" \ |
| 21 | "preboot=source $prevbl_initrd_start_addr:prebootscript\0" \ |
| 22 | "bootcmd=source $prevbl_initrd_start_addr:bootscript\0" |
| 23 | |
Dzmitry Sankouski | 2826cbd | 2021-10-17 13:44:31 +0300 | [diff] [blame] | 24 | /* Size of malloc() pool */ |
Dzmitry Sankouski | 2826cbd | 2021-10-17 13:44:31 +0300 | [diff] [blame] | 25 | #define CONFIG_SYS_BOOTM_LEN SZ_64M |
| 26 | |
| 27 | /* Monitor Command Prompt */ |
| 28 | #define CONFIG_SYS_CBSIZE 512 |
| 29 | #define CONFIG_SYS_MAXARGS 64 |
| 30 | |
| 31 | #endif |