v1.0.2: fitimage for demo88 mmc

This commit is contained in:
刘可亮
2023-12-12 14:23:53 +08:00
parent 3b4064f334
commit da098fba4d
9 changed files with 281 additions and 130 deletions

View File

@@ -17,6 +17,13 @@ struct spl_fit_info {
int conf_node; /* FDT offset to selected configuration node */
};
typedef enum
{
DEVICE_MMC,
DEVICE_SPINAND,
DEVICE_SPINOR,
} boot_dev_type;
/**
* Information required to load data from a device
*
@@ -27,6 +34,7 @@ struct spl_fit_info {
struct spl_load_info {
void *dev;
void *priv;
boot_dev_type dev_type;
int bl_len;
};