diff options
author | J. German Rivera <German.Rivera@freescale.com> | 2015-03-20 19:28:18 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-23 08:55:57 -0700 |
commit | 125e2bc1f24736291e752d78a769f7f942050be2 (patch) | |
tree | a4b68be1b4b6cea8e206ad4bbda800497a7164dd /include/configs/ls2085a_emu.h | |
parent | 8bb065630f14076c21351d46dbb9eb81c79bf0a4 (diff) | |
download | u-boot-imx-125e2bc1f24736291e752d78a769f7f942050be2.zip u-boot-imx-125e2bc1f24736291e752d78a769f7f942050be2.tar.gz u-boot-imx-125e2bc1f24736291e752d78a769f7f942050be2.tar.bz2 |
drivers/fsl-mc: Changed MC firmware loading for new boot architecture
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>
Diffstat (limited to 'include/configs/ls2085a_emu.h')
-rw-r--r-- | include/configs/ls2085a_emu.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/ls2085a_emu.h b/include/configs/ls2085a_emu.h index 961dc63..2d68e1b 100644 --- a/include/configs/ls2085a_emu.h +++ b/include/configs/ls2085a_emu.h @@ -72,12 +72,15 @@ #define CONFIG_SYS_DEBUG_SERVER_FW_IN_NOR #define CONFIG_SYS_DEBUG_SERVER_FW_ADDR 0x580C00000ULL -/* MC firmware */ -#define CONFIG_SYS_LS_MC_FW_IN_NOR -#define CONFIG_SYS_LS_MC_FW_ADDR 0x580200000ULL +/* + * This trick allows users to load MC images into DDR directly without + * copying from NOR flash. It dramatically improves speed. + */ +#define CONFIG_SYS_LS_MC_FW_IN_DDR +#define CONFIG_SYS_LS_MC_DPL_IN_DDR +#define CONFIG_SYS_LS_MC_DPC_IN_DDR -#define CONFIG_SYS_LS_MC_DPL_IN_NOR -#define CONFIG_SYS_LS_MC_DPL_ADDR 0x5806C0000ULL +#define CONFIG_SYS_LS_MC_BOOT_TIMEOUT_MS 200000 /* Store environment at top of flash */ #define CONFIG_ENV_IS_NOWHERE 1 |