u-boot/board/freescale
Jianchao Wang 8782122052 Add support for the NXP LS1021A-TSN board
The LS1021A-TSN is a development board built by VVDN/Argonboards in
partnership with NXP.

It features the LS1021A SoC and the first-generation SJA1105T Ethernet
switch for prototyping implementations of a subset of IEEE 802.1 TSN
standards.

Supported boot media: microSD card (via SPL), QSPI flash.

Rev. A of the board uses a Spansion S25FL512S_256K serial flash, which
is 64 MB in size and has an erase sector size of 256KB (therefore,
flashing the RCW would erase part of U-Boot).

Rev. B and C of the board use a Spansion S25FL256S1 serial flash, which
is only 32 MB in size but has an erase sector size of 64KB (therefore
the RCW image can be flashed without erasing U-Boot).

To avoid the problems above, the U-Boot base address has been selected
at 0x100000 (the start of the 5th 256KB erase sector), which works for
all board revisions. Actually 0x40000 would have been enough, but
0x100000 is common for all Layerscape devices.

eTSEC3 is connecting directly to SJA1105 via an RGMII fixed-link, but
SJA1105 is currently not supported by uboot. Therefore, eTSEC3 is
disabled.

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
Signed-off-by: Jianchao Wang <jianchao.wang@nxp.com>
Signed-off-by: Changming Huang <jerry.huang@nxp.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>

[Vladimir] Code taken from https://github.com/openil/u-boot (which
itself is mostly copied from ls1021a-iot) and adapted with the following
changes:

- Add a008850 errata workaround
- Converted eTSEC, MMC to DM to avoid all build warnings
- Plugged in distro boot feature, including support for extlinux.conf
- Added defconfig for QSPI boot
- Added the board/freescale/ls1021atsn/README.rst for initial setup
- Increased CONFIG_SYS_MONITOR_LEN so that the SPL malloc pool does not
  get overwritten during copying of the u-boot.bin payload from MMC to
  DDR.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-07-25 13:13:31 -05:00
..
b4860qds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bsc9131rdb board: constify struct node_info array 2018-07-25 08:47:52 +09:00
bsc9132qds board: constify struct node_info array 2018-07-25 08:47:52 +09:00
c29xpcie SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
common board/freescale/common: secure_boot: Set bootdelay to -2. 2019-06-19 12:54:57 +05:30
corenet_ds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
imx8mq_evk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
imx8qm_mek imx: support i.MX8QM MEK board 2019-04-25 17:03:25 +02:00
imx8qxp_mek Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
ls1012afrdm Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
ls1012aqds Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
ls1012ardb Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
ls1021aiot armv7: ls102xa: Add workaround for DDR erratum A-008850 2019-03-15 11:52:01 +05:30
ls1021aqds armv7: ls102xa: Add workaround for DDR erratum A-008850 2019-03-15 11:52:01 +05:30
ls1021atsn Add support for the NXP LS1021A-TSN board 2019-07-25 13:13:31 -05:00
ls1021atwr arm: ls1021atwr: Convert to use driver model TSEC driver 2019-07-25 13:13:31 -05:00
ls1028a armv8: ls1028a: Add secure boot defconfig 2019-06-19 12:54:57 +05:30
ls1043aqds board/fsl/layerscape: Modify the aliases names 2019-06-19 12:54:56 +05:30
ls1043ardb Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
ls1046afrwy armv8: ls1046afrwy: Add support for LS1046AFRWY platform 2019-06-19 12:54:57 +05:30
ls1046aqds board/fsl/layerscape: Modify the aliases names 2019-06-19 12:54:56 +05:30
ls1046ardb Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
ls1088a board: ls1088a: fix fsl-mc search path 2019-03-03 20:56:00 +05:30
ls2080a MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
ls2080aqds fsl-layerscape: dpaa: fix fsl-mc status in fdt with bootefi 2019-01-17 13:16:49 -08:00
ls2080ardb armv8: ls2088ardb: Update MAINTAINERS 2019-01-17 13:17:51 -08:00
lx2160a board: lx2160a: fix fsl-mc status in fdt with bootefi 2019-06-19 12:54:57 +05:30
m547xevb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m548xevb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5208evbe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5235evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5249evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5253demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5272c3 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5275evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5282evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5329evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m5373evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m52277evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m53017evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m54418twr Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
m54451evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
m54455evb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpc832xemds mpc83xx: Get rid of CONFIG_SYS_DDR_BASE 2019-05-21 07:52:33 +02:00
mpc837xemds mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
mpc837xerdb mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
mpc8308rdb mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
mpc8313erdb mpc83xx: Get rid of CONFIG_SYS_LBC_* 2019-05-21 07:52:33 +02:00
mpc8315erdb mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
mpc8323erdb mpc83xx: Get rid of CONFIG_SYS_DDR_BASE 2019-05-21 07:52:33 +02:00
mpc8349emds mpc83xx: Get rid of CONFIG_SYS_LBC_* 2019-05-21 07:52:33 +02:00
mpc8349itx mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
mpc8536ds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8541cds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8544ds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8548cds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8555cds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8568mds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8569mds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8572ds MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8610hpcd MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mpc8641hpcn MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers 2019-02-05 12:31:19 -05:00
mx6memcal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx6qarm2 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6sabreauto Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6sabresd Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6slevk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6sllevk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx6sxsabreauto Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6sxsabresd Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6ul_14x14_evk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx6ullevk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx7dsabresd Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx7ulp_evk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx23evk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx25pdk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx28evk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx31pdk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx35pdk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx51evk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx53ard Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx53evk Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx53loco Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
mx53smd Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
p1_p2_rdb_pc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
p1_twr SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
p1010rdb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
p1022ds p1022ds: Change Timur's email address 2018-05-10 20:38:33 -04:00
p1023rdb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
p2041rdb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qemu-ppce500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
s32v234evb Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
t4qds board/freescale: Remove invalid fsl email addresses 2018-05-10 20:38:33 -04:00
t4rdb board/freescale: Remove invalid fsl email addresses 2018-05-10 20:38:33 -04:00
t102xqds board/freescale: Remove invalid fsl email addresses 2018-05-10 20:38:33 -04:00
t102xrdb board/freescale: Remove invalid fsl email addresses 2018-05-10 20:38:33 -04:00
t104xrdb powerpc: t104xrdb: Add support of MTA9ADF1G72AZ DDR 2019-03-02 18:11:20 +05:30
t208xqds powerpc: T208xQDS: Compile the legacy PCIe routines conditionally 2019-06-20 10:44:10 +05:30
t208xrdb SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
t1040qds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vf610twr Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00