438c68cce3a0e96471dace3188f010aa90daeaaf
15 volatile void *ddr_base
;
16 volatile struct gramCoreRegs
*core
;
17 volatile struct gramPHYRegs
*phy
;
21 extern __attribute__((visibility ("default"))) int gram_init(struct gramCtx
*ctx
, void *ddr_base
, void *core_base
, void *phy_base
);
22 extern __attribute__((visibility ("default"))) int gram_memtest(struct gramCtx
*ctx
);
25 extern uint32_t gram_read(struct gramCtx
*ctx
, void *addr
);
26 extern int gram_write(struct gramCtx
*ctx
, void *addr
, uint32_t value
);
27 #endif /* GRAM_RW_FUNC */