Patchwork [U-Boot,RFC,v2,05/14] sandbox: config: Enable driver model

login
register
mail settings
Submitter Simon Glass
Date May 7, 2013, 7:42 p.m.
Message ID <1367955730-31902-6-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/242443/
State RFC
Delegated to: Tom Rini
Headers show

Comments

Simon Glass - May 7, 2013, 7:42 p.m.
Use driver model in sandbox to permit running of driver model unit test.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2: None

 include/configs/sandbox.h | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 78eda90..c93970a 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -22,6 +22,8 @@ 
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_DM
+
 /* Number of bits in a C 'long' on this architecture */
 #define CONFIG_SANDBOX_BITS_PER_LONG	64