u-boot/arch/arm
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
..
cpu arm: ls1021atwr: Convert to use driver model TSEC driver 2019-07-25 13:13:31 -05:00
dts Add support for the NXP LS1021A-TSN board 2019-07-25 13:13:31 -05:00
include psci: Fix warnings when compiling with W=1 2019-07-24 14:15:38 -04:00
lib Pull request for UEFI sub-system for v2019.10-rc1 (2) 2019-07-23 22:29:53 -04:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 First set of u-boot-atmel fixes for 2019.07 cycle 2019-06-10 09:41:00 -04:00
mach-bcm283x ARM: bcm283x: Fix definition of MBOX_TAG_TEST_PIXEL_ORDER 2019-06-12 12:23:46 +02:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci arm: davinci: remove leftover assembly 2019-06-05 12:14:02 -04:00
mach-exynos CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx psci: Fix warnings when compiling with W=1 2019-07-24 14:15:38 -04:00
mach-integrator
mach-k3 board: ti: am654: Use EEPROM-based board detection 2019-07-17 11:13:18 -04:00
mach-keystone CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-kirkwood km: modify Kconfig file organization for KM boards 2019-07-11 10:58:03 +02:00
mach-mediatek arm: mediatek: add missing arch timer configuration for MT7629 2019-07-18 11:31:30 -04:00
mach-meson ARM: meson: add unique MAC address generation 2019-07-04 16:04:59 +02:00
mach-mvebu arm: mvebu: set 38x and 39x AVS on lower frequency 2019-07-11 10:58:03 +02:00
mach-omap2 configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default 2019-07-13 11:11:29 -04:00
mach-orion5x arm: remove prototype for get_timer_masked 2018-10-10 13:35:09 -04:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default 2019-07-13 11:11:29 -04:00
mach-rockchip rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINT 2019-07-22 21:52:59 +08:00
mach-s5pc1xx CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-snapdragon arm: mach-snapdragon: pinctrl: clarify gpio disable bit 2019-01-25 12:12:56 -05:00
mach-socfpga arm: socfpga: provide default SPL_SIZE_LIMIT for gen5 2019-06-14 12:41:26 +02:00
mach-sti
mach-stm32 mach-stm32: Fix MPU region size dedicated to SDRAM for STM32F4 2019-06-28 09:45:27 +02:00
mach-stm32mp psci: Fix warnings when compiling with W=1 2019-07-24 14:15:38 -04:00
mach-sunxi sunxi: H6: Enable USB for existing boards 2019-07-16 17:13:15 +05:30
mach-tegra arm64: add an option to switch visibility of CONFIG_SYS_INIT_SP_BSS_OFFSET 2019-07-10 22:37:23 +09:00
mach-uniphier psci: Fix warnings when compiling with W=1 2019-07-24 14:15:38 -04:00
mach-versal arm64: versal: Move IOU_SWITCH_DIVISOR0 to Kconfig 2019-02-14 14:31:10 +01:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-zynqmp arm64: zynqmp: fix preprocessor check for SPL_ZYNQMP_TWO_SDHCI 2019-04-16 11:52:02 +02:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig Add support for the NXP LS1021A-TSN board 2019-07-25 13:13:31 -05:00
Kconfig.debug
Makefile arm: imx: build mach-imx for i.MX8 2019-01-28 20:35:47 +01:00