Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Linaro |
| 4 | * |
| 5 | * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> |
| 6 | * |
| 7 | * Configuration for Poplar 96boards CE. Parts were derived from other ARM |
| 8 | * configurations. |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _POPLAR_H_ |
| 12 | #define _POPLAR_H_ |
| 13 | |
| 14 | #include <linux/sizes.h> |
| 15 | |
| 16 | /* DRAM banks */ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 17 | |
| 18 | /* SYS */ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 19 | |
| 20 | /* ATF bl33.bin load address (must match) */ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 21 | |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 22 | /* USB configuration */ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 23 | |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 24 | /***************************************************************************** |
| 25 | * Initial environment variables |
| 26 | *****************************************************************************/ |
| 27 | |
| 28 | #define BOOT_TARGET_DEVICES(func) \ |
| 29 | func(USB, usb, 0) \ |
| 30 | func(MMC, mmc, 0) \ |
| 31 | func(DHCP, dhcp, na) |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 32 | #include <config_distro_bootcmd.h> |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 33 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 34 | #define CFG_EXTRA_ENV_SETTINGS \ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 35 | "loader_mmc_blknum=0x0\0" \ |
| 36 | "loader_mmc_nblks=0x780\0" \ |
Alex Elder | 3121852 | 2018-12-18 11:08:18 +0800 | [diff] [blame] | 37 | "env_mmc_blknum=0xf80\0" \ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 38 | "env_mmc_nblks=0x80\0" \ |
| 39 | "kernel_addr_r=0x30000000\0" \ |
Igor Opaniuk | 1c1efe0 | 2023-11-09 23:34:35 +0100 | [diff] [blame] | 40 | "pxefile_addr_r=0x33000000\0" \ |
| 41 | "scriptaddr=0x33000000\0" \ |
| 42 | "fdt_addr_r=0x33200000\0" \ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 43 | "fdtfile=hisilicon/hi3798cv200-poplar.dtb\0" \ |
Igor Opaniuk | 1c1efe0 | 2023-11-09 23:34:35 +0100 | [diff] [blame] | 44 | "ramdisk_addr_r=0x33400000\0" \ |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 45 | BOOTENV |
| 46 | |
Jorge Ramirez-Ortiz | f5b3842 | 2017-06-26 15:52:49 +0200 | [diff] [blame] | 47 | #endif /* _POPLAR_H_ */ |