aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_chipcommon_sflash.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-07-17 10:26:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-17 15:11:40 -0400
commit23cb3b2121323443834296a8ecb582b8aeb78d75 (patch)
treefbe5e71832ef74b049fc68ac5de159d8c60b2ff1 /drivers/bcma/driver_chipcommon_sflash.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_sflash.c')
-rw-r--r--drivers/bcma/driver_chipcommon_sflash.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/bcma/driver_chipcommon_sflash.c b/drivers/bcma/driver_chipcommon_sflash.c
new file mode 100644
index 000000000000..6e157a58a1d7
--- /dev/null
+++ b/drivers/bcma/driver_chipcommon_sflash.c
@@ -0,0 +1,19 @@
1/*
2 * Broadcom specific AMBA
3 * ChipCommon serial flash interface
4 *
5 * Licensed under the GNU/GPL. See COPYING for details.
6 */
7
8#include <linux/bcma/bcma.h>
9#include <linux/bcma/bcma_driver_chipcommon.h>
10#include <linux/delay.h>
11
12#include "bcma_private.h"
13
14/* Initialize serial flash access */
15int bcma_sflash_init(struct bcma_drv_cc *cc)
16{
17 bcma_err(cc->core->bus, "Serial flash support is broken\n");
18 return 0;
19}