Padmarao Begari | 4216f34 | 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 | 68eccfa | 2021-01-15 08:20:40 +0530 | [diff] [blame] | 10 | #include <linux/sizes.h> |
Padmarao Begari | 4216f34 | 2019-05-28 15:47:51 +0530 | [diff] [blame] | 11 | |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 12 | #define CFG_SYS_SDRAM_BASE 0x80000000 |
Padmarao Begari | 4216f34 | 2019-05-28 15:47:51 +0530 | [diff] [blame] | 13 | |
Padmarao Begari | 68eccfa | 2021-01-15 08:20:40 +0530 | [diff] [blame] | 14 | /* Environment options */ |
Padmarao Begari | 4216f34 | 2019-05-28 15:47:51 +0530 | [diff] [blame] | 15 | |
Padmarao Begari | 68eccfa | 2021-01-15 08:20:40 +0530 | [diff] [blame] | 16 | #define BOOT_TARGET_DEVICES(func) \ |
| 17 | func(MMC, mmc, 0) \ |
| 18 | func(DHCP, dhcp, na) |
Padmarao Begari | 4216f34 | 2019-05-28 15:47:51 +0530 | [diff] [blame] | 19 | |
Padmarao Begari | 68eccfa | 2021-01-15 08:20:40 +0530 | [diff] [blame] | 20 | #include <config_distro_bootcmd.h> |
Padmarao Begari | 4216f34 | 2019-05-28 15:47:51 +0530 | [diff] [blame] | 21 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 22 | #define CFG_EXTRA_ENV_SETTINGS \ |
Padmarao Begari | 68eccfa | 2021-01-15 08:20:40 +0530 | [diff] [blame] | 23 | "bootm_size=0x10000000\0" \ |
| 24 | "kernel_addr_r=0x84000000\0" \ |
| 25 | "fdt_addr_r=0x88000000\0" \ |
| 26 | "scriptaddr=0x88100000\0" \ |
| 27 | "pxefile_addr_r=0x88200000\0" \ |
| 28 | "ramdisk_addr_r=0x88300000\0" \ |
| 29 | BOOTENV |
Padmarao Begari | 4216f34 | 2019-05-28 15:47:51 +0530 | [diff] [blame] | 30 | |
| 31 | #endif /* __CONFIG_H */ |