summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/spi_flash.c
diff options
context:
space:
mode:
authorChong Huang <chuang@ucrobotics.com>2010-11-30 03:33:25 -0500
committerMike Frysinger <vapier@gentoo.org>2010-12-17 08:53:55 -0500
commitd1d9065647a25fa8267214ec499fda2441084c7a (patch)
tree5fd5b6a7d21f9611a923427eebccd55ae709e8b9 /drivers/mtd/spi/spi_flash.c
parent97a85b223ab316d11f3a374fecc5d449a1c8a694 (diff)
downloadu-boot-imx-d1d9065647a25fa8267214ec499fda2441084c7a.zip
u-boot-imx-d1d9065647a25fa8267214ec499fda2441084c7a.tar.gz
u-boot-imx-d1d9065647a25fa8267214ec499fda2441084c7a.tar.bz2
sf: new driver for EON devices
Signed-off-by: Chong Huang <chuang@ucrobotics.com> Signed-off-by: Haitao Zhang <minipanda@linuxrobot.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spi/spi_flash.c')
-rw-r--r--drivers/mtd/spi/spi_flash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
index ab02ef3..b61d219 100644
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -131,6 +131,9 @@ static const struct {
#ifdef CONFIG_SPI_FLASH_ATMEL
{ 0, 0x1f, spi_flash_probe_atmel, },
#endif
+#ifdef CONFIG_SPI_FLASH_EON
+ { 0, 0x1c, spi_flash_probe_eon, },
+#endif
#ifdef CONFIG_SPI_FLASH_MACRONIX
{ 0, 0xc2, spi_flash_probe_macronix, },
#endif