]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: libre-computer: use common Amlogic EFI capsule support
authorFerass El Hafidi <funderscore@postmarketos.org>
Thu, 11 Dec 2025 15:37:01 +0000 (15:37 +0000)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 11 Dec 2025 16:27:15 +0000 (17:27 +0100)
Remove the board-specific capsule support code, as we now support EFI
capsules across multiple Amlogic boards without the need for that.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Link: https://patch.msgid.link/20251211-meson-capsule-v4-2-59f126ba4115@postmarketos.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
board/libre-computer/aml-a311d-cc/aml-a311d-cc.c
board/libre-computer/aml-s805x-ac/aml-s805x-ac.c
board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c

index b3b78bfd0eae2089fcf00034a806c7c650a33d44..760dc740004c72a3687e4391c0e1efae8149ce64 100644 (file)
 #include <asm/io.h>
 #include <asm/arch/eth.h>
 
-struct efi_fw_image fw_images[] = {
-       {
-               .fw_name = u"AML_A311D_CC_BOOT",
-               .image_index = 1,
-       },
-};
-
-struct efi_capsule_update_info update_info = {
-       .dfu_string = "sf 0:0=u-boot-bin raw 0 0x10000",
-       .num_images = ARRAY_SIZE(fw_images),
-       .images = fw_images,
-};
-
-
 #if IS_ENABLED(CONFIG_SET_DFU_ALT_INFO)
 void set_dfu_alt_info(char *interface, char *devstr)
 {
index daece29984809d0ac5d184cf1adf6bbc1e2d02c8..966fd287878e2c2db1db99044bb8153f3e8947ad 100644 (file)
 #define EFUSE_MAC_OFFSET       52
 #define EFUSE_MAC_SIZE         6
 
-struct efi_fw_image fw_images[] = {
-       {
-               .fw_name = u"AML_S805X_AC_BOOT",
-               .image_index = 1,
-       },
-};
-
-struct efi_capsule_update_info update_info = {
-       .dfu_string = "sf 0:0=u-boot-bin raw 0 0x10000",
-       .num_images = ARRAY_SIZE(fw_images),
-       .images = fw_images,
-};
-
 #if IS_ENABLED(CONFIG_SET_DFU_ALT_INFO)
 void set_dfu_alt_info(char *interface, char *devstr)
 {
index 09a69b090abe5078ec7afb14f87854f789c1791b..760dc740004c72a3687e4391c0e1efae8149ce64 100644 (file)
 #include <asm/io.h>
 #include <asm/arch/eth.h>
 
-struct efi_fw_image fw_images[] = {
-       {
-               .fw_name = u"AML_S905D3_CC_BOOT",
-               .image_index = 1,
-       },
-};
-
-struct efi_capsule_update_info update_info = {
-       .dfu_string = "sf 0:0=u-boot-bin raw 0 0x10000",
-       .num_images = ARRAY_SIZE(fw_images),
-       .images = fw_images,
-};
-
-
 #if IS_ENABLED(CONFIG_SET_DFU_ALT_INFO)
 void set_dfu_alt_info(char *interface, char *devstr)
 {