weichangzheng | b9d0f00 | 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 */ |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 12 | #define CFG_SYS_SDRAM_BASE 0x80000000 |
weichangzheng | b9d0f00 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 13 | |
| 14 | /* SIZE of malloc pool */ |
weichangzheng | b9d0f00 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 15 | |
| 16 | /*BOOT*/ |
weichangzheng | b9d0f00 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 17 | |
weichangzheng | b9d0f00 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 18 | #define BOOT_TARGET_DEVICES(func) \ |
| 19 | func(SCSI, scsi, 0) \ |
| 20 | |
| 21 | #include <config_distro_bootcmd.h> |
weichangzheng | b9d0f00 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 22 | |
| 23 | /* Initial environment variables */ |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 24 | #define CFG_EXTRA_ENV_SETTINGS \ |
weichangzheng | b9d0f00 | 2022-03-02 15:09:05 +0800 | [diff] [blame] | 25 | "image=Image\0" \ |
| 26 | BOOTENV \ |
| 27 | "scriptaddr=0x90100000\0" \ |
| 28 | "kernel_addr_r=0x90200000\0" \ |
| 29 | "fdt_addr_r=0x95000000\0" \ |
| 30 | "boot_fit=no\0" \ |
| 31 | "fdtfile=phytium-pomelo.dtb\0" \ |
| 32 | |
| 33 | #endif |
| 34 | |