summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-30 20:25:46 -0600
committerHans de Goede <hdegoede@redhat.com>2014-11-05 13:09:58 +0100
commit57f878efe5b2a588a4bbd56412529034978facd0 (patch)
tree73d1d3193017055cc6c3436f2c1763f171d38461 /include/configs/sunxi-common.h
parent643ad899f545fd101aa7a67771e74d582a1829b2 (diff)
downloadu-boot-imx-57f878efe5b2a588a4bbd56412529034978facd0.zip
u-boot-imx-57f878efe5b2a588a4bbd56412529034978facd0.tar.gz
u-boot-imx-57f878efe5b2a588a4bbd56412529034978facd0.tar.bz2
dm: sunxi: Add a new config for an FDT-based pcDuino3
For now we won't want to mess with the existing configurations. Create a new one which will enable device tree and driver model. Note that this brings the device tree binary into u-boot-sunxi-with-spl.bin. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index cc450e0..4d88991 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -27,6 +27,10 @@
#define CONFIG_SYS_TEXT_BASE 0x4a000000
+#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
+# define CONFIG_CMD_DM
+#endif
+
/*
* Display CPU information
*/