X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fimage.h;h=541cac97fe1e13f18cb7e6f7cc2be9feb8ee2e84;hb=8ed0f6108ff771ea605c896ce6e416b502f2cb55;hp=d2e78fe298376aa17b442d7891ac990ab3c35cb4;hpb=35e3717772c8c3534c18d8aac69e4b822777c23b;p=u-boot diff --git a/include/image.h b/include/image.h index d2e78fe298..541cac97fe 100644 --- a/include/image.h +++ b/include/image.h @@ -46,16 +46,16 @@ #include #include +#include #endif /* USE_HOSTCC */ -#include - #if defined(CONFIG_FIT) #include #include #include #define CONFIG_MD5 /* FIT images need MD5 support */ +#define CONFIG_SHA1 /* and SHA1 */ #endif /* @@ -156,6 +156,7 @@ #define IH_TYPE_FILESYSTEM 7 /* Filesystem Image (any type) */ #define IH_TYPE_FLATDT 8 /* Binary Flat Device Tree Blob */ #define IH_TYPE_KWBIMAGE 9 /* Kirkwood Boot Image */ +#define IH_TYPE_IMXIMAGE 10 /* Freescale IMXBoot Image */ /* * Compression Types @@ -255,7 +256,7 @@ typedef struct bootm_headers { #define BOOTM_STATE_OS_GO (0x00000080) int state; -#ifndef USE_HOSTCC +#ifdef CONFIG_LMB struct lmb lmb; /* for memory mgmt */ #endif } bootm_headers_t;