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 <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>
This commit is contained in:
committed by
Neil Armstrong
parent
1bb973b4db
commit
6e844dd4df
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user