mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-19 12:34:32 +00:00
125e2bc1f2
Changed MC firmware loading to comply with the new MC boot architecture. Flush D-cache hierarchy after loading MC images. Add environment variables "mcboottimeout" for MC boot timeout in milliseconds, "mcmemsize" for MC DRAM block size. Check MC boot status before calling flib functions. Signed-off-by: J. German Rivera <German.Rivera@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com> |
||
---|---|---|
.. | ||
cpu.c | ||
cpu.h | ||
fdt.c | ||
fsl_lsch3_serdes.c | ||
lowlevel.S | ||
ls2085a_serdes.c | ||
Makefile | ||
mp.c | ||
mp.h | ||
README | ||
soc.c | ||
speed.c | ||
speed.h |
# # Copyright 2014 Freescale Semiconductor # # SPDX-License-Identifier: GPL-2.0+ # Freescale LayerScape with Chassis Generation 3 This architecture supports Freescale ARMv8 SoCs with Chassis generation 3, for example LS2085A. Flash Layout ============ A typical layout of various images (including Linux and other firmware images) is shown below considering a 32MB NOR flash device: ------------------------- | linux | ------------------------- ----> 0x0120_0000 | Debug Server | ------------------------- ----> 0x00C0_0000 | AIOP SW | ------------------------- ----> 0x0070_0000 | MC FW | ------------------------- ----> 0x006C_0000 | MC Data Path Layout | ------------------------- ----> 0x0020_0000 | BootLoader | ------------------------- ----> 0x0000_1000 | PBI | ------------------------- ----> 0x0000_0080 | RCW | ------------------------- ----> 0x0000_0000 32-MB NOR flash layout Environment Variables ===================== mcboottimeout: MC boot timeout in milliseconds. If this variable is not defined the value CONFIG_SYS_LS_MC_BOOT_TIMEOUT_MS will be assumed. mcmemsize: MC DRAM block size. If this variable is not defined, the value CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE will be assumed.