Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] Altas, Malta: Switch boot file format to raw.

A raw binary boots about twice as fast as SREC.

The possibility to generate SREC binaries remains by simply using the
vmlinux.srec target but seems only useful for the probably hypothetical
case where one of these systems is booted over a serial interface.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+4 -2
+2
arch/mips/Kconfig
··· 190 190 config MIPS_ATLAS 191 191 bool "MIPS Atlas board" 192 192 select BOOT_ELF32 193 + select BOOT_RAW 193 194 select CEVT_R4K 194 195 select CSRC_R4K 195 196 select DMA_NONCOHERENT ··· 223 222 bool "MIPS Malta board" 224 223 select ARCH_MAY_HAVE_PC_FDC 225 224 select BOOT_ELF32 225 + select BOOT_RAW 226 226 select CEVT_R4K 227 227 select CSRC_R4K 228 228 select DMA_NONCOHERENT
+2 -2
arch/mips/Makefile
··· 314 314 cflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-atlas 315 315 cflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-mips 316 316 load-$(CONFIG_MIPS_ATLAS) += 0xffffffff80100000 317 - all-$(CONFIG_MIPS_ATLAS) := vmlinux.srec 317 + all-$(CONFIG_MIPS_ATLAS) := vmlinux.bin 318 318 319 319 # 320 320 # MIPS Malta board ··· 322 322 core-$(CONFIG_MIPS_MALTA) += arch/mips/mips-boards/malta/ 323 323 cflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-mips 324 324 load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 325 - all-$(CONFIG_MIPS_MALTA) := vmlinux.srec 325 + all-$(CONFIG_MIPS_MALTA) := vmlinux.bin 326 326 327 327 # 328 328 # MIPS SEAD board