Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Board configuration file for Dragonboard 410C |
| 4 | * |
| 5 | * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIGS_DRAGONBOARD410C_H |
| 9 | #define __CONFIGS_DRAGONBOARD410C_H |
| 10 | |
| 11 | #include <linux/sizes.h> |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 12 | |
Stephan Gerhold | 2279dde | 2021-07-07 11:06:02 +0200 | [diff] [blame] | 13 | /* Build new ELF image from u-boot.bin (U-Boot + appended DTB) */ |
Stephan Gerhold | 2279dde | 2021-07-07 11:06:02 +0200 | [diff] [blame] | 14 | |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 15 | /* Physical Memory Map */ |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 16 | #define PHYS_SDRAM_1 0x80000000 |
Stephan Gerhold | 3ff6cd7 | 2021-07-14 10:56:24 +0200 | [diff] [blame] | 17 | /* Note: 8 MiB (0x86000000 - 0x86800000) are reserved for tz/smem/hyp/rmtfs/rfsa */ |
| 18 | #define PHYS_SDRAM_1_SIZE SZ_1G |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 19 | #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 20 | |
Tom Rini | 31ab6a1 | 2022-06-13 22:57:32 -0400 | [diff] [blame] | 21 | /* Environment */ |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 22 | #define BOOT_TARGET_DEVICES(func) \ |
| 23 | func(USB, usb, 0) \ |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 24 | func(MMC, mmc, 1) \ |
Ricardo Salveti de Araujo | 1ff6229 | 2016-07-03 13:59:01 -0300 | [diff] [blame] | 25 | func(MMC, mmc, 0) \ |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 26 | func(DHCP, dhcp, na) |
| 27 | |
| 28 | #include <config_distro_bootcmd.h> |
| 29 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 30 | #define CFG_EXTRA_ENV_SETTINGS BOOTENV |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 31 | |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 32 | #endif |