dm: gpio: Allow control of GPIO uclass in SPL
[platform/kernel/u-boot.git] / arch / arm / mach-at91 / include / mach / at91sam9260.h
index 91faf72..2daeb4f 100644 (file)
 /*
  * Other misc defines
  */
-#ifndef CONFIG_DM_GPIO
+#if !CONFIG_IS_ENABLED(DM_GPIO)
 #define ATMEL_PIO_PORTS                3               /* these SoCs have 3 PIO */
 #define ATMEL_BASE_PIO         ATMEL_BASE_PIOA
 #endif