2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2016-03-31 21:12:33 +00:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
2021-07-07 09:06:02 +00:00
|
|
|
/* Build new ELF image from u-boot.bin (U-Boot + appended DTB) */
|
|
|
|
|
2016-03-31 21:12:33 +00:00
|
|
|
/* Physical Memory Map */
|
|
|
|
#define PHYS_SDRAM_1 0x80000000
|
2021-07-14 08:56:24 +00:00
|
|
|
/* Note: 8 MiB (0x86000000 - 0x86800000) are reserved for tz/smem/hyp/rmtfs/rfsa */
|
|
|
|
#define PHYS_SDRAM_1_SIZE SZ_1G
|
2016-03-31 21:12:33 +00:00
|
|
|
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
|
2018-01-10 10:34:34 +00:00
|
|
|
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
2016-03-31 21:12:33 +00:00
|
|
|
|
2022-06-14 02:57:32 +00:00
|
|
|
/* Environment */
|
2016-03-31 21:12:33 +00:00
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
|
|
func(USB, usb, 0) \
|
|
|
|
func(MMC, mmc, 1) \
|
2016-07-03 16:59:01 +00:00
|
|
|
func(MMC, mmc, 0) \
|
2016-03-31 21:12:33 +00:00
|
|
|
func(DHCP, dhcp, na)
|
|
|
|
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
|
2022-06-14 02:57:32 +00:00
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS BOOTENV
|
2016-03-31 21:12:33 +00:00
|
|
|
|
|
|
|
#endif
|