weichangzheng | 74b4519 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2021 |
| 4 | * lixinde <lixinde@phytium.com.cn> |
| 5 | * weichangzheng <weichangzheng@phytium.com.cn> |
| 6 | */ |
| 7 | |
| 8 | #ifndef __POMELO_CONFIG_H__ |
| 9 | #define __POMELO_CONFIG_H__ |
| 10 | |
| 11 | /* SDRAM Bank #1 start address */ |
| 12 | #define CONFIG_SYS_SDRAM_BASE 0x80000000 |
| 13 | |
| 14 | /* SIZE of malloc pool */ |
| 15 | #define CONFIG_SYS_INIT_SP_ADDR (0x29800000 + 0x1a000) |
| 16 | |
| 17 | /*BOOT*/ |
| 18 | #define CONFIG_SYS_BOOTM_LEN 0x3c00000 |
| 19 | |
| 20 | #ifndef CONFIG_SPL_BUILD |
| 21 | #define BOOT_TARGET_DEVICES(func) \ |
| 22 | func(SCSI, scsi, 0) \ |
| 23 | |
| 24 | #include <config_distro_bootcmd.h> |
| 25 | #endif |
| 26 | |
| 27 | /* Initial environment variables */ |
| 28 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 29 | "image=Image\0" \ |
| 30 | BOOTENV \ |
| 31 | "scriptaddr=0x90100000\0" \ |
| 32 | "kernel_addr_r=0x90200000\0" \ |
| 33 | "fdt_addr_r=0x95000000\0" \ |
| 34 | "boot_fit=no\0" \ |
| 35 | "fdtfile=phytium-pomelo.dtb\0" \ |
| 36 | |
| 37 | #endif |
| 38 | |