diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-01-08 14:59:37 +0100 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-01-08 14:59:37 +0100 | 
| commit | 7528cf5f016b5b8b8b12b373f6f31a10bf89233d (patch) | |
| tree | de91b38f0b5a9c06c2000b02372a7cc1c2655e3e /include/image.h | |
| parent | 79f38777947ac7685e2cef8bd977f954ab198c0e (diff) | |
| parent | 1411fb37b5a8d56bececc5e6ea09d2e0670b9810 (diff) | |
| download | olio-uboot-2014.01-7528cf5f016b5b8b8b12b373f6f31a10bf89233d.tar.xz olio-uboot-2014.01-7528cf5f016b5b8b8b12b373f6f31a10bf89233d.zip | |
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Diffstat (limited to 'include/image.h')
| -rw-r--r-- | include/image.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/image.h b/include/image.h index b958b18a4..f5adc5035 100644 --- a/include/image.h +++ b/include/image.h @@ -179,6 +179,9 @@  #define IH_MAGIC	0x27051956	/* Image Magic Number		*/  #define IH_NMLEN		32	/* Image Name Length		*/ +/* Reused from common.h */ +#define ROUND(a, b)		(((a) + (b) - 1) & ~((b) - 1)) +  /*   * Legacy format image header,   * all data in network byte order (aka natural aka bigendian). |