> -----Original Message----- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Pramod > Kumar > Sent: Tuesday, August 7, 2018 12:52 PM > To: u-boot@lists.denx.de > Cc: Pramod Kumar <pramod.kuma...@nxp.com> > Subject: [U-Boot] [PATCH] ls1088ardb_pb: Add support for ls1088ardb_pb > board. > > ls1088ardb-pb is another varinat of the ls1088ardb. > This board support two m.2 x2 gen 3 pcie card slot. > There is no support of sata,pcie standard slot, miniPCIE slot and TDM in this > board >
Please put space after "," > Signed-off-by: Pramod Kumar <pramod.kuma...@nxp.com> > --- > arch/arm/Kconfig | 14 +++ > arch/arm/cpu/armv8/Kconfig | 1 + > board/freescale/ls1088a/Kconfig | 43 +++++++++ > board/freescale/ls1088a/MAINTAINERS | 8 ++ > board/freescale/ls1088a/Makefile | 1 + > board/freescale/ls1088a/ddr.h | 4 +- > board/freescale/ls1088a/ls1088a.c | 13 ++- > ... ls1088ardb_pb_qspi_SECURE_BOOT_defconfig} | 2 +- ...defconfig => > ls1088ardb_pb_qspi_defconfig} | 2 +- > ...ardb_pb_sdcard_qspi_SECURE_BOOT_defconfig} | 2 +- ...ig => > ls1088ardb_pb_sdcard_qspi_defconfig} | 2 +- > include/configs/ls1088ardb_pb.h | 87 +++++++++++++++++++ > 12 files changed, 172 insertions(+), 7 deletions(-) copy > configs/{ls1088ardb_qspi_SECURE_BOOT_defconfig => > ls1088ardb_pb_qspi_SECURE_BOOT_defconfig} (97%) copy > configs/{ls1088ardb_qspi_defconfig => ls1088ardb_pb_qspi_defconfig} > (97%) copy configs/{ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig => > ls1088ardb_pb_sdcard_qspi_SECURE_BOOT_defconfig} (98%) copy > configs/{ls1088ardb_sdcard_qspi_defconfig => > ls1088ardb_pb_sdcard_qspi_defconfig} (98%) create mode 100644 > include/configs/ls1088ardb_pb.h > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index > a047552ed3..10fb7149cb 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1120,6 +1120,20 @@ config TARGET_LS1088ARDB > development platform that supports the QorIQ LS1088A > Layerscape Architecture processor. > > +config TARGET_LS1088ARDB_PB > + bool "Support ls1088ardb_pb" > + select ARCH_LS1088A > + select ARM64 > + select ARMV8_MULTIENTRY > + select ARCH_MISC_INIT > + select BOARD_LATE_INIT > + select SUPPORT_SPL > + help > + Support for NXP LS1088ARDB_PB platform. > + The LS1088A Reference design board (RDB_PB) is a high- > performance > + development platform that supports the QorIQ LS1088A > + Layerscape Architecture processor. > + > config TARGET_LS1021AQDS > bool "Support ls1021aqds" > select ARCH_LS1021A > diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig > index c8bebabdf6..8ede276b65 100644 > --- a/arch/arm/cpu/armv8/Kconfig > +++ b/arch/arm/cpu/armv8/Kconfig > @@ -100,6 +100,7 @@ config PSCI_RESET > !TARGET_LS2080A_SIMU && !TARGET_LS2080AQDS && \ > !TARGET_LS2080ARDB && !TARGET_LS2080A_EMU && \ > !TARGET_LS1088ARDB && !TARGET_LS1088AQDS && \ > + !TARGET_LS1088ARDB_PB && \ > !TARGET_LS1012ARDB && !TARGET_LS1012AFRDM && \ > !TARGET_LS1012A2G5RDB && !TARGET_LS1012AQDS && \ > !TARGET_LS1012AFRWY && \ > diff --git a/board/freescale/ls1088a/Kconfig > b/board/freescale/ls1088a/Kconfig index 8bb828e3fd..9f20d7247f 100644 > --- a/board/freescale/ls1088a/Kconfig > +++ b/board/freescale/ls1088a/Kconfig > @@ -59,3 +59,46 @@ endif > > source "board/freescale/common/Kconfig" > endif > + > +if TARGET_LS1088ARDB_PB > + > +config SYS_BOARD > + default "ls1088a" > + > +config SYS_VENDOR > + default "freescale" > + > +config SYS_SOC > + default "fsl-layerscape" > + > +config SYS_CONFIG_NAME > + default "ls1088ardb_pb" > + > +if SYS_LS_PPA_FW_IN_XIP > + > +config SYS_LS_PPA_FW_ADDR > + hex "PPA Firmware Addr" > + default 0x20400000 > + > +if CHAIN_OF_TRUST > +config SYS_LS_PPA_ESBC_ADDR > + hex "PPA Firmware HDR Addr" > + default 0x20680000 > +endif > +endif > + > +if (SYS_LS_PPA_FW_IN_MMC || SYS_LS_PPA_FW_IN_NAND) > + > +config SYS_LS_PPA_FW_ADDR > + hex "PPA Firmware Addr" > + default 0x400000 > + > +if CHAIN_OF_TRUST > +config SYS_LS_PPA_ESBC_ADDR > + hex "PPA Firmware HDR Addr" > + default 0x680000 > +endif > +endif > + > +source "board/freescale/common/Kconfig" > +endif > diff --git a/board/freescale/ls1088a/MAINTAINERS > b/board/freescale/ls1088a/MAINTAINERS > index 4d804d9447..a7cd4fe277 100644 > --- a/board/freescale/ls1088a/MAINTAINERS > +++ b/board/freescale/ls1088a/MAINTAINERS > @@ -7,6 +7,14 @@ F: include/configs/ls1088ardb.h > F: configs/ls1088ardb_qspi_defconfig > F: configs/ls1088ardb_sdcard_qspi_defconfig > > +LS1088ARDB_PB BOARD > +M: Pramod Kumar <pramod.ku...@nxp.com> > +S: Maintained > +F: board/freescale/ls1088a/ > +F: include/configs/ls1088ardb_pb.h > +F: configs/ls1088ardb_pb_qspi_defconfig > +F: configs/ls1088ardb_pb_sdcard_qspi_defconfig > + > LS1088AQDS BOARD > M: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com> > M: Ashish Kumar <ashish.ku...@nxp.com> > diff --git a/board/freescale/ls1088a/Makefile > b/board/freescale/ls1088a/Makefile > index c2b0e7dc0f..dd5f365378 100644 > --- a/board/freescale/ls1088a/Makefile > +++ b/board/freescale/ls1088a/Makefile > @@ -6,5 +6,6 @@ obj-y += ls1088a.o > obj-y += ddr.o > ifndef CONFIG_SPL_BUILD > obj-$(CONFIG_TARGET_LS1088ARDB) += eth_ls1088ardb.o > +obj-$(CONFIG_TARGET_LS1088ARDB_PB) += eth_ls1088ardb.o > obj-$(CONFIG_TARGET_LS1088AQDS) += eth_ls1088aqds.o endif diff --git > a/board/freescale/ls1088a/ddr.h b/board/freescale/ls1088a/ddr.h index > b35c4ae2da..07f5f55e2e 100644 > --- a/board/freescale/ls1088a/ddr.h > +++ b/board/freescale/ls1088a/ddr.h > @@ -1,6 +1,6 @@ > /* SPDX-License-Identifier: GPL-2.0+ */ > /* > - * Copyright 2017 NXP > + * Copyright 2018 NXP 2017-2018 > */ > > #ifndef __LS1088A_DDR_H__ > @@ -27,7 +27,7 @@ static const struct board_specific_parameters udimm0[] > = { > * num| hi| rank| clk| wrlvl | wrlvl | wrlvl > * ranks| mhz| GB |adjst| start | ctl2 | ctl3 > */ > -#if defined(CONFIG_TARGET_LS1088ARDB) > +#if defined(CONFIG_TARGET_LS1088ARDB) || > +defined(CONFIG_TARGET_LS1088ARDB_PB) > > {2, 1666, 0, 8, 8, 0x090A0B0E, 0x0F10110D,}, > {2, 1900, 0, 8, 9, 0x0A0B0C10, 0x1112140E,}, > diff --git a/board/freescale/ls1088a/ls1088a.c > b/board/freescale/ls1088a/ls1088a.c > index a0dab6fc2e..7dda7921df 100644 > --- a/board/freescale/ls1088a/ls1088a.c > +++ b/board/freescale/ls1088a/ls1088a.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0+ > /* > - * Copyright 2017 NXP > + * Copyright 2018 NXP 2017-2018 --pk _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot