At present if DM_DMA is disabled on a sandbox build, the build fails. Make the test conditional. Signed-off-by: Simon Glass <sjg at chromium.org> --- test/dm/core.c | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-dm, thanks!