configs: ls1012a: Enable CONFIG_SPI_FLASH_SPANSION in defconfigs
[oweals/u-boot.git] / include / configs / at91-sama5_common.h
index d19fd3153c3790d194323a7b84378ac537fc2416..6e9793ab81f57ab1b14a0ebb7c313135d8ed23c4 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __AT91_SAMA5_COMMON_H
 #define __AT91_SAMA5_COMMON_H
 
+#include <linux/kconfig.h>
+
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
 #endif
 
 /* general purpose I/O */
-#ifndef CONFIG_DM_GPIO
+#if !CONFIG_IS_ENABLED(DM_GPIO)
 #define CONFIG_AT91_GPIO
 #endif
 
-
 /*
  * BOOTP options
  */