mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +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>
33 lines
823 B
C
33 lines
823 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Board configuration file for Dragonboard 410C
|
|
*
|
|
* (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
|
|
*/
|
|
|
|
#ifndef __CONFIGS_DRAGONBOARD410C_H
|
|
#define __CONFIGS_DRAGONBOARD410C_H
|
|
|
|
#include <linux/sizes.h>
|
|
#include <asm/arch/sysmap-apq8016.h>
|
|
|
|
/* Build new ELF image from u-boot.bin (U-Boot + appended DTB) */
|
|
|
|
/* Physical Memory Map */
|
|
#define PHYS_SDRAM_1 0x80000000
|
|
/* Note: 8 MiB (0x86000000 - 0x86800000) are reserved for tz/smem/hyp/rmtfs/rfsa */
|
|
#define PHYS_SDRAM_1_SIZE SZ_1G
|
|
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
|
|
|
|
/* Environment */
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
func(USB, usb, 0) \
|
|
func(MMC, mmc, 1) \
|
|
func(MMC, mmc, 0) \
|
|
func(DHCP, dhcp, na)
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS BOOTENV
|
|
|
|
#endif
|