Skip to contentSkip to conversation

MIPS: bootm.c: drop obsolete Qemu specific bootm implementation

PATCH New daniel.schwierzeck at gmail.com 2 participants 2 messages Jan 12, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: bootm.c: drop obsolete Qemu specific bootm implementation

From: Daniel Schwierzeck <[email protected]>

The Qemu specific bootm implementation was intended for a special Qemu target in Linux kernel. But this target has been dropped in v2.6.25-rc1 by commit 302922e5f6901eb6f29c58539631f71b3d9746b8

Author: Ralf Baechle <[email protected]>
Date: Tue Jan 29 10:15:02 2008 +0000

[MIPS] Qemu: Remove platform.

The Qemu platform was originally implemented to have an easily supportable platform until Qemu reaches a state where it emulates a real world system. Since the latest release Qemu is capable of emulating the MIPSsim and Malta platforms, so this goal has been reached. The Qemu plaform is also rather underfeatured so less useful than a Malta emulation.

Thus the special bootm implementation is obsolete by now and can be dropped. The Qemu support in U-Boot should be converted to MIPS Malta to support booting of Linux kernels.

---
 arch/mips/lib/Makefile          |  4 ---
 arch/mips/lib/bootm_qemu_mips.c | 78 -----------------------------------------
 2 files changed, 82 deletions(-)
 delete mode 100644 arch/mips/lib/bootm_qemu_mips.c
arch/mips/lib/Makefile +0 -4
index 967e98a..a68a564 100644
@@ -35,11 +35,7 @@ LGOBJS	:= $(addprefix $(obj),$(GLSOBJS))
 SOBJS-y	+=
 
 COBJS-y	+= board.o
-ifeq ($(CONFIG_QEMU_MIPS),y)
-COBJS-y	+= bootm_qemu_mips.o
-else
 COBJS-y	+= bootm.o
-endif
 
 SRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
arch/mips/lib/bootm_qemu_mips.c deleted +0 -78

78 lines not on this page · raw message

Signature · 1 line
1.8.0.3
#1 lore raw

PATCH 1/1 MIPS: bootm.c: drop obsolete Qemu specific bootm implementation

Hi Daniel,

Quoted 17 lines

From: Daniel Schwierzeck <[email protected]>

The Qemu specific bootm implementation was intended for a special Qemu target in Linux kernel. But this target has been dropped in v2.6.25-rc1 by commit 302922e5f6901eb6f29c58539631f71b3d9746b8

Author: Ralf Baechle <[email protected]>
Date: Tue Jan 29 10:15:02 2008 +0000

[MIPS] Qemu: Remove platform.

The Qemu platform was originally implemented to have an easily supportable platform until Qemu reaches a state where it emulates a real world system. Since the latest release Qemu is capable of emulating the MIPSsim and Malta platforms, so this goal has been reached. The Qemu plaform is also rather underfeatured so less useful than a Malta emulation.

Quoted 3 lines

Thus the special bootm implementation is obsolete by now and can be dropped. The Qemu support in U-Boot should be converted to MIPS Malta to support booting of Linux kernels.

After this change, the qemu-mips board support will be broken, so the whole qemu-mips stuff should be removed with the same change IMHO. Alternatively, this should be kept until the qemu-malta support is not ready.

-Gabor