]>
Commit | Line | Data |
---|---|---|
39494822 PB |
1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | |
3 | * Copyright (C) 2019 Microchip Technology Inc. | |
4 | * Padmarao Begari <[email protected]> | |
5 | */ | |
6 | ||
7 | #ifndef __CONFIG_H | |
8 | #define __CONFIG_H | |
9 | ||
64413e1b | 10 | #include <linux/sizes.h> |
39494822 | 11 | |
64413e1b PB |
12 | #define CONFIG_SYS_SDRAM_BASE 0x80000000 |
13 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) | |
39494822 | 14 | |
64413e1b | 15 | #define CONFIG_SYS_MALLOC_LEN SZ_8M |
39494822 | 16 | |
64413e1b | 17 | #define CONFIG_SYS_BOOTM_LEN SZ_64M |
39494822 | 18 | |
64413e1b | 19 | #define CONFIG_STANDALONE_LOAD_ADDR 0x80200000 |
39494822 | 20 | |
64413e1b | 21 | /* Environment options */ |
39494822 | 22 | |
64413e1b PB |
23 | #define BOOT_TARGET_DEVICES(func) \ |
24 | func(MMC, mmc, 0) \ | |
25 | func(DHCP, dhcp, na) | |
39494822 | 26 | |
64413e1b | 27 | #include <config_distro_bootcmd.h> |
39494822 | 28 | |
64413e1b PB |
29 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
30 | "bootm_size=0x10000000\0" \ | |
31 | "kernel_addr_r=0x84000000\0" \ | |
32 | "fdt_addr_r=0x88000000\0" \ | |
33 | "scriptaddr=0x88100000\0" \ | |
34 | "pxefile_addr_r=0x88200000\0" \ | |
35 | "ramdisk_addr_r=0x88300000\0" \ | |
36 | BOOTENV | |
39494822 PB |
37 | |
38 | #endif /* __CONFIG_H */ |