mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +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>
30 lines
697 B
C
30 lines
697 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2019 Western Digital Corporation or its affiliates.
|
|
* Copyright (c) 2021 Tianrui Wei
|
|
*
|
|
* Authors:
|
|
* Anup Patel <anup.patel@wdc.com>
|
|
* Tianrui Wei <tianrui-wei@outlook.com>
|
|
*/
|
|
|
|
#ifndef __OPENPITON_RISCV64_CONFIG_H
|
|
#define __OPENPITON_RISCV64_CONFIG_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/* Environment options */
|
|
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
|
|
|
/* ---------------------------------------------------------------------
|
|
* Board boot configuration
|
|
*/
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
"fdt_addr_r=0x86000000\0" \
|
|
"kernel_addr_r=0x80200000\0" \
|
|
"image=boot/Image\0" \
|
|
"mmcdev=0\0" \
|
|
"mmcpart=1\0"
|
|
|
|
#endif/* __CONFIG_H */
|