On Thu, Dec 14, 2023 at 11:06:58AM +0800, tracymg...@outlook.com wrote: > From: TracyMg_Li <tracymg...@outlook.com> > > Signed-off-by: TracyMg_Li <tracymg...@outlook.com>
Please rework your commit message. > --- > arch/arm/Kconfig | 8 ++ > arch/arm/dts/Makefile | 1 + > arch/arm/dts/phytium-pe2201.dts | 43 +++++++ Please make sure this dts is being submitted upstream and passes validation there before submitting it upstream too. [snip] > @@ -2060,6 +2060,13 @@ config TARGET_POMELO > Support for pomelo platform. > It has 8GB Sdram, uart and pcie. > > +config TARGET_PE2201 > + bool "Support Phytium PE2201 Platform" > + select ARM64 > + help > + Support for pe2201 platform. > + It has 2GB Sdram, uart and pcie. > + Was your patch spacing corrupted? If not, please fix this here. [snip] > diff --git a/include/configs/pe2201.h b/include/configs/pe2201.h > new file mode 100644 > index 0000000000..ff24dc5ac6 > --- /dev/null > +++ b/include/configs/pe2201.h > @@ -0,0 +1,32 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* > + * Copyright (C) 2023, Phytium Technology Co., Ltd. > + * lixinde <lixi...@phytium.com.cn> > + * weichangzheng <weichangzh...@phytium.com.cn> > + */ > + > +#ifndef __PE2201_CONFIG_H > +#define __PE2201_CONFIG_H > + > +/* SDRAM Bank #1 start address */ > +#define PHYS_SDRAM_1 0x80000000 > +#define PHYS_SDRAM_1_SIZE 0x74000000 > +#define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 > + > +/* BOOT */ > +#define BOOT_TARGET_DEVICES(func) \ > + func(SCSI, scsi, 0) \ > + > +#include <config_distro_bootcmd.h> > + > +/* Initial environment variables */ > +#define CFG_EXTRA_ENV_SETTINGS \ > + "image=Image\0" \ > + BOOTENV \ > + "scriptaddr=0x90100000\0" \ > + "kernel_addr_r=0x90200000\0" \ > + "fdt_addr_r=0x95000000\0" \ > + "boot_fit=no\0" \ > + "fdtfile=phytium-pe2201.dtb\0" \ Please switch to both bootstd and plain text environment, thanks. -- Tom
signature.asc
Description: PGP signature