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