summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx9
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-10-07 22:01:56 -0400
committerTom Rini <trini@konsulko.com>2023-10-11 13:22:29 -0400
commit1786861415f4494a38630584a8fbc9c939a024ce (patch)
treebf49b2d39cf93afcec1694ee0c61c1945591fb5e /drivers/ddr/imx/imx9
parent9214da7b931e7ee150a2f1da80af2a20ce8194ab (diff)
malloc: Enable assertions if UNIT_TEST is enabled
dlmalloc has some sanity checks it performs on free() which can help detect memory corruption. However, they are only enabled if DEBUG is defined before including common.h. Define DEBUG earlier if UNIT_TEST is enabled so that assertions are enabled in sandbox. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/imx9')
0 files changed, 0 insertions, 0 deletions