summaryrefslogtreecommitdiff
path: root/drivers/bcma/driver_chipcommon_nflash.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-07-17 16:26:41 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-07-17 15:11:40 -0400
commit23cb3b2121323443834296a8ecb582b8aeb78d75 (patch)
treefbe5e71832ef74b049fc68ac5de159d8c60b2ff1 /drivers/bcma/driver_chipcommon_nflash.c
parent124b979baeb2d7a0593be8d392f43725578478c1 (diff)
bcma: add place for flash memory support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/driver_chipcommon_nflash.c')
-rw-r--r--drivers/bcma/driver_chipcommon_nflash.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/bcma/driver_chipcommon_nflash.c b/drivers/bcma/driver_chipcommon_nflash.c
new file mode 100644
index 000000000000..574d62435bc2
--- /dev/null
+++ b/drivers/bcma/driver_chipcommon_nflash.c
@@ -0,0 +1,19 @@
+/*
+ * Broadcom specific AMBA
+ * ChipCommon NAND flash interface
+ *
+ * Licensed under the GNU/GPL. See COPYING for details.
+ */
+
+#include <linux/bcma/bcma.h>
+#include <linux/bcma/bcma_driver_chipcommon.h>
+#include <linux/delay.h>
+
+#include "bcma_private.h"
+
+/* Initialize NAND flash access */
+int bcma_nflash_init(struct bcma_drv_cc *cc)
+{
+ bcma_err(cc->core->bus, "NAND flash support is broken\n");
+ return 0;
+}