[U-Boot] [RFC PATCH v2 12/13] tegra: Enable driver model

Simon Glass sjg at chromium.org
Fri May 9 19:28:27 CEST 2014


Enable driver model for Tegra boards.

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

Changes in v3:
- Enable dm command in this patch instead of the next

Changes in v2:
- Split out a separate patch to enable driver model for tegra

 include/configs/tegra-common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index ae786cf..24b909b 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -19,6 +19,9 @@
 
 #include <asm/arch/tegra.h>		/* get chip and board defs */
 
+#define CONFIG_DM
+#define CONFIG_CMD_DM
+
 #define CONFIG_SYS_TIMER_RATE		1000000
 #define CONFIG_SYS_TIMER_COUNTER	NV_PA_TMRUS_BASE
 
-- 
1.9.1.423.g4596e3a



More information about the U-Boot mailing list