blob: e1d580b1c8f8cbe83163d4793ed0c62d35fca9db [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Mateusz Kulikowski626f0482016-03-31 23:12:33 +02002/*
3 * Board configuration file for Dragonboard 410C
4 *
5 * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mateusz Kulikowski626f0482016-03-31 23:12:33 +02006 */
7
8#ifndef __CONFIGS_DRAGONBOARD410C_H
9#define __CONFIGS_DRAGONBOARD410C_H
10
11#include <linux/sizes.h>
12#include <asm/arch/sysmap-apq8016.h>
13
Stephan Gerhold0204d1b2021-07-07 11:06:02 +020014/* Build new ELF image from u-boot.bin (U-Boot + appended DTB) */
Stephan Gerhold0204d1b2021-07-07 11:06:02 +020015
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020016/* Physical Memory Map */
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020017#define PHYS_SDRAM_1 0x80000000
Stephan Gerhold1d667222021-07-14 10:56:24 +020018/* Note: 8 MiB (0x86000000 - 0x86800000) are reserved for tz/smem/hyp/rmtfs/rfsa */
19#define PHYS_SDRAM_1_SIZE SZ_1G
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020020#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
Jorge Ramirez-Ortiz5bef3992018-01-10 11:34:34 +010021#define CONFIG_SYS_BOOTM_LEN SZ_64M
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020022
Tom Rini5c3f6a32022-06-13 22:57:32 -040023/* Environment */
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020024#define BOOT_TARGET_DEVICES(func) \
25 func(USB, usb, 0) \
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020026 func(MMC, mmc, 1) \
Ricardo Salveti de Araujo5a6f5762016-07-03 13:59:01 -030027 func(MMC, mmc, 0) \
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020028 func(DHCP, dhcp, na)
29
30#include <config_distro_bootcmd.h>
31
Tom Rini5c3f6a32022-06-13 22:57:32 -040032#define CONFIG_EXTRA_ENV_SETTINGS BOOTENV
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020033
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020034#endif