diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-01-05 14:54:23 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-01-05 21:13:11 -0800 |
commit | a59b978317cee5acee51b4e09f91e0fb4dffff99 (patch) | |
tree | d6c06805c6242a054a69a584139abc1f6724f6d0 | |
parent | 32b064108a94fa163b5e9f9aef2b85615c68ee1d (diff) | |
download | chrome-ec-a59b978317cee5acee51b4e09f91e0fb4dffff99.tar.gz |
cr50: enable use malloc/free
In preparation to adding new features, switch cr50 to using shared
memory allocator allowing concurrently allocated buffers.
BRANCH=none
BUG=chrome-os-partner:59873
TEST=verified that cr50 works fine and could be updated on a reef.
Change-Id: I87656cbd1f6d4928f25396dbcc59cc3f43984d85
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/424850
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | board/cr50/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index 7780efd45b..df1e447542 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -61,6 +61,9 @@ /* Go to sleep when nothing else is happening */ #define CONFIG_LOW_POWER_IDLE +/* Allow multiple concurrent memory allocations. */ +#define CONFIG_MALLOC + /* Detect the states of other devices */ #define CONFIG_DEVICE_STATE |