blob: 835f05d63e249ac06298862e8ce5318cc8d9befb [file] [log] [blame]
Dzmitry Sankouski2826cbd2021-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 Sankouski2826cbd2021-10-17 13:44:31 +030014#define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
15
Dzmitry Sankouski8e3bdd52022-02-22 21:49:53 +030016#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 Sankouski2826cbd2021-10-17 13:44:31 +030024/* Size of malloc() pool */
Dzmitry Sankouski2826cbd2021-10-17 13:44:31 +030025#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