summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Deprez <o-deprez@ti.com>2012-08-09 16:17:00 +0200
committerRyan Harkin <ryan.harkin@linaro.org>2012-11-24 13:13:25 +0000
commit0d49d608276e21e296e9006d39504006a0e63061 (patch)
treeac4dd7af208f0bdeb579aeee6484604f4611d871
parent5246c76db8a09f90b2b4dadc7a2037d3ec2f6cf7 (diff)
panda: adding linaro git patch for PrePi
this patch updates the linaro git mirror with a patch related to serial init.
-rw-r--r--PandaBoardPkg/patches/0001-remove-ASSERT-because-serial-not-yet-initialized.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/PandaBoardPkg/patches/0001-remove-ASSERT-because-serial-not-yet-initialized.patch b/PandaBoardPkg/patches/0001-remove-ASSERT-because-serial-not-yet-initialized.patch
new file mode 100644
index 000000000..92e552760
--- /dev/null
+++ b/PandaBoardPkg/patches/0001-remove-ASSERT-because-serial-not-yet-initialized.patch
@@ -0,0 +1,27 @@
+From e6b3ca0f765545b94e74de75d67b3c830f354c70 Mon Sep 17 00:00:00 2001
+From: Olivier Deprez <o-deprez@ti.com>
+Date: Thu, 9 Aug 2012 16:12:40 +0200
+Subject: [PATCH] remove ASSERT because serial not yet initialized
+
+In CEntryPoint, this ASSERT statement calls serial print functions when serial port has not been initialized yet
+This is causing board hand on panda board.
+---
+ edk2/ArmPlatformPkg/PrePi/PrePi.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/edk2/ArmPlatformPkg/PrePi/PrePi.c b/edk2/ArmPlatformPkg/PrePi/PrePi.c
+index 11396d1..05385cc 100755
+--- a/edk2/ArmPlatformPkg/PrePi/PrePi.c
++++ b/edk2/ArmPlatformPkg/PrePi/PrePi.c
+@@ -209,7 +209,7 @@ CEntryPoint (
+ }
+
+ // Write VBAR - The Vector table must be 32-byte aligned
+- ASSERT (((UINT32)PrePiVectorTable & ((1 << 5)-1)) == 0);
++ //ASSERT (((UINT32)PrePiVectorTable & ((1 << 5)-1)) == 0);
+ ArmWriteVBar ((UINT32)PrePiVectorTable);
+
+ // If not primary Jump to Secondary Main
+--
+1.7.0.4
+