Commit 33b102a3 authored by Lucas Russo's avatar Lucas Russo

include/*/afcv3/*/ddr3_defs.h: add option to shrink DDR size to 2^28

This is a temporary fix to github issue #39.
parent 33413c63
#ifndef _DDR3_DEFS_H_
#define _DDR3_DEFS_H_
#ifdef __SHRINK_AFCV3_DDR_SIZE__
#define MEM_TOTAL_SIZE (1ULL << 28) /* 256 MB reserved for position storage */
#else
#define MEM_TOTAL_SIZE (1ULL << 31) /* 2 GB reserved for position storage */
#endif
#define MEM_REGION_SIZE (MEM_TOTAL_SIZE / 16)
/* FPGA Specific */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment