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 | |
| 16 | /* Generic Timer Definitions */ |
| 17 | #define COUNTER_FREQUENCY 19000000 |
| 18 | |
Dzmitry Sankouski | 8e3bdd5 | 2022-02-22 21:49:53 +0300 | [diff] [blame] | 19 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 20 | "bootm_size=0x4000000\0" \ |
| 21 | "bootm_low=0x80000000\0" \ |
| 22 | "stdout=vidconsole\0" \ |
| 23 | "stderr=vidconsole\0" \ |
| 24 | "preboot=source $prevbl_initrd_start_addr:prebootscript\0" \ |
| 25 | "bootcmd=source $prevbl_initrd_start_addr:bootscript\0" |
| 26 | |
Dzmitry Sankouski | 2826cbd | 2021-10-17 13:44:31 +0300 | [diff] [blame] | 27 | /* Size of malloc() pool */ |
Dzmitry Sankouski | 2826cbd | 2021-10-17 13:44:31 +0300 | [diff] [blame] | 28 | #define CONFIG_SYS_BOOTM_LEN SZ_64M |
| 29 | |
| 30 | /* Monitor Command Prompt */ |
| 31 | #define CONFIG_SYS_CBSIZE 512 |
| 32 | #define CONFIG_SYS_MAXARGS 64 |
| 33 | |
| 34 | #endif |