linux-stable/arch/mips/lasat
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
..
image MIPS: Refactor load/entry address calculations 2013-09-03 17:58:37 +02:00
Kconfig [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
Makefile MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
Platform MIPS: Lasat: Migrate to new platform makefile style. 2010-08-05 13:25:53 +01:00
at93c.c [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
at93c.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
ds1603.c timekeeping: Increase granularity of read_persistent_clock() 2009-08-15 10:55:46 +02:00
ds1603.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
interrupt.c MIPS: Mark cascade and low level interrupts IRQF_NO_THREAD 2011-09-21 17:52:15 +02:00
lasat_board.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
lasat_models.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
picvue.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
picvue.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
picvue_proc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
prom.c MIPS: Replace all usages of CL_SIZE by COMMAND_LINE_SIZE 2009-12-17 01:56:56 +00:00
prom.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
reset.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
serial.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
setup.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
sysctl.c mips: lasat: sysctl: Convert use of typedef ctl_table to struct ctl_table 2013-06-18 00:31:32 +02:00