From a59b978317cee5acee51b4e09f91e0fb4dffff99 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Thu, 5 Jan 2017 14:54:23 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/424850 Reviewed-by: Randall Spangler --- board/cr50/board.h | 3 +++ 1 file changed, 3 insertions(+) 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