blob: 00102cd5c4f54236366e4b6380a9c9537f9b4614 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Mateusz Kulikowskiee5e70d2016-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 Kulikowskiee5e70d2016-03-31 23:12:33 +02006 */
7
8#ifndef __CONFIGS_DRAGONBOARD410C_H
9#define __CONFIGS_DRAGONBOARD410C_H
10
11#include <linux/sizes.h>
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020012
Stephan Gerhold2279dde2021-07-07 11:06:02 +020013/* Build new ELF image from u-boot.bin (U-Boot + appended DTB) */
Stephan Gerhold2279dde2021-07-07 11:06:02 +020014
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020015/* Physical Memory Map */
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020016#define PHYS_SDRAM_1 0x80000000
Stephan Gerhold3ff6cd72021-07-14 10:56:24 +020017/* Note: 8 MiB (0x86000000 - 0x86800000) are reserved for tz/smem/hyp/rmtfs/rfsa */
18#define PHYS_SDRAM_1_SIZE SZ_1G
Tom Rinibb4dd962022-11-16 13:10:37 -050019#define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020020
Tom Rini31ab6a12022-06-13 22:57:32 -040021/* Environment */
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020022#define BOOT_TARGET_DEVICES(func) \
23 func(USB, usb, 0) \
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020024 func(MMC, mmc, 1) \
Ricardo Salveti de Araujo1ff62292016-07-03 13:59:01 -030025 func(MMC, mmc, 0) \
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020026 func(DHCP, dhcp, na)
27
28#include <config_distro_bootcmd.h>
29
Tom Rinic9edebe2022-12-04 10:03:50 -050030#define CFG_EXTRA_ENV_SETTINGS BOOTENV
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020031
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020032#endif