u-boot-brain/arch/arm
Alban Bedel cbf77d2018 armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF-A
When booting from TF-A there is a logic that attempt to detect if the
default environment is used, if this is the case it then set the
`bootcmd` and `mcinitcmd` depending of the device we booted from.
This detection logic is dubious as it access internals of the env
implementation and it doesn't always work correctly.

First of all it detect any valid environment as not being the
default, so after running `env default -a && saveenv` the board
doesn't boot anymore as `bootcmd` is then empty.
But it also fails in some other ways, for example it always detect a
default environment when redundant env is enabled on MMC, so in that
case `bootcmd` is overwritten on every boot.

Instead of increasing the complexity of the detection just check if
`bootcmd` and `mcinitcmd` are set in the environment and set them if
they are not.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2020-12-10 13:56:39 +05:30
..
cpu armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF-A 2020-12-10 13:56:39 +05:30
dts armv8: lx2162aqds: Add support for LX2162AQDS platform 2020-12-10 13:56:39 +05:30
include armv8: lx2162a: Add Soc changes to support LX2162A 2020-12-10 13:56:39 +05:30
lib arm64: Add support for larger PIE U-Boot 2020-09-22 12:47:28 +02:00
mach-aspeed ram: move aspeed ram driver into drivers/ directory 2020-10-08 10:58:33 -04:00
mach-at91 ARM: at91: Add chip ID for SAM9X60 SiP 2020-10-19 09:19:53 +03:00
mach-bcm283x
mach-bcmstb
mach-cortina
mach-davinci
mach-exynos
mach-highbank
mach-imx imx8: allow overriding memory layout 2020-12-06 15:31:37 +01:00
mach-integrator
mach-ipq40xx IPQ40xx: Add PRNG support 2020-10-22 09:54:54 -04:00
mach-k3
mach-keystone
mach-kirkwood
mach-lpc32xx
mach-mediatek
mach-meson ARM: mach-meson: update SoC IDs 2020-11-12 14:28:37 +01:00
mach-mvebu arm: mvebu: a38x: Configurable USB2 high-speed impedance threshold 2020-12-07 07:11:37 +01:00
mach-nexell
mach-octeontx
mach-octeontx2
mach-omap2
mach-orion5x
mach-owl
mach-qemu
mach-rmobile pinctrl: renesas: r8a77951: Add R8A774E1 PFC support 2020-11-22 12:49:22 +01:00
mach-rockchip rockchip: Add Engicam PX30.Core C.TOUCH 2.0 2020-10-30 23:31:26 +08:00
mach-s5pc1xx
mach-snapdragon
mach-socfpga arm: socfpga: fix Gen5 enable of EMAC via FPGA 2020-10-21 11:45:54 +08:00
mach-sti
mach-stm32 treewide: Update email address Patrick Delaunay and Patrice Chotard 2020-12-09 10:57:50 +01:00
mach-stm32mp SPL: stm32mp1: fix spl_mmc_boot_partition not defined 2020-11-25 10:56:09 +01:00
mach-sunxi sunxi: add V3/S3 support 2020-11-17 00:42:21 +00:00
mach-tegra configs: cei-tk1-som: remove CONFIG_ARMV7_PSCI in include file 2020-12-04 13:39:15 -07:00
mach-u8500
mach-uniphier
mach-versal xilinx: kconfig: Move sourcing of board Kconfig to mach folders 2020-09-23 10:31:40 +02:00
mach-versatile
mach-zynq xilinx: Consolidate board_fit_config_name_match() for Xilinx platforms 2020-10-29 08:55:43 +01:00
mach-zynqmp arm64: zynqmp: Get rid of unused macros 2020-11-20 10:42:54 +01:00
mach-zynqmp-r5 xilinx: r5: Fix MPU setting for R5 2020-09-23 10:31:41 +02:00
thumb1/include/asm/proc-armv
config.mk
Kconfig armv8: lx2162aqds: Add support for LX2162AQDS platform 2020-12-10 13:56:39 +05:30
Kconfig.debug
Makefile