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 */ |
| 12 | #define CONFIG_SYS_SDRAM_BASE 0x80000000 |
| 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 */ |
| 24 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 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 | |