1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Configuration file for boards, based on Qualcomm SDM845 chip
5 * (C) Copyright 2021 Dzmitry Sankouski <dsankouski@gmail.com>
8 #ifndef __CONFIGS_SDM845_H
9 #define __CONFIGS_SDM845_H
11 #include <linux/sizes.h>
12 #include <asm/arch/sysmap-sdm845.h>
14 #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
16 /* Generic Timer Definitions */
17 #define COUNTER_FREQUENCY 19000000
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"
27 /* Size of malloc() pool */
28 #define CONFIG_SYS_BOOTM_LEN SZ_64M
30 /* Monitor Command Prompt */
31 #define CONFIG_SYS_CBSIZE 512
32 #define CONFIG_SYS_MAXARGS 64