gdsys: Introduce GDSYS_LEGACY_DRIVERS
[oweals/u-boot.git] / board / gdsys / common / osd.c
index 392d0059da8fac16dfa48b3525d8ad9885e781b3..10c43291469a58ab93635e062aa1832ccc092b9f 100644 (file)
@@ -4,6 +4,8 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
+#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
+
 #include <common.h>
 #include <i2c.h>
 #include <malloc.h>
@@ -497,3 +499,5 @@ U_BOOT_CMD(
        "size_x(max. " __stringify(MAX_X_CHARS)
        ") size_y(max. " __stringify(MAX_Y_CHARS) ")\n"
 );
+
+#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */
\ No newline at end of file