From: Jean THOMAS Date: Tue, 23 Jun 2020 14:09:17 +0000 (+0200) Subject: Fix public libgram header X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb3ad17b2302742d5ead30392e5cc32c9a86d2bb;p=gram.git Fix public libgram header --- diff --git a/libgram/include/gram.h b/libgram/include/gram.h index c6301e9..413af3a 100644 --- a/libgram/include/gram.h +++ b/libgram/include/gram.h @@ -2,6 +2,7 @@ #define GRAM_H #include +#include enum GramError { GRAM_ERR_NONE = 0, @@ -24,7 +25,7 @@ struct gramCtx { }; extern __attribute__((visibility ("default"))) int gram_init(struct gramCtx *ctx, void *ddr_base, void *core_base, void *phy_base); -extern __attribute__((visibility ("default"))) int gram_memtest(struct gramCtx *ctx); +extern __attribute__((visibility ("default"))) int gram_memtest(struct gramCtx *ctx, size_t length, enum GramWidth width); #ifdef GRAM_RW_FUNC extern uint32_t gram_read(struct gramCtx *ctx, void *addr);