diff options
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 | ||