Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Board configuration file for Dragonboard 410C |
| 4 | * |
| 5 | * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIGS_DRAGONBOARD820C_H |
| 9 | #define __CONFIGS_DRAGONBOARD820C_H |
| 10 | |
| 11 | #include <linux/sizes.h> |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 12 | |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 13 | /* Physical Memory Map */ |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 14 | |
| 15 | #define PHYS_SDRAM_SIZE 0xC0000000 |
| 16 | #define PHYS_SDRAM_1 0x80000000 |
| 17 | #define PHYS_SDRAM_1_SIZE 0x60000000 |
| 18 | #define PHYS_SDRAM_2 0x100000000 |
| 19 | #define PHYS_SDRAM_2_SIZE 0x5ea4ffff |
| 20 | |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 21 | #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 22 | |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 23 | #include <config_distro_bootcmd.h> |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 24 | |
| 25 | #define BOOT_TARGET_DEVICES(func) \ |
| 26 | func(MMC, mmc, 0) |
| 27 | |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 28 | #define CFG_EXTRA_ENV_SETTINGS \ |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 29 | "loadaddr=0x95000000\0" \ |
| 30 | "fdt_high=0xffffffffffffffff\0" \ |
| 31 | "initrd_high=0xffffffffffffffff\0" \ |
| 32 | "linux_image=uImage\0" \ |
| 33 | "kernel_addr_r=0x95000000\0"\ |
| 34 | "fdtfile=qcom/apq8096-db820c.dtb\0" \ |
| 35 | "fdt_addr_r=0x93000000\0"\ |
| 36 | "ramdisk_addr_r=0x91000000\0"\ |
| 37 | "scriptaddr=0x90000000\0"\ |
| 38 | "pxefile_addr_r=0x90100000\0"\ |
| 39 | BOOTENV |
| 40 | |
Jorge Ramirez-Ortiz | 4b684a6 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 41 | #endif |