tc2068: turn on dynamic buffers
authorAlan Cox <alan@linux.intel.com>
Wed, 28 Nov 2018 22:25:50 +0000 (22:25 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 28 Nov 2018 22:25:50 +0000 (22:25 +0000)
We might need to tweak this a bit - we don't really need anything like the
number we have room for.

Kernel/platform-tc2068/main.c

index 42c8f23..dab1de6 100644 (file)
@@ -46,7 +46,6 @@ void platform_discard(void)
        uint16_t discard_size = 0x8000 - (uint16_t)bufpool_end;
        bufptr bp = bufpool_end;
 
-       return;
        discard_size /= sizeof(struct blkbuf);
 
        kprintf("%d buffers added\n", discard_size);