summaryrefslogtreecommitdiffstats
path: root/include/configs/ls2085a_emu.h
diff options
context:
space:
mode:
authorJ. German Rivera <German.Rivera@freescale.com>2015-03-20 19:28:18 -0700
committerYork Sun <yorksun@freescale.com>2015-04-23 08:55:57 -0700
commit125e2bc1f24736291e752d78a769f7f942050be2 (patch)
treea4b68be1b4b6cea8e206ad4bbda800497a7164dd /include/configs/ls2085a_emu.h
parent8bb065630f14076c21351d46dbb9eb81c79bf0a4 (diff)
downloadtalos-obmc-uboot-125e2bc1f24736291e752d78a769f7f942050be2.tar.gz
talos-obmc-uboot-125e2bc1f24736291e752d78a769f7f942050be2.zip
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.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/ls2085a_emu.h b/include/configs/ls2085a_emu.h
index 961dc63c8f..2d68e1bf7e 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
OpenPOWER on IntegriCloud