Skip to content

Commit

Permalink
cfg: remove obselete CONFIG_EFIVARS
Browse files Browse the repository at this point in the history
commit 0f5b2c69a4cbe4166ca24b76d5ada98ed2867741
Author: Ard Biesheuvel <[email protected]>
Date:   Mon Jun 20 13:34:03 2022 +0200

    efi: vars: Remove deprecated 'efivars' sysfs interface

    Commit 5d9db883761a ("efi: Add support for a UEFI variable filesystem")
    dated Oct 5, 2012, introduced a new efivarfs pseudo-filesystem to
    replace the efivars sysfs interface that was used up to that point to
    expose EFI variables to user space.

    The main problem with the sysfs interface was that it only supported up
    to 1024 bytes of payload per file, whereas the underlying variables
    themselves are only bounded by a platform specific per-variable and
    global limit that is typically much higher than 1024 bytes.

    The deprecated sysfs interface is only enabled on x86 and Itanium, other
    EFI enabled architectures only support the efivarfs pseudo-filesystem.

    So let's finally rip off the band aid, and drop the old interface
    entirely. This will make it easier to refactor and clean up the
    underlying infrastructure that is shared between efivars, efivarfs and
    efi-pstore, and is long overdue for a makeover.

    Signed-off-by: Ard Biesheuvel <[email protected]>

Signed-off-by: Bruce Ashfield <[email protected]>
  • Loading branch information
zeddii authored and ricardosalveti committed Feb 24, 2023
1 parent 95889eb commit 7f129f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bsp/amd-x86/amd-x86.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ CONFIG_PSTORE=m
#
# EFI (Extensible Firmware Interface) Support
#
CONFIG_EFI_VARS=m
CONFIG_EFI_VARS_PSTORE=m

#
Expand Down
1 change: 0 additions & 1 deletion cfg/efi-ext.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ CONFIG_PARTITION_ADVANCED=y
# Add support for optional EFI features
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_EFI=y
CONFIG_EFI_VARS=m
CONFIG_EFI_PARTITION=y

0 comments on commit 7f129f7

Please sign in to comment.