]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00259008: mlb: reduce iram usage amount in async mode
authorTerry Lv <r65388@freescale.com>
Tue, 16 Apr 2013 11:05:54 +0000 (19:05 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:59 +0000 (14:13 +0200)
commitc66966092daf4a351a63d214d0869d1633cd594b
treeda96d52f234a98625193d4581f3e6d74246ccedc
parent38fdc56ff82e75420db98a8e7da99ba6e41b7542
ENGR00259008: mlb: reduce iram usage amount in async mode

In testing async mode on mx6q ard and mx6dl ard, driver always said "can
not alloc rx buffer".
Change async's ring buffer size from 2048 to 1536(MEP package size) and
reduce the extra ring buffer for drop package, now the iram usage amount
in async mode reduced from 34816 to 24576.

Signed-off-by: Terry Lv <r65388@freescale.com>
drivers/mxc/mlb/mxc_mlb150.c