[PATCH 00/30] efi: refactor for upcoming loader support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nothing EFI loader support specific yet, just shifting around code to
enable future reuse, fixing some typos found along the way and improving
wide char support a bit.

Ahmad Fatoum (30):
  fs: remove useless AT_FDCWD references
  fs: remove unused struct node_d in struct dir
  block : efi: rename driver variable from efi_fs_driver to
    efi_bio_driver
  include: <linux/types.h>: wrap in #ifndef __ASSEMBLY__
  hw_random: stm32: propagate error codes from rng read
  efi: align LOAD_FILE_PROTOCOL_GUID's name with other PROTOCOL_GUIDs
  asm-generic: move sync_caches_for_execution declaration to
    <asm/cache.h>
  common: move EFI code into new efi/ top level directory
  serial: efi-stdio: move efi-stdio.h header to central location
  efi: use SPDX-License-Identifier where appropriate
  drivers: efi: move Kconfig options to new menu
  efi: factor out errno translation
  efi: rename <efi/efi.h> to <efi/efi-payload.h>
  efi: centralize efivarfs_parse_filename
  kbuild: force 16-bit wchar_t treewide
  include: <linux/nls.h>: remove duplicate wchar_t typedef
  lib: wchar: add wctomb and mbtowc
  lib: implement wcsnlen
  vsprintf: add optional support for %ls format modifier
  libfile: null-terminate read_file of wchar_t buffer
  commands: echo: add wide file output via wecho alias
  efi: make efi_main __noreturn
  efi: define and use new EFI_ERROR_MASK macro
  common: move CONFIG_ELF into General Settings
  efi: don't zero executable buffer before freeing
  partitions: efi: move header to central location
  efi: print early efi_main string on CONFIG_DEBUG_LL=y
  ARM64: board-dt-2nd: remove no longer needed noinline function split
  bus: acpi: register bus even if without ACPI EFI table
  efi: guid: fix typos

 Makefile                                      |   2 +-
 arch/arm/cpu/board-dt-2nd.c                   |  21 ++--
 arch/arm/include/asm/cache.h                  |   3 +
 arch/kvx/include/asm/cache.h                  |   3 +
 arch/riscv/include/asm/barebox-riscv.h        |   3 +-
 .../include/asm/{cacheflush.h => cache.h}     |   9 +-
 arch/riscv/lib/reloc.c                        |   2 +-
 arch/x86/Kconfig                              |   3 -
 arch/x86/Makefile                             |   2 +-
 commands/echo.c                               |  55 ++++++++-
 common/Kconfig                                |  16 +--
 common/Makefile                               |   4 +-
 common/efi/Kconfig                            |  27 ++++
 common/efi/Makefile                           |  10 +-
 common/{efi-devicepath.c => efi/devicepath.c} |   2 +
 common/efi/efivar-filename.c                  | 116 ++++++++++++++++++
 common/efi/errno.c                            |  90 ++++++++++++++
 common/{efi-guid.c => efi/guid.c}             |   8 +-
 common/efi/payload/Makefile                   |   6 +
 .../env-efi/network/eth0-discover             |   0
 common/efi/{efi-image.c => payload/image.c}   |  16 +--
 common/efi/{efi.c => payload/init.c}          | 111 ++---------------
 common/efi/{efi-iomem.c => payload/iomem.c}   |   2 +-
 common/partitions/efi.c                       |   2 +-
 drivers/Kconfig                               |   1 -
 drivers/block/efi-block-io.c                  |   6 +-
 drivers/bus/acpi.c                            |  10 +-
 drivers/clocksource/efi.c                     |   2 +-
 drivers/clocksource/efi_x86.c                 |   2 +-
 drivers/efi/Kconfig                           |   6 -
 drivers/efi/efi-device.c                      |   2 +-
 drivers/hw_random/stm32-rng.c                 |   8 +-
 drivers/net/efi-snp.c                         |   2 +-
 drivers/pci/pci-efi.c                         |   2 +-
 drivers/serial/efi-stdio.c                    |  45 +------
 drivers/serial/efi-stdio.h                    |  59 ---------
 drivers/serial/serial_efi.c                   |   2 +-
 drivers/video/efi_gop.c                       |   2 +-
 drivers/watchdog/efi_wdt.c                    |   2 +-
 fs/efi.c                                      |   2 +-
 fs/efivarfs.c                                 |  78 +-----------
 fs/fs.c                                       |  56 ++++-----
 include/asm-generic/cache.h                   |   9 ++
 include/dirent.h                              |   1 -
 include/efi.h                                 |  71 ++++++-----
 include/efi/debug_ll.h                        |   3 +-
 include/efi/efi-device.h                      |   1 +
 include/efi/{efi.h => efi-payload.h}          |  12 +-
 include/efi/efi-stdio.h                       | 100 +++++++++++++++
 include/efi/efi-util.h                        |  14 +++
 .../efi.h => include/efi/partition.h          |   0
 include/linux/namei.h                         |   4 -
 include/linux/nls.h                           |   3 +-
 include/linux/types.h                         |   2 +
 include/wchar.h                               |   7 ++
 lib/Kconfig                                   |   3 +
 lib/libfile.c                                 |   3 +-
 lib/vsprintf.c                                |  67 ++++++++--
 lib/wchar.c                                   |  31 ++++-
 59 files changed, 667 insertions(+), 464 deletions(-)
 rename arch/riscv/include/asm/{cacheflush.h => cache.h} (59%)
 create mode 100644 common/efi/Kconfig
 rename common/{efi-devicepath.c => efi/devicepath.c} (99%)
 create mode 100644 common/efi/efivar-filename.c
 create mode 100644 common/efi/errno.c
 rename common/{efi-guid.c => efi/guid.c} (96%)
 create mode 100644 common/efi/payload/Makefile
 rename common/efi/{ => payload}/env-efi/network/eth0-discover (100%)
 rename common/efi/{efi-image.c => payload/image.c} (93%)
 rename common/efi/{efi.c => payload/init.c} (66%)
 rename common/efi/{efi-iomem.c => payload/iomem.c} (99%)
 delete mode 100644 drivers/efi/Kconfig
 delete mode 100644 drivers/serial/efi-stdio.h
 create mode 100644 include/asm-generic/cache.h
 rename include/efi/{efi.h => efi-payload.h} (80%)
 create mode 100644 include/efi/efi-stdio.h
 create mode 100644 include/efi/efi-util.h
 rename common/partitions/efi.h => include/efi/partition.h (100%)

-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux