[U-Boot] [PATCH 2/2] dm: Enable driver model by default for all boards

Simon Glass sjg at chromium.org
Sun Dec 20 03:38:56 CET 2015


This enables driver model for all boards in U-Boot. This is required to
support driver-model serial.

I'm not sure when is a good time to apply this patch. We can sit on it until
it makes sense.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index f332480..07292c1 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -2,6 +2,7 @@ menu "Generic Driver Options"
 
 config DM
 	bool "Enable Driver Model"
+	default y
 	help
 	  This config option enables Driver Model. This brings in the core
 	  support, including scanning of platform data on start-up. If
-- 
2.6.0.rc2.230.g3dd15c0



More information about the U-Boot mailing list