mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-15 06:17:04 +00:00
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2023 Tony Dinh <mibodhi@gmail.com>
|
|
*
|
|
*/
|
|
|
|
#ifndef _CONFIG_N2350_H
|
|
#define _CONFIG_N2350_H
|
|
|
|
/* Keep device tree and initrd in lower memory so the kernel can access them */
|
|
#define RELOCATION_LIMITS_ENV_SETTINGS \
|
|
"fdt_high=0x10000000\0" \
|
|
"initrd_high=0x10000000\0"
|
|
|
|
/*
|
|
* mv-common.h should be defined after CMD configs since it used them
|
|
* to enable certain macros
|
|
*/
|
|
#include "mv-common.h"
|
|
|
|
#ifndef CONFIG_XPL_BUILD
|
|
|
|
#define KERNEL_ADDR_R __stringify(0x1000000)
|
|
#define FDT_ADDR_R __stringify(0x2000000)
|
|
#define RAMDISK_ADDR_R __stringify(0x2200000)
|
|
#define SCRIPT_ADDR_R __stringify(0x1800000)
|
|
#define PXEFILE_ADDR_R __stringify(0x1900000)
|
|
|
|
#define LOAD_ADDRESS_ENV_SETTINGS \
|
|
"kernel_addr_r=" KERNEL_ADDR_R "\0" \
|
|
"fdt_addr_r=" FDT_ADDR_R "\0" \
|
|
"ramdisk_addr_r=" RAMDISK_ADDR_R "\0" \
|
|
"scriptaddr=" SCRIPT_ADDR_R "\0" \
|
|
"pxefile_addr_r=" PXEFILE_ADDR_R "\0"
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
RELOCATION_LIMITS_ENV_SETTINGS \
|
|
LOAD_ADDRESS_ENV_SETTINGS \
|
|
"fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
|
|
"console=ttyS0,115200\0"
|
|
|
|
#endif /* CONFIG_XPL_BUILD */
|
|
|
|
#endif /* _CONFIG_N2350_H */
|