summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-01-08 14:59:37 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-01-08 14:59:37 +0100
commit7528cf5f016b5b8b8b12b373f6f31a10bf89233d (patch)
treede91b38f0b5a9c06c2000b02372a7cc1c2655e3e /include/image.h
parent79f38777947ac7685e2cef8bd977f954ab198c0e (diff)
parent1411fb37b5a8d56bececc5e6ea09d2e0670b9810 (diff)
downloadtalos-obmc-uboot-7528cf5f016b5b8b8b12b373f6f31a10bf89233d.tar.gz
talos-obmc-uboot-7528cf5f016b5b8b8b12b373f6f31a10bf89233d.zip
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index b958b18a4d..f5adc50353 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).
OpenPOWER on IntegriCloud