blob: 8e74dc4888758e4ad8ef601decdfcd78b2852f6f [file] [log] [blame]
weichangzhengb9d0f002022-03-02 15:09:05 +08001/* 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 Riniaa6e94d2022-11-16 13:10:37 -050012#define CFG_SYS_SDRAM_BASE 0x80000000
weichangzhengb9d0f002022-03-02 15:09:05 +080013
14/* SIZE of malloc pool */
weichangzhengb9d0f002022-03-02 15:09:05 +080015
16/*BOOT*/
weichangzhengb9d0f002022-03-02 15:09:05 +080017
weichangzhengb9d0f002022-03-02 15:09:05 +080018#define BOOT_TARGET_DEVICES(func) \
19 func(SCSI, scsi, 0) \
20
21#include <config_distro_bootcmd.h>
weichangzhengb9d0f002022-03-02 15:09:05 +080022
23/* Initial environment variables */
Tom Rini0613c362022-12-04 10:03:50 -050024#define CFG_EXTRA_ENV_SETTINGS \
weichangzhengb9d0f002022-03-02 15:09:05 +080025 "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