diff options
| author | Dzmitry Sankouski <[email protected]> | 2021-10-17 13:44:31 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-10-31 08:46:44 -0400 |
| commit | 4cbc16ceb2db5935aede65ac8d52c234809c66d6 (patch) | |
| tree | 77e66d4579423269c063d34aa8f51fa356dcd7fb /include/configs | |
| parent | 90496afc27525a9da373f94e84b99bcfd313f2ec (diff) | |
SoC: qcom: add support for SDM845
Hi-end qualcomm chip, introduced in late 2017.
Mostly used in flagship phones and tablets of 2018.
Features:
- arm64 arch
- total of 8 Kryo 385 Gold / Silver cores
- Hexagon 685 DSP
- Adreno 630 GPU
Tested only as second-stage bootloader.
Signed-off-by: Dzmitry Sankouski <[email protected]>
Cc: Ramon Fried <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Diffstat (limited to 'include/configs')
| -rw-r--r-- | include/configs/sdm845.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/configs/sdm845.h b/include/configs/sdm845.h new file mode 100644 index 00000000000..c77d0acac6b --- /dev/null +++ b/include/configs/sdm845.h @@ -0,0 +1,33 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Configuration file for boards, based on Qualcomm SDM845 chip + * + * (C) Copyright 2021 Dzmitry Sankouski <[email protected]> + */ + +#ifndef __CONFIGS_SDM845_H +#define __CONFIGS_SDM845_H + +#include <linux/sizes.h> +#include <asm/arch/sysmap-sdm845.h> + +#define CONFIG_SYS_LOAD_ADDR 0x80000000 +#define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 } + +/* Generic Timer Definitions */ +#define COUNTER_FREQUENCY 19000000 + +#define EXTRA_ENV_SETTINGS \ + +#define CONFIG_EXTRA_ENV_SETTINGS \ + "loadaddr=0x80000000\0" + +/* Size of malloc() pool */ +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M) +#define CONFIG_SYS_BOOTM_LEN SZ_64M + +/* Monitor Command Prompt */ +#define CONFIG_SYS_CBSIZE 512 +#define CONFIG_SYS_MAXARGS 64 + +#endif |
