u-boot/include/configs/pomelo.h
Tom Rini c45568cc4e Convert CONFIG_SYS_BOOTM_LEN to Kconfig
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>
2022-07-07 14:01:09 -04:00

34 lines
688 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2021
* lixinde <lixinde@phytium.com.cn>
* weichangzheng <weichangzheng@phytium.com.cn>
*/
#ifndef __POMELO_CONFIG_H__
#define __POMELO_CONFIG_H__
/* SDRAM Bank #1 start address */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
/* SIZE of malloc pool */
/*BOOT*/
#define BOOT_TARGET_DEVICES(func) \
func(SCSI, scsi, 0) \
#include <config_distro_bootcmd.h>
/* Initial environment variables */
#define CONFIG_EXTRA_ENV_SETTINGS \
"image=Image\0" \
BOOTENV \
"scriptaddr=0x90100000\0" \
"kernel_addr_r=0x90200000\0" \
"fdt_addr_r=0x95000000\0" \
"boot_fit=no\0" \
"fdtfile=phytium-pomelo.dtb\0" \
#endif