From eb3ad17b2302742d5ead30392e5cc32c9a86d2bb Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 23 Jun 2020 16:09:17 +0200 Subject: [PATCH] Fix public libgram header --- libgram/include/gram.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2