[PATCH 00/10] treewide: misc cleanup for efiloader prep

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Oct 9 23:11:12 PDT 2022


The patches have in common that no functional change sould be introduced
and that they resulted during efiloader implementation.

Ahmad Fatoum (10):
  block: have cdev_get_block_device accept const cdev
  treewide: replace errno_str() with %m printf format specifier
  common: misc: remove now unused errno_str
  driver: don't crash when dev_name/dev_id is called with NULL dev
  lds: introduce <asm/barebox.lds.h>
  lds: move OUTPUT_FORMAT/ARCH definition into header
  ARM: lds: define and use BAREBOX_RELOCATION_TABLE
  lib: random: add hwrng_get_crypto_bytes
  common: bootm: factor out FIT parsing code into bootm_open_bit
  common: bootm: use switch-case

 arch/arm/include/asm/barebox.lds.h       |  30 +++++
 arch/arm/lib/pbl.lds.S                   |  24 +---
 arch/arm/lib32/barebox.lds.S             |  14 +--
 arch/arm/lib64/barebox.lds.S             |  14 +--
 arch/arm/mach-at91/boot_test_cmd.c       |   2 +-
 arch/arm/mach-omap/am33xx_bbu_emmc.c     |  15 ++-
 arch/arm/mach-omap/am33xx_bbu_spi_mlo.c  |   6 +-
 arch/kvx/cpu/barebox.lds.S               |   2 +-
 arch/kvx/include/asm/barebox.lds.h       |   6 +
 arch/mips/include/asm/barebox.lds.h      |   5 +
 arch/mips/lib/barebox.lds.S              |   4 +-
 arch/mips/lib/pbl.lds.S                  |   4 +-
 arch/mips/pbl/zbarebox.lds.S             |   4 +-
 arch/openrisc/cpu/barebox.lds.S          |   4 +-
 arch/openrisc/include/asm/barebox.lds.h  |   5 +
 arch/powerpc/boards/pcm030/barebox.lds.S |   4 +-
 arch/powerpc/include/asm/barebox.lds.h   |   5 +
 arch/powerpc/mach-mpc85xx/barebox.lds.S  |   4 +-
 arch/riscv/include/asm/barebox.lds.h     |  10 ++
 arch/riscv/lib/barebox.lds.S             |  10 +-
 arch/riscv/lib/pbl.lds.S                 |  10 +-
 arch/sandbox/board/barebox.lds.S         |   2 +-
 arch/sandbox/include/asm/barebox.lds.h   |   3 +
 arch/x86/include/asm/barebox.lds.h       |  11 ++
 arch/x86/mach-efi/elf_ia32_efi.lds.S     |   6 +-
 arch/x86/mach-efi/elf_x86_64_efi.lds.S   |   6 +-
 commands/cat.c                           |   2 +-
 commands/edit.c                          |   4 +-
 commands/flash.c                         |   8 +-
 commands/ls.c                            |   3 +-
 commands/mkdir.c                         |   2 +-
 commands/rm.c                            |   2 +-
 commands/rmdir.c                         |   2 +-
 common/block.c                           |   2 +-
 common/bootm.c                           | 150 ++++++++++++-----------
 common/elf.c                             |  13 +-
 common/envfs-core.c                      |   3 +-
 common/environment.c                     |  11 +-
 common/firmware.c                        |   5 +-
 common/misc.c                            |   8 +-
 common/module.lds.S                      |   2 +-
 common/uimage.c                          |   4 +-
 fs/bpkfs.c                               |   6 +-
 fs/uimagefs.c                            |   4 +-
 include/asm-generic/barebox.lds.h        |   4 -
 include/block.h                          |   4 +-
 include/driver.h                         |   2 +
 include/errno.h                          |   1 -
 include/linux/hw_random.h                |   6 +-
 include/stdlib.h                         |   2 +
 lib/libfile.c                            |   6 +-
 lib/logo/Makefile                        |   2 +-
 lib/random.c                             |  25 ++--
 scripts/Makefile.lib                     |   4 +-
 scripts/gen-dtb-s                        |   2 +-
 55 files changed, 270 insertions(+), 229 deletions(-)
 create mode 100644 arch/arm/include/asm/barebox.lds.h
 create mode 100644 arch/kvx/include/asm/barebox.lds.h
 create mode 100644 arch/mips/include/asm/barebox.lds.h
 create mode 100644 arch/openrisc/include/asm/barebox.lds.h
 create mode 100644 arch/powerpc/include/asm/barebox.lds.h
 create mode 100644 arch/riscv/include/asm/barebox.lds.h
 create mode 100644 arch/sandbox/include/asm/barebox.lds.h
 create mode 100644 arch/x86/include/asm/barebox.lds.h

-- 
2.30.2




More information about the barebox mailing list