
On Tue, Dec 19, 2023 at 10:27:27AM +0800, TracyMg_Li@outlook.com wrote:
From: TracyMg_Li TracyMg_Li@outlook.com
Add pe2201 platform code and the device tree of pe2201 platform board. The initial support comprises the UART and PCIe.
Signed-off-by: TracyMg_Li TracyMg_Li@outlook.com Changes since v1: fix space corrupt. Changes since v2: switch to bootstd and text environment.
Changes go below "---". And:
[snip]
diff --git a/board/phytium/pe2201/pe2201.env b/board/phytium/pe2201/pe2201.env new file mode 100644 index 0000000000..46f68ede2f --- /dev/null +++ b/board/phytium/pe2201/pe2201.env @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ +/*
- Copyright (C) 2023, Phytium Technology Co., Ltd.
- */
+/* Initial environment variables */ +image=Image +scriptaddr=0x90100000 +kernel_addr_r=0x90200000 +fdt_addr_r=0x95000000 +boot_fit=no +fdtfile=phytium-pe2201.dtb
Please see doc/develop/bootstd.rst as there's environment variables you should be setting and..
[snip]
+/* BOOT */ +#define BOOT_TARGET_DEVICES(func) \
- func(SCSI, scsi, 0) \
+#include <config_distro_bootcmd.h>
This can be removed.