MIPS: Add uImage build target
authorJames Hogan <james.hogan@imgtec.com>
Fri, 30 Aug 2013 15:42:42 +0000 (16:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Sep 2013 16:00:01 +0000 (18:00 +0200)
commit4defe4559e86e26545ab2f542656a4b966dcde53
treea07b97f8eb9488b6f059100e93f2857620bba214
parent3185557d1acf8cc0c937b1343de83e2483bde28b
MIPS: Add uImage build target

Add a uImage build target for MIPS, which builds uImage.gz (a U-Boot
image of vmlinux.bin.gz), and then symlinks it to uImage. This allows
for the use of other compression algorithms in future, and is how a few
other architectures do it.

It's enabled conditionally on load-y >= 0xffffffff80000000 which
hopefully allows 64bit kernels to also work as long as the load and
entry address can be represented by the 32bit addresses in the U-Boot
image format.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5795/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile
arch/mips/boot/.gitignore
arch/mips/boot/Makefile