mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
dfu: export dfu_list
This variable will be utilized to enumerate all dfu entities for UEFI capsule firmware update in a later commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
3149e524fc
commit
6beaa47d4f
2 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <linux/compiler.h>
|
#include <linux/compiler.h>
|
||||||
|
|
||||||
static LIST_HEAD(dfu_list);
|
LIST_HEAD(dfu_list);
|
||||||
static int dfu_alt_num;
|
static int dfu_alt_num;
|
||||||
static int alt_num_cnt;
|
static int alt_num_cnt;
|
||||||
static struct hash_algo *dfu_hash_algo;
|
static struct hash_algo *dfu_hash_algo;
|
||||||
|
|
|
@ -158,6 +158,9 @@ struct dfu_entity {
|
||||||
unsigned int inited:1;
|
unsigned int inited:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct list_head;
|
||||||
|
extern struct list_head dfu_list;
|
||||||
|
|
||||||
#ifdef CONFIG_SET_DFU_ALT_INFO
|
#ifdef CONFIG_SET_DFU_ALT_INFO
|
||||||
/**
|
/**
|
||||||
* set_dfu_alt_info() - set dfu_alt_info environment variable
|
* set_dfu_alt_info() - set dfu_alt_info environment variable
|
||||||
|
|
Loading…
Add table
Reference in a new issue