ARM: remove obsolete Makefile.boot infrastructure
authorArnd Bergmann <arnd@arndb.de>
Wed, 27 Jul 2022 07:26:45 +0000 (09:26 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 18 Aug 2022 14:44:59 +0000 (16:44 +0200)
commit92481c7d14b8030418f00c4b4ec65556565d892d
tree69210f33cf5f25b2f639ffacfc7502fd6d4e62a4
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
ARM: remove obsolete Makefile.boot infrastructure

There are a number of old Makefile.boot files that remain from the
multiplatform conversion, and three that are still in use.

These provide the "ZRELADDR", "PARAMS_PHYS" and "INITRD_PHYS" values
that are platform specific. It turns out that we can generally just
derive this from information that is available elsewhere:

- ZRELADDR is normally detected at runtime with the
  CONFIG_AUTO_ZRELADDR flag, but also needed to be passed to
  for 'make uImage'. In a multiplatform kernel, one always has
  to pass this as the $(LOADADDR) variable, but in the StrongARM
  kernels we can derive it from the sum of $(CONFIG_PHYS_OFFSET)
  and $(TEXT_OFFSET) that are already known.

- PARAMS_PHYS and INITRD_PHYS are only used for bootpImage, which
  in turn is only used for the pre-ATAGS 'param_struct' based boot
  interface on StrongARM based machines with old boot loaders.
  They can both be derived from CONFIG_PHYS_OFFSET and a machine
  specific offset for the initrd, so all of the logic for these
  can be part of arch/arm/boot/bootp/Makefile.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 files changed:
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/boot/Makefile
arch/arm/boot/bootp/Makefile
arch/arm/mach-at91/Makefile.boot [deleted file]
arch/arm/mach-davinci/Makefile.boot [deleted file]
arch/arm/mach-dove/Makefile.boot [deleted file]
arch/arm/mach-ep93xx/Makefile.boot [deleted file]
arch/arm/mach-footbridge/Makefile.boot [deleted file]
arch/arm/mach-imx/Makefile.boot [deleted file]
arch/arm/mach-iop32x/Makefile.boot [deleted file]
arch/arm/mach-lpc18xx/Makefile.boot [deleted file]
arch/arm/mach-lpc32xx/Makefile.boot [deleted file]
arch/arm/mach-omap1/Makefile.boot [deleted file]
arch/arm/mach-rpc/Makefile.boot [deleted file]
arch/arm/mach-s3c/Makefile.boot [deleted file]
arch/arm/mach-sa1100/Makefile.boot [deleted file]
arch/arm/mach-stm32/Makefile.boot [deleted file]
arch/arm/mach-versatile/Makefile.boot [deleted file]
arch/arm/mach-vt8500/Makefile.boot [deleted file]