]> git.sur5r.net Git - u-boot/blobdiff - disk/part_mac.c
spi_flash: add a bunch of winbond flashes to id-table
[u-boot] / disk / part_mac.c
index e31bc9060c700668c8e6453fd245572626bb2c6c..8b2c004027cf11d1ec44a9dbe7bb2ee34a7793d4 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -19,7 +18,7 @@
 #include <ide.h>
 #include "part_mac.h"
 
-#ifdef HAVE_BLOCK_DEVICE
+#ifdef CONFIG_HAVE_BLOCK_DEVICE
 
 /* stdlib.h causes some compatibility problems; should fixe these! -- wd */
 #ifndef __ldiv_t_defined