summaryrefslogtreecommitdiffstats
path: root/src/soc/nvidia/tegra210/Makefile.inc
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-07-10 15:29:13 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-07-13 10:01:58 +0200
commit25fbe2ad8277a7e5a950920b0f658c1a7c8d30d8 (patch)
tree18af72067cc1272e11962bb79499bc5d3c25efb1 /src/soc/nvidia/tegra210/Makefile.inc
parent6e1dc0cd602cea4d2b401970b032dadf2a082346 (diff)
downloadcoreboot-25fbe2ad8277a7e5a950920b0f658c1a7c8d30d8.tar.gz
coreboot-25fbe2ad8277a7e5a950920b0f658c1a7c8d30d8.tar.bz2
coreboot-25fbe2ad8277a7e5a950920b0f658c1a7c8d30d8.zip
t210: Apply A57 hardware issue workaround during cpu startup
Define custom stage_entry to apply workaround for A57 hardware issue for power on reset. It is observed that BTB contains stale data after power on reset. This could lead to unexpected branching and crashes at random intervals during the boot flow. Thus, invalidate the BTB immediately after power on reset. BUG=chrome-os-partner:41877 BRANCH=None TEST=Compiles successfully and reboot test does not crash in firmware for 10K iterations. Change-Id: Ifbc9667bc5556112374f35733192b67b64a345d2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: bc7c2fec3c6b29e291235669ba9f22ff611064a7 Original-Change-Id: I1f5714074afdfee64b88cea8a394936ca848634b Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/284869 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/10899 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra210/Makefile.inc')
-rw-r--r--src/soc/nvidia/tegra210/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra210/Makefile.inc b/src/soc/nvidia/tegra210/Makefile.inc
index 3b2dc7c5b124..8d7e1fce3a84 100644
--- a/src/soc/nvidia/tegra210/Makefile.inc
+++ b/src/soc/nvidia/tegra210/Makefile.inc
@@ -101,13 +101,14 @@ ramstage-$(CONFIG_DRIVERS_UART) += uart.c
ramstage-y += ../tegra/usb.c
ramstage-$(CONFIG_ARM64_USE_SECURE_MONITOR) += secmon.c
ramstage-$(CONFIG_HAVE_MTC) += mtc.c
+ramstage-y += stage_entry.S
secmon-y += cpu.c
secmon-y += cpu_lib.S
secmon-y += flow_ctrl.c
secmon-y += power.c
secmon-y += psci.c
-secmon-y += reset_handler.S
+secmon-y += stage_entry.S
secmon-y += uart.c
secmon-y += gic.c