mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
c45568cc4e
This converts the following to Kconfig: CONFIG_SYS_BOOTM_LEN As part of this, rework error handling in boot/bootm.c so that we pass the buffer size to handle_decomp_error as CONFIG_SYS_BOOTM_LEN will not be available to host tools but we do know the size that we passed to malloc(). Cc: Soeren Moch <smoch@web.de> Signed-off-by: Tom Rini <trini@konsulko.com>
26 lines
663 B
C
26 lines
663 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration file for boards, based on Qualcomm SDM845 chip
|
|
*
|
|
* (C) Copyright 2021 Dzmitry Sankouski <dsankouski@gmail.com>
|
|
*/
|
|
|
|
#ifndef __CONFIGS_SDM845_H
|
|
#define __CONFIGS_SDM845_H
|
|
|
|
#include <linux/sizes.h>
|
|
#include <asm/arch/sysmap-sdm845.h>
|
|
|
|
#define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
"bootm_size=0x4000000\0" \
|
|
"bootm_low=0x80000000\0" \
|
|
"stdout=vidconsole\0" \
|
|
"stderr=vidconsole\0" \
|
|
"preboot=source $prevbl_initrd_start_addr:prebootscript\0" \
|
|
"bootcmd=source $prevbl_initrd_start_addr:bootscript\0"
|
|
|
|
/* Size of malloc() pool */
|
|
|
|
#endif
|