spi: mxs: Drop nondm code
[oweals/u-boot.git] / include / gdsys_fpga.h
index eae670126229698365598c8f339b9e559198f145..6d38a83d90342023d0a47bdd7e383b250f2f312f 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef __GDSYS_FPGA_H
 #define __GDSYS_FPGA_H
 
+#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 int init_func_fpga(void);
 
 enum {
@@ -33,6 +34,7 @@ extern struct ihs_fpga *fpga_ptr[];
                     &fpga_ptr[ix]->fld, \
                     offsetof(struct ihs_fpga, fld), \
                     val)
+#endif
 
 struct ihs_gpio {
        u16 read;