Merge branch 'sf' of git://git.denx.de/u-boot-blackfin

This commit is contained in:
Wolfgang Denk
2011-04-13 22:04:11 +02:00
12 changed files with 148 additions and 116 deletions

View File

@@ -26,11 +26,6 @@
#include <spi.h>
#include <linux/types.h>
struct spi_flash_region {
unsigned int count;
unsigned int size;
};
struct spi_flash {
struct spi_slave *spi;
@@ -38,6 +33,8 @@ struct spi_flash {
u32 size;
u32 sector_size;
int (*read)(struct spi_flash *flash, u32 offset,
size_t len, void *buf);
int (*write)(struct spi_flash *flash, u32 offset,