[PATCH 00/35] treewide: Remove unused NEEDS_MANUAL_RELOC code bits
Marek Vasut
marek.vasut+renesas at mailbox.org
Wed Sep 6 23:29:40 CEST 2023
The last user of the NEEDS_MANUAL_RELOC has been removed in commit
26af162ac8f8 ("arch: m68k: Implement relocation")
Remove now unused NEEDS_MANUAL_RELOC code.
This is a follow up on way over decade old commit
2e5167ccad93 ("Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC")
"
By now, the majority of architectures have working relocation
support, so the few remaining architectures have become exceptions.
To make this more obvious, we make working relocation now the default
case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC.
"
It took a bit longer than expected, but now we can really sunset
CONFIG_NEEDS_MANUAL_RELOC.
Make it so.
Marek Vasut (35):
boot: Remove unused NEEDS_MANUAL_RELOC code bits
blkcache: Remove unused NEEDS_MANUAL_RELOC code bits
command: Remove unused NEEDS_MANUAL_RELOC code bits
common: board_r: Remove unused NEEDS_MANUAL_RELOC code bits
common: hush: Remove unused NEEDS_MANUAL_RELOC code bits
common: malloc: Remove unused NEEDS_MANUAL_RELOC code bits
common: event: Remove unused NEEDS_MANUAL_RELOC code bits
common: hash: Remove unused NEEDS_MANUAL_RELOC code bits
common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits
cmd: bmp: Remove unused NEEDS_MANUAL_RELOC code bits
cmd: date: Remove unused NEEDS_MANUAL_RELOC code bits
cmd: i2c: Remove unused NEEDS_MANUAL_RELOC code bits
cmd: nvedit: Remove unused NEEDS_MANUAL_RELOC code bits
cmd: onenand: Remove unused NEEDS_MANUAL_RELOC code bits
cmd: pxe: Remove unused NEEDS_MANUAL_RELOC code bits
dm: Remove unused NEEDS_MANUAL_RELOC code bits
env: Remove unused NEEDS_MANUAL_RELOC code bits
initcall: Remove unused NEEDS_MANUAL_RELOC code bits
image: Remove unused NEEDS_MANUAL_RELOC code bits
fs: Remove unused NEEDS_MANUAL_RELOC code bits
cpu: Remove unused NEEDS_MANUAL_RELOC code bits
crypto: rsa: Remove unused NEEDS_MANUAL_RELOC code bits
gpio: Remove unused NEEDS_MANUAL_RELOC code bits
hwspinlock: Remove unused NEEDS_MANUAL_RELOC code bits
sf: Remove unused NEEDS_MANUAL_RELOC code bits
mtd: ubifs: Remove unused NEEDS_MANUAL_RELOC code bits
net: eth: Remove unused NEEDS_MANUAL_RELOC code bits
net: miiphybb: Remove unused NEEDS_MANUAL_RELOC code bits
net: phy: Remove unused NEEDS_MANUAL_RELOC code bits
serial: Remove unused NEEDS_MANUAL_RELOC code bits
spi: Remove unused NEEDS_MANUAL_RELOC code bits
sysreset: Remove unused NEEDS_MANUAL_RELOC code bits
timer: Remove unused NEEDS_MANUAL_RELOC code bits
wdt: Remove unused NEEDS_MANUAL_RELOC code bits
post: Remove unused NEEDS_MANUAL_RELOC code bits
boot/bootm_os.c | 14 ----
boot/image-sig.c | 28 -------
boot/image.c | 10 +--
cmd/blkcache.c | 13 ----
cmd/bootm.c | 14 ----
cmd/date.c | 8 +-
cmd/i2c.c | 14 ----
cmd/nvedit.c | 11 ---
cmd/onenand.c | 6 --
cmd/pxe.c | 14 ----
common/bmp.c | 7 --
common/board_r.c | 28 -------
common/cli_hush.c | 16 ----
common/dlmalloc.c | 14 ----
common/event.c | 14 ----
common/hash.c | 29 --------
common/stdio.c | 12 ---
doc/README.POST | 5 --
drivers/block/blkcache.c | 16 ----
drivers/core/root.c | 81 ---------------------
drivers/cpu/cpu-uclass.c | 27 -------
drivers/crypto/rsa_mod_exp/mod_exp_uclass.c | 13 ----
drivers/gpio/gpio-uclass.c | 30 --------
drivers/hwspinlock/hwspinlock-uclass.c | 21 ------
drivers/mtd/spi/sf-uclass.c | 16 ----
drivers/net/phy/miiphybb.c | 20 +----
drivers/net/phy/phy.c | 31 --------
drivers/serial/serial-uclass.c | 22 ------
drivers/serial/serial.c | 17 -----
drivers/spi/spi-uclass.c | 32 --------
drivers/sysreset/sysreset-uclass.c | 16 ----
drivers/timer/timer-uclass.c | 13 ----
drivers/watchdog/wdt-uclass.c | 23 ------
env/callback.c | 12 ---
env/common.c | 5 --
env/env.c | 23 ------
fs/fs.c | 16 ----
fs/ubifs/ubifs.c | 6 --
include/blk.h | 6 --
include/command.h | 21 ------
include/env.h | 13 ----
include/event.h | 10 ---
include/initcall.h | 7 --
include/phy.h | 8 --
include/post.h | 3 -
include/relocate.h | 24 ------
lib/initcall.c | 10 ---
net/eth-uclass.c | 26 -------
net/eth_common.c | 4 -
post/post.c | 48 ------------
50 files changed, 8 insertions(+), 869 deletions(-)
--
2.40.1
More information about the U-Boot
mailing list