diff options
| author | Ferass El Hafidi <[email protected]> | 2025-12-11 15:37:01 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2025-12-11 17:27:15 +0100 |
| commit | 6e844dd4df6765e5e772b5606a675c16fe98d9ac (patch) | |
| tree | 79f2b255dc717b5cf9d56bbd6aa2e298422d3dde | |
| parent | 1bb973b4db6c07b7765b92e93e596907e8b8b469 (diff) | |
board: libre-computer: use common Amlogic EFI capsule support
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
| -rw-r--r-- | board/libre-computer/aml-a311d-cc/aml-a311d-cc.c | 14 | ||||
| -rw-r--r-- | board/libre-computer/aml-s805x-ac/aml-s805x-ac.c | 13 | ||||
| -rw-r--r-- | board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c | 14 |
3 files changed, 0 insertions, 41 deletions
diff --git a/board/libre-computer/aml-a311d-cc/aml-a311d-cc.c b/board/libre-computer/aml-a311d-cc/aml-a311d-cc.c index b3b78bfd0ea..760dc740004 100644 --- a/board/libre-computer/aml-a311d-cc/aml-a311d-cc.c +++ b/board/libre-computer/aml-a311d-cc/aml-a311d-cc.c @@ -12,20 +12,6 @@ #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) { diff --git a/board/libre-computer/aml-s805x-ac/aml-s805x-ac.c b/board/libre-computer/aml-s805x-ac/aml-s805x-ac.c index daece299848..966fd287878 100644 --- a/board/libre-computer/aml-s805x-ac/aml-s805x-ac.c +++ b/board/libre-computer/aml-s805x-ac/aml-s805x-ac.c @@ -20,19 +20,6 @@ #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) { diff --git a/board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c b/board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c index 09a69b090ab..760dc740004 100644 --- a/board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c +++ b/board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c @@ -12,20 +12,6 @@ #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) { |
