Skip to content
Snippets Groups Projects
Commit 119a55f9 authored by Prabhakar Kushwaha's avatar Prabhakar Kushwaha Committed by Andy Fleming
Browse files

powerpc/85xx:Avoid vector table compilation for nand_spl


NAND SPL code never compile the vector table.
So no need to setup interrupt vector table for NAND SPL.

Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 64829baf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment