
This patch series fixes and prepares bootm to initially support the hand over of flattened device trees to the kernel.
The first patch fixes the missing initramfs relocation if bootm is used without subcommands.
Patches 3 and 4 make the legacy boot interface configurable.
Patch 5 adds mem, rd_start and rd_size to kernel command line for targets those do not use the legacy Linux env.
Patch 6 adds the required code to prepare a flattened device tree for the kernel. The final hand over to the kernel is not yet implemented. After the community agreed on the official MIPS boot interface for device trees, the corresponding code will be added.
Daniel Schwierzeck (7): MIPS: bootm: add missing initramfs relocation MIPS: bootm: remove unused or redundant header files MIPS: bootm: refactor preparation of Linux kernel command line MIPS: bootm: refactor preparation of Linux kernel environment MIPS: bootm: add mem, rd_start and rd_size to kernel command line MIPS: bootm: prepare a flattened device tree for the kernel MIPS: bootm: add bootstage reporting
arch/mips/Kconfig | 33 ++++++++++++++ arch/mips/lib/bootm.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 146 insertions(+), 8 deletions(-)