Split flashchips.h from flash.h
Flash.h not only contains function prototypes and general settings, it
also has a huge chunk of chip and vendor IDs in the middle.
Split them out into a separate flashchips.h and adjust #include wherever
needed.
Corresponding to flashrom svn r594.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Urja Rannikko <urjaman@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
diff --git a/spi.c b/spi.c
index 3e3d76f..e9319d7 100644
--- a/spi.c
+++ b/spi.c
@@ -24,6 +24,7 @@
#include <string.h>
#include "flash.h"
+#include "flashchips.h"
#include "spi.h"
enum spi_controller spi_controller = SPI_CONTROLLER_NONE;