]> git.sur5r.net Git - u-boot/commitdiff
dm: at91: snapper: Move driver model CONFIGs to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 11 Feb 2015 23:32:58 +0000 (16:32 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 22:17:28 +0000 (15:17 -0700)
Remove driver model CONFIGs from the board config headers and use Kconfig
instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/snapper9260_defconfig
configs/snapper9g20_defconfig
include/configs/snapper9260.h

index 7055e2a13bc5f5fbbd11bcc14d437b5dc1461763..035146c65755ad625b459494024bd2560d4db856 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9260"
 CONFIG_ARM=y
 CONFIG_TARGET_SNAPPER9260=y
+CONFIG_DM=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_SERIAL=y
index 2faae15930d6a4a2a07fb5d0212195983b1d6ec2..66c44ccf78aa9268e967b36f16af465802a18294 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20"
 CONFIG_ARM=y
 CONFIG_TARGET_SNAPPER9260=y
+CONFIG_DM=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_SERIAL=y
index 9fa644f7c288201c1eced5e9d17f84b6b2b7464d..712f9b74ce43e519ecaec354009bba8f30acf8b7 100644 (file)
 #define CONFIG_SYS_AT91_MAIN_CLOCK     18432000 /* External Crystal, in Hz */
 #define CONFIG_SYS_AT91_SLOW_CLOCK     32768
 #define CONFIG_SYS_GENERIC_BOARD
-#define CONFIG_DM
-#define CONFIG_CMD_DM
-#define CONFIG_DM_GPIO
-#define CONFIG_DM_SERIAL
 #define CONFIG_SYS_MALLOC_F_LEN                (1 << 10)
 
 /* CPU */