diff options
author | Ralf Kirchner <ralf.kirchner@embedded-brains.de> | 2014-05-28 14:47:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-28 15:01:31 +0200 |
commit | 12a4d08553f35b5fa159869eef6f7b393c9fd6cb (patch) | |
tree | 46e1fc33a701c43a545ddb68d7c971bdcc0d05db /c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c | |
parent | bb70bea198c9bc841f0b128a846b35645aa5826b (diff) |
bsp/altera-cyclone-v: Reduce size of nocache heap
Network mbufs and clusters now are cached. Thus the nocache heap can get reduced to 1 MByte.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c index 29e91763a6..ae2faef3fc 100644 --- a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c +++ b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/nocache-heap.c @@ -27,8 +27,8 @@ /** @brief Uncached RAM pool * * Allocate the whole bsp_nocache for the nocache heap */ -static char nocache_pool[3 * 1024 - * 1024] __attribute__( ( section( ".bsp_nocache" ) ) ); +static char nocache_pool[1024 * 1024] + __attribute__( ( section( ".bsp_nocache" ) ) ); /** @brief Nocache heap * |