[U-Boot] [PATCH V1] Add support of ls1021a-iot

Feng Li feng.li_2 at nxp.com
Fri Oct 28 06:04:18 CEST 2016


Hi York/Alison,

I have already sent patch to upstream at 10/13/2016. 
And the u-boot have too many changes now.
Do you means that I will git the latest u-boot and repatch/ review/upstream it again ?

> -----Original Message-----
> From: Alison Wang
> Sent: Thursday, October 27, 2016 3:43 PM
> To: Feng Li <feng.li_2 at nxp.com>; york sun <york.sun at nxp.com>; u-
> boot at lists.denx.de
> Cc: Feng Li <feng.li_2 at nxp.com>
> Subject: RE: [U-Boot] [PATCH V1] Add support of ls1021a-iot
> 
> Hi, Feng,
> 
> > From: Feng Li <feng.li_2 at nxp.com>
> >
> > The patch add support ls1021a-iot.
> > It supports I2C, MMC, PCIe, eTSEC, SATA, EEPROM, CPLD, HDMI, Serial
> > port, HXCI, DSPI, SD boot, QSPI boot, Broadcom wifi card, QCA wifi card.
> >
> > Signed-off-by: Feng Li <feng.li_2 at nxp.com>
> > ---
> <snip>
> 
> > diff --git a/include/configs/ls1021aiot.h
> > b/include/configs/ls1021aiot.h new file mode 100644 index
> > 0000000..dc8e955
> > --- /dev/null
> > +++ b/include/configs/ls1021aiot.h
> > @@ -0,0 +1,375 @@
> > +/*
> > + * Copyright 2016 Freescale Semiconductor, Inc.
> > + *
> > + * SPDX-License-Identifier:	GPL-2.0+
> > + */
> > +
> > +#ifndef __CONFIG_H
> > +#define __CONFIG_H
> > +
> > +#define CONFIG_LS102XA
> > +#define CONFIG_ARMV7_PSCI_1_0
> > +#define CONFIG_ARMV7_PSCI_GTE_1_0
> [Alison Wang] Where is this macro mentioned? I didn't find any related code.
> 
> > +#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR
> > +
> > +#define CONFIG_SYS_FSL_CLK
> > +
> > +#define CONFIG_DISPLAY_CPUINFO
> > +#define CONFIG_DISPLAY_BOARDINFO
> > +
> > +#define CONFIG_BOARD_EARLY_INIT_F
> > +
> <snip>
> 
> > +
> > +#define CONFIG_ARMV7_NONSEC
> > +#define CONFIG_ARMV7_VIRT
> [Alison Wang] For selecting ARMV7_PSCI correctly, these two lines need to be
> removed, and CPU_V7_HAS_NONSEC and CPU_V7_HAS_VIRT are added in
> Kconfig.
> Please refer to commits adee1d4, 217f92b and 1544698.
> 
> From adee1d4c9eb16a49ec1396b3367d027b7c3d2940 Mon Sep 17 00:00:00
> 2001
> From: Hongbo Zhang <hongbo.zhang at nxp.com>
> Date: Wed, 21 Sep 2016 18:31:04 +0800
> Subject: [PATCH] ARMv7: LS102xA: Move two macros from header files to
> Kconfig
> 
> Following commits 217f92b and 1544698, these two config
> CPU_V7_HAS_NONSEC and CPU_V7_HAS_VIRT are moved to Kconfig, for
> correctly select ARMV7_PSCI.
> 
> Signed-off-by: Hongbo Zhang <hongbo.zhang at nxp.com> [York Sun:
> Reformatted commit message]
> Reviewed-by: York Sun <york.sun at nxp.com>
> 
> > +#define CONFIG_PEN_ADDR_BIG_ENDIAN
> > +#define CONFIG_LAYERSCAPE_NS_ACCESS
> > +#define CONFIG_SMP_PEN_ADDR		0x01ee0200
> > +#define CONFIG_TIMER_CLK_FREQ		12500000
> > +
> > +#define CONFIG_HWCONFIG
> > +#define HWCONFIG_BUFFER_SIZE		256
> > +
> > +#define CONFIG_FSL_DEVICE_DISABLE
> > +
> > +#define CONFIG_EXTRA_ENV_SETTINGS	\
> > +	"bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
> > +"initrd_high=0xffffffff\0"	\
> > +"fdt_high=0xffffffff\0"
> > +
> 
> Best Regards,
> Alison Wang

Thanks,
Feng Li


More information about the U-Boot mailing list