From 57f878efe5b2a588a4bbd56412529034978facd0 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 30 Oct 2014 20:25:46 -0600 Subject: 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 Signed-off-by: Hans de Goede --- include/configs/sunxi-common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/configs/sunxi-common.h') 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 */ -- cgit v1.1