1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2017 Linaro
5 * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
7 * Configuration for Poplar 96boards CE. Parts were derived from other ARM
14 #include <linux/sizes.h>
19 #define CONFIG_SYS_BOOTM_LEN SZ_64M
20 #define CONFIG_SYS_INIT_SP_ADDR 0x200000
22 /* ATF bl33.bin load address (must match) */
24 /* USB configuration */
25 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
27 /*****************************************************************************
28 * Initial environment variables
29 *****************************************************************************/
31 #define BOOT_TARGET_DEVICES(func) \
35 #ifndef CONFIG_SPL_BUILD
36 #include <config_distro_bootcmd.h>
39 #define CONFIG_EXTRA_ENV_SETTINGS \
40 "loader_mmc_blknum=0x0\0" \
41 "loader_mmc_nblks=0x780\0" \
42 "env_mmc_blknum=0xf80\0" \
43 "env_mmc_nblks=0x80\0" \
44 "kernel_addr_r=0x30000000\0" \
45 "pxefile_addr_r=0x32000000\0" \
46 "scriptaddr=0x32000000\0" \
47 "fdt_addr_r=0x32200000\0" \
48 "fdtfile=hisilicon/hi3798cv200-poplar.dtb\0" \
49 "ramdisk_addr_r=0x32400000\0" \
52 /* Monitor Command Prompt */
53 #define CONFIG_SYS_CBSIZE 512
54 #define CONFIG_SYS_MAXARGS 64
56 #endif /* _POPLAR_H_ */