]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/common/karo.h
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / board / karo / common / karo.h
index d078828d116f8ec881c1472979b43cfc136076c5..aff9f370915801b1c6f682ead0a7af6c59fdc544 100644 (file)
@@ -155,3 +155,5 @@ static inline int karo_load_part(const char *part, void *addr, size_t len)
                return karo_load_mmc_part(part, addr, len);
        return ret;
 }
+
+#define DIV_ROUND(n, d)                (((n) + (d) / 2) / (d))