2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/arch/mips/boot/compressed
James Hogan 3185557d1a MIPS: Refactor load/entry address calculations
The vmlinux load address and entry address is calculated in multiple
places:
 - arch/mips/Makefile defines load-y from CONFIG_PHYSICAL_START (or
   defined by the platform) and passes it to
   arch/mips/boot/compressed/Makefile.
 - arch/mips/boot/compressed/Makefile calculates kernel entry using nm.
 - arch/mips/lasat/image/Makefile calculates both load and entry address
   using nm.

Lets combine these in the main Makefile and then pass them as Make
parameters to each of the three boot image Makefiles (in boot/,
boot/compressed, lasat/image/). The boot/ Makefile doesn't currently use
them, but will soon need to for U-Boot image targets.

The existing load-y definition is used in preference to calculating the
load address using nm.

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/5794/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-09-03 17:58:37 +02:00
..
calc_vmlinuz_load_addr.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dbg.c MIPS: Simplify the weak annotation with __weak 2010-02-27 12:53:17 +01:00
decompress.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dummy.c MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images 2009-12-17 01:56:56 +00:00
head.S MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ld.script MIPS: Clean up arch/mips/boot/compressed/ld.script 2010-08-05 13:26:32 +01:00
Makefile MIPS: Refactor load/entry address calculations 2013-09-03 17:58:37 +02:00
uart-16550.c MIPS: Netlogic: Support compressed kernel 2013-06-13 17:46:41 +02:00
uart-alchemy.c MIPS: Alchemy: Single kernel for DB1200/1300/1550 2012-10-11 11:11:20 +02:00