blob: ba57323c74b15564eec17ce0f1586af9b7b357b9 [file] [log] [blame]
Dzmitry Sankouski4cbc16c2021-10-17 13:44:31 +03001/* 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 Sankouski4cbc16c2021-10-17 13:44:31 +030014#define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
15
16/* Generic Timer Definitions */
17#define COUNTER_FREQUENCY 19000000
18
Dzmitry Sankouskif8a1b332022-02-22 21:49:53 +030019#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 Sankouski4cbc16c2021-10-17 13:44:31 +030027/* Size of malloc() pool */
Dzmitry Sankouski4cbc16c2021-10-17 13:44:31 +030028#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