diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-01 12:52:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-01 12:52:43 -0400 |
commit | cdce1f0931831cebfbeb811a266a2f4adf5c8a35 (patch) | |
tree | 6d7e41800f767e34ea33eeedb6c4a9bb6dd7052c /arch/cris/arch-v32/boot/compressed | |
parent | 0242909a6135e10a28822c64f9ad50fdad52757c (diff) | |
parent | c5ec6fb08d7806cf1a9e4fceed15f5d4a69f885e (diff) |
Merge branch 'link_removal' of git://www.jni.nu/cris
* 'link_removal' of git://www.jni.nu/cris:
[CRIS] Remove links from CRIS build
[CRIS] Merge asm-offsets.c for both arches into one file.
Diffstat (limited to 'arch/cris/arch-v32/boot/compressed')
-rw-r--r-- | arch/cris/arch-v32/boot/compressed/head.S | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/boot/compressed/head.S b/arch/cris/arch-v32/boot/compressed/head.S index ea3012993b07..a4a65c5c669e 100644 --- a/arch/cris/arch-v32/boot/compressed/head.S +++ b/arch/cris/arch-v32/boot/compressed/head.S | |||
@@ -28,7 +28,13 @@ _start: | |||
28 | beq dram_init_finished | 28 | beq dram_init_finished |
29 | nop | 29 | nop |
30 | 30 | ||
31 | #include "../../mach/dram_init.S" | 31 | #if defined CONFIG_ETRAXFS |
32 | #include "../../mach-fs/dram_init.S" | ||
33 | #elif defined CONFIG_CRIS_MACH_ARTPEC3 | ||
34 | #include "../../mach-a3/dram_init.S" | ||
35 | #else | ||
36 | #error Only ETRAXFS and ARTPEC-3 supported! | ||
37 | #endif | ||
32 | 38 | ||
33 | dram_init_finished: | 39 | dram_init_finished: |
34 | 40 | ||
@@ -130,4 +136,10 @@ _cmd_line_addr: | |||
130 | _boot_source: | 136 | _boot_source: |
131 | .dword 0 | 137 | .dword 0 |
132 | 138 | ||
133 | #include "../../mach/hw_settings.S" | 139 | #if defined CONFIG_ETRAXFS |
140 | #include "../../mach-fs/hw_settings.S" | ||
141 | #elif defined CONFIG_CRIS_MACH_ARTPEC3 | ||
142 | #include "../../mach-a3/hw_settings.S" | ||
143 | #else | ||
144 | #error Only ETRAXFS and ARTPEC-3 supported! | ||
145 | #endif | ||