aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/head.S
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-03-09 10:10:09 -0400
committerVineet Gupta <vgupta@synopsys.com>2015-06-19 08:39:27 -0400
commit036b2c5664281e7da5a89c9f742491f30966485f (patch)
treee9e75a0b1eac449927c2bae6a9c6887fdb22bcd3 /arch/arc/kernel/head.S
parentfd1557923b2e45a7ff4664bd88311d8239d69ca9 (diff)
ARC: explicit'ify uboot support
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/head.S')
-rw-r--r--arch/arc/kernel/head.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/head.S b/arch/arc/kernel/head.S
index b0e8666fdccc..64a92e0b1e53 100644
--- a/arch/arc/kernel/head.S
+++ b/arch/arc/kernel/head.S
@@ -83,6 +83,7 @@ stext:
83 st.ab 0, [r5, 4] 83 st.ab 0, [r5, 4]
841: 841:
85 85
86#ifdef CONFIG_ARC_UBOOT_SUPPORT
86 ; Uboot - kernel ABI 87 ; Uboot - kernel ABI
87 ; r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2 88 ; r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2
88 ; r1 = magic number (board identity, unused as of now 89 ; r1 = magic number (board identity, unused as of now
@@ -90,6 +91,7 @@ stext:
90 ; These are handled later in setup_arch() 91 ; These are handled later in setup_arch()
91 st r0, [@uboot_tag] 92 st r0, [@uboot_tag]
92 st r2, [@uboot_arg] 93 st r2, [@uboot_arg]
94#endif
93 95
94 ; setup "current" tsk and optionally cache it in dedicated r25 96 ; setup "current" tsk and optionally cache it in dedicated r25
95 mov r9, @init_task 97 mov r9, @init_task