projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64829ba
)
powerpc/85xx:Avoid vector table compilation for nand_spl
author
Prabhakar Kushwaha
<
[email protected]
>
Tue, 14 Feb 2012 22:50:02 +0000
(22:50 +0000)
committer
Andy Fleming
<
[email protected]
>
Wed, 25 Apr 2012 04:58:30 +0000
(23:58 -0500)
NAND SPL code never compile the vector table.
So no need to setup interrupt vector table for NAND SPL.
Signed-off-by: Prabhakar Kushwaha <
[email protected]
>
Signed-off-by: Andy Fleming <
[email protected]
>
arch/powerpc/cpu/mpc85xx/start.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/start.S
b/arch/powerpc/cpu/mpc85xx/start.S
index 93de9df0bcdd98f8eedd706d4ce5874e69575b95..7bfa2d5630527fc4cf93e26d38f21a6e057f405d 100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/start.S
+++ b/
arch/powerpc/cpu/mpc85xx/start.S
@@
-179,6
+179,11
@@
l2_disabled:
andi. r1,r3,L1CSR0_DCE@l
beq 2b
+/*
+ * Ne need to setup interrupt vector for NAND SPL
+ * because NAND SPL never compiles it.
+ */
+#if !defined(CONFIG_NAND_SPL)
/* Setup interrupt vectors */
lis r1,CONFIG_SYS_MONITOR_BASE@h
mtspr IVPR,r1
@@
-217,6
+222,7
@@
l2_disabled:
mtspr IVOR14,r4 /* 14: Instruction TLB error */
addi r4,r3,DebugBreakpoint - _start + _START_OFFSET
mtspr IVOR15,r4 /* 15: Debug */
+#endif
/* Clear and set up some registers. */
li r0,0x0000