diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2012-07-17 16:26:41 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 21:11:40 +0200 |
commit | 23cb3b2121323443834296a8ecb582b8aeb78d75 (patch) | |
tree | fbe5e71832ef74b049fc68ac5de159d8c60b2ff1 /drivers/bcma/driver_chipcommon_sflash.c | |
parent | ath9k: Fix race in reset-work usage (diff) | |
download | linux-23cb3b2121323443834296a8ecb582b8aeb78d75.tar.xz linux-23cb3b2121323443834296a8ecb582b8aeb78d75.zip |
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.c | 19 |
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 @@ +/* + * Broadcom specific AMBA + * ChipCommon serial 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 serial flash access */ +int bcma_sflash_init(struct bcma_drv_cc *cc) +{ + bcma_err(cc->core->bus, "Serial flash support is broken\n"); + return 0; +} |